ReactOS 0.4.15-dev-7674-gc0b4db1
NtQueryInformationFile.c File Reference
#include "precomp.h"
Include dependency graph for NtQueryInformationFile.c:

Go to the source code of this file.

Macros

#define ntv6(x)   (LOBYTE(LOWORD(GetVersion())) >= 6 ? (x) : 0)
 

Functions

 START_TEST (NtQueryInformationFile)
 

Macro Definition Documentation

◆ ntv6

#define ntv6 (   x)    (LOBYTE(LOWORD(GetVersion())) >= 6 ? (x) : 0)

Definition at line 10 of file NtQueryInformationFile.c.

Function Documentation

◆ START_TEST()

START_TEST ( NtQueryInformationFile  )

Definition at line 12 of file NtQueryInformationFile.c.

13{
15
18 ntv6(Status == STATUS_NOT_IMPLEMENTED), "Status = %lx\n", Status);
19
20 Status = NtQueryInformationFile(NULL, NULL, NULL, 0, 0x80000000);
22 ntv6(Status == STATUS_NOT_IMPLEMENTED), "Status = %lx\n", Status);
23}
#define ntv6(x)
#define ok(value,...)
Definition: atltest.h:57
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
Status
Definition: gdiplustypes.h:25
NTSYSAPI NTSTATUS NTAPI NtQueryInformationFile(IN HANDLE hFile, OUT PIO_STATUS_BLOCK pIoStatusBlock, OUT PVOID FileInformationBuffer, IN ULONG FileInformationBufferLength, IN FILE_INFORMATION_CLASS FileInfoClass)
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define STATUS_INVALID_INFO_CLASS
Definition: ntstatus.h:240