Freigeben über


NSP_Routine (Windows CE 5.0)

Send Feedback

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

typedef struct _NSP_ROUTINE { DWORDcbSize;DWORDdwMajorVersion;DWORDdwMinorVersion;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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ws2spi.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.