NSP_Routine
A version of this page is also available for
4/8/2010
This structure contains information regarding 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 the NSP functions this structure points to.
Requirements
Header | ws2spi.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |