48 if (QueryProvider->Provider)
54 QueryProvider->Provider =
NULL;
125 (*NSPStartupProc)(ProviderId, &
Provider->Service);
196 QueryProvider->LookupHandle);
208 QueryProvider->LookupHandle,
226 &QueryProvider->LookupHandle);
235 return Provider->Service.NSPLookupServiceEnd(LookupHandle);
247 return Provider->Service.NSPLookupServiceNext(LookupHandle,
#define InterlockedIncrement
#define InterlockedDecrement
#define GetProcAddress(x, y)
#define HeapFree(x, y, z)
#define WideCharToMultiByte
DWORD WINAPI ExpandEnvironmentStringsA(IN LPCSTR lpSrc, IN LPSTR lpDst, IN DWORD nSize)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
#define InterlockedExchangePointer(Target, Value)
_In_ NDIS_ERROR_CODE ErrorCode
DWORD WSAAPI WsNqProvLookupServiceNext(IN PNSQUERY_PROVIDER QueryProvider, IN DWORD ControlFlags, IN PDWORD BufferLength, LPWSAQUERYSETW Results)
DWORD WSAAPI WsNqProvLookupServiceBegin(IN PNSQUERY_PROVIDER QueryProvider, IN LPWSAQUERYSETW Restrictions, IN LPWSASERVICECLASSINFOW ServiceClassInfo, IN DWORD ControlFlags)
DWORD WSAAPI WsNpLookupServiceNext(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle, IN DWORD ControlFlags, OUT PDWORD BufferLength, OUT LPWSAQUERYSETW Results)
DWORD WSAAPI WsNpLookupServiceEnd(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle)
PNSQUERY_PROVIDER WSAAPI WsNqProvAllocate(VOID)
DWORD WSAAPI WsNqProvLookupServiceEnd(IN PNSQUERY_PROVIDER QueryProvider)
DWORD WSAAPI WsNqProvInitialize(IN PNSQUERY_PROVIDER QueryProvider, IN PNS_PROVIDER Provider)
DWORD WSAAPI WsNpNSPCleanup(IN PNS_PROVIDER Provider)
DWORD WSAAPI WsNpInitialize(IN PNS_PROVIDER Provider, IN LPWSTR DllName, IN LPGUID ProviderId)
VOID WSAAPI WsNpDereference(IN PNS_PROVIDER Provider)
VOID WSAAPI WsNpDelete(IN PNS_PROVIDER Provider)
PNS_PROVIDER WSAAPI WsNpAllocate(VOID)
VOID WSAAPI WsNqProvDelete(IN PNSQUERY_PROVIDER QueryProvider)
DWORD WSAAPI WsNpLookupServiceBegin(IN PNS_PROVIDER Provider, IN LPWSAQUERYSETW Restrictions, IN LPWSASERVICECLASSINFOW ServiceClassInfo, IN DWORD ControlFlags, OUT PHANDLE LookupHandle)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
#define WSAEPROVIDERFAILEDINIT
_Must_inspect_result_ INT(WSAAPI * LPNSPSTARTUP)(_In_ LPGUID lpProviderId, _Inout_ LPNSP_ROUTINE lpnspRoutines)
struct _NSP_ROUTINE NSP_ROUTINE
INT(WSAAPI * LPNSPCLEANUP)(_In_ LPGUID lpProviderId)