Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PCREATE_STATIC_SERVICE callback function (stm.h)

The CreateStaticService function adds a static service to the table.

Syntax

PCREATE_STATIC_SERVICE PcreateStaticService;

DWORD PcreateStaticService(
 [in] ULONG InterfaceIndex,
 PIPX_SERVER_ENTRY ServerEntry
)
{...}

Parameters

[in] InterfaceIndex

Specifies a unique number that identifies the interface associated with the new service.

ServerEntry

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
One of the parameters 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

DeleteStaticService

IPX Service Table Management

IPX_STATIC_SERVICE_INFO

Service Table Management Functions


Feedback

Was this page helpful?

Additional resources