14#define WINVER_WIN8 0x0602
37 ULONG Characteristics;
43 Characteristics = dwWinVersion >=
WINVER_WIN8 ? 0x20000 : 0;
44 ok(
DeviceInfo.Characteristics == Characteristics,
"Expected 0x%lx, got: 0x%lx\n", Characteristics,
DeviceInfo.Characteristics);
50 ok(
handle != -1,
"Expected a valid handle (%i)\n",
err);
67 ok(iResult == 0,
"WSAStartup failed, iResult == %d\n", iResult);
NTSTATUS NTAPI RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation)
DWORD WINAPI GetFileType(HANDLE hFile)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
@ FileFsDeviceInformation
GLuint GLuint GLsizei GLenum type
static void run_open_osfhandle(void)
#define FILE_DEVICE_NAMED_PIPE
_CRTIMP int *__cdecl _errno(void)
_Check_return_opt_ _CRTIMP int __cdecl _close(_In_ int _FileHandle)
_CRTIMP int __cdecl _open_osfhandle(_In_ intptr_t _OSFileHandle, _In_ int _Flags)
NTSTATUS NTAPI NtQueryVolumeInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID FsInformation, ULONG Length, FS_INFORMATION_CLASS FsInformationClass)
SOCKET WSAAPI WSASocketA(IN INT af, IN INT type, IN INT protocol, IN LPWSAPROTOCOL_INFOA lpProtocolInfo, IN GROUP g, IN DWORD dwFlags)
int PASCAL FAR WSACleanup(void)