PBLOCK_CONVERT_SERVICES_TO_STATIC callback function (stm.h)

The BlockConvertServicesToStatic function converts all services received on a specified interface to static.

Syntax

PBLOCK_CONVERT_SERVICES_TO_STATIC PblockConvertServicesToStatic;

DWORD PblockConvertServicesToStatic(
  [in] ULONG InterfaceIndex
)
{...}

Parameters

[in] InterfaceIndex

Specifies the unique number that identifies the interface associated with the services intended for conversion.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value is one of the following error codes.

Value Description
ERROR_CAN_NOT_COMPLETE
The SAP Agent is down.
ERROR_INVALID_PARAMETER
The parameter is invalid.
 
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header stm.h

See also

BlockDeleteStaticServices

IPX Service Table Management

Service Table Management Functions