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 |
---|---|
|
The SAP Agent is down. |
|
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 |