NSP_Routine (Compact 2013)

3/26/2014

This structure contains information about all the functions implemented by a service provider.

Syntax

typedef struct _NSP_ROUTINE { 
  DWORD cbSize;
  DWORD dwMajorVersion;
  DWORD dwMinorVersion;
  INT (*NSPCleanup);
  INT (*NSPLookupServiceBegin);
  INT (*NSPLookupServiceNext);
  INT (*NSPLookupServiceEnd);
  INT (*NSPSetService);
  INT (*NSPInstallServiceClass);
  INT (*NSPRemoveServiceClass);
  INT (*NSPGetServiceClassInfo);
} NSP_ROUTINE, *PNSP_ROUTINE, *LPNSP_ROUTINE; 

Members

  • cbSize
    Size of this structure
  • dwMajorVersion
    Major version of the service provider specification supported by this provider
  • dwMinorVersion
    Minor version of the service provider specification supported by this provider
  • NSPCleanup
    Pointer to the NSPCleanup function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPLookupServiceBegin
    Pointer to the NSPLookupServiceBegin function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPLookupServiceNext
    Pointer to the NSPLookupServiceNext function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPLookupServiceEnd
    Pointer to the NSPLookupServiceEnd function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPSetService
    Pointer to the NSPSetService function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPInstallServiceClass
    Pointer to the NSPInstallServiceClass function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPRemoveServiceClass
    Pointer to the NSPRemoveServiceClass function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.
  • NSPGetServiceClassInfo
    Pointer to the NSPGetServiceClassInfo function. If the provider does not implement this function, it should return WSAENOTIMPLEMENTED.

Remarks

Ws2spi.h contains complete prototypes for all NSP functions to which this structure points.

Requirements

Header

ws2spi.h

See Also

Reference

Winsock SPI Structures