38#define APCH (HANDLE)'SOR '
211 sizeof(*Ea) +
sizeof(*EaData));
255 SC_HANDLE ServiceMgrHandle, Ws2IfsHandle;
397 sizeof(*Ea) +
sizeof(*EaData));
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
#define GetProcAddress(x, y)
#define HeapFree(x, y, z)
#define FILE_ATTRIBUTE_NORMAL
VOID WINAPI FreeLibraryAndExitThread(HMODULE hLibModule, DWORD dwExitCode)
DWORD WINAPI QueueUserAPC(IN PAPCFUNC pfnAPC, IN HANDLE hThread, IN ULONG_PTR dwData)
DWORD WINAPI ResumeThread(IN HANDLE hThread)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
VOID CALLBACK ExitThreadApc(ULONG_PTR Context)
struct _WSH_HELPER_CONTEXT * PWAH_HELPER_CONTEXT
VOID CALLBACK ApcThread(ULONG_PTR Context)
LPFN_WSARECVFROM pWSARecvFrom
DWORD WINAPI WahCloseHandleHelper(IN HANDLE HelperHandle)
LPFN_WSACLEANUP pWSACleanup
DWORD WINAPI WahCreateSocketHandle(IN HANDLE HelperHandle, OUT SOCKET *Socket)
DWORD WINAPI WahCloseSocketHandle(IN HANDLE HelperHandle, IN SOCKET Socket)
LPFN_WSASETBLOCKINGHOOK pWSASetBlockingHook
DWORD WINAPI WahCompleteRequest(IN HANDLE HelperHandle, IN SOCKET Socket, IN LPWSAOVERLAPPED lpOverlapped, IN DWORD ErrorCode, IN DWORD BytesTransferred)
LPFN_WSASENDTO pWSASendTo
struct _WSH_HELPER_CONTEXT WSH_HELPER_CONTEXT
NTSTATUS WINAPI DoSocketRequest(PVOID Context1, PVOID Context2, PVOID Context3)
LPFN_WSACANCELBLOCKINGCALL pWSACancelBlockingCall
DWORD WINAPI WahOpenHandleHelper(OUT PHANDLE HelperHandle)
INT WINAPI WahEnableNonIFSHandleSupport(VOID)
INT WINAPI WahDisableNonIFSHandleSupport(VOID)
LPFN_WSAGETLASTERROR pWSAGetLastError
NTSTATUS WINAPI DoSocketCancel(PVOID Context1, PVOID Context2, PVOID Context3)
LPFN_WSASTARTUP pWSAStartup
LPFN_GETSOCKOPT pGetSockOpt
struct _FILE_FULL_EA_INFORMATION * PFILE_FULL_EA_INFORMATION
#define FILE_SYNCHRONOUS_IO_NONALERT
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
static OUT PIO_STATUS_BLOCK IoStatusBlock
#define InitializeObjectAttributes(p, n, a, r, s)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED lpOverlapped
_In_ NDIS_ERROR_CODE ErrorCode
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI NtCreateFile(OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER AllocationSize OPTIONAL, IN ULONG FileAttributes, IN ULONG ShareAccess, IN ULONG CreateDisposition, IN ULONG CreateOptions, IN PVOID EaBuffer OPTIONAL, IN ULONG EaLength)
#define UNREFERENCED_PARAMETER(P)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
#define RtlCopyMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG CreateOptions
_Must_inspect_result_ _In_ WDFUSBDEVICE _In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_SEND_OPTIONS _In_ PWDF_USB_CONTROL_SETUP_PACKET _In_opt_ PWDF_MEMORY_DESCRIPTOR _Out_opt_ PULONG BytesTransferred
DWORD WINAPI GetLastError(void)
#define WSASYSCALLFAILURE
#define ERROR_GEN_FAILURE
#define SERVICE_ALL_ACCESS
#define SC_MANAGER_CREATE_SERVICE
#define SERVICE_NO_CHANGE
#define ChangeServiceConfig
#define SERVICES_ACTIVE_DATABASE
struct _WSH_EA_DATA * PWAH_EA_DATA
struct _WAH_EA_DATA2 * PWAH_EA_DATA2
#define IOCTL_WS2IFSL_SET_HANDLE
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_opt_ PVOID EaBuffer