CreateStaticService

[This is preliminary documentation and subject to change.]

The CreateStaticService function adds a static service to the table.

DWORD CreateStaticService (
  IN ULONG                       InterfaceIndex,
  IN PIPX_STATIC_SERVICE_INFO    ServiceEntry
  );
 

Parameters

InterfaceIndex
A unique number that identifies the interface associated with the new service.
ServiceEntry
Pointer to an IPX_STATIC_SERVICE_INFO structure containing parameters of the static service to be added.

Return Values

NO_ERROR
The static service was added successfully.
ERROR_CAN_NOT_COMPLETE
The SAP Agent is down.
ERROR_INVALID_PARAMETER
One or more of the input parameters is invalid, for example, invalid interface index, or invalid fields in ServiceEntry.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in user-defined.
  Import Library: user-defined.

See Also

DeleteStaticService, IPX_STATIC_SERVICE_INFO