ReactOS 0.4.16-dev-292-gbbdcc14
NtCreateFile.c File Reference
#include "precomp.h"
Include dependency graph for NtCreateFile.c:

Go to the source code of this file.

Functions

 START_TEST (NtCreateFile)
 

Function Documentation

◆ START_TEST()

START_TEST ( NtCreateFile  )

Definition at line 10 of file NtCreateFile.c.

11{
14 IO_STATUS_BLOCK StatusBlock;
15
18 (POBJECT_ATTRIBUTES)(ULONG_PTR)0xCCCCCCCCCCCCCCC8ULL,
19 &StatusBlock,
20 NULL,
25 NULL,
26 0);
27
29
32 (POBJECT_ATTRIBUTES)(ULONG_PTR)0xCCCCCCCCCCCCCCCFULL,
33 &StatusBlock,
34 NULL,
39 NULL,
40 0);
41
43}
#define ok_hex(expression, result)
Definition: atltest.h:94
LONG NTSTATUS
Definition: precomp.h:26
#define FILE_NON_DIRECTORY_FILE
Definition: constants.h:492
#define NULL
Definition: types.h:112
#define FILE_ATTRIBUTE_NORMAL
Definition: compat.h:137
#define FILE_SHARE_READ
Definition: compat.h:136
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1231
#define FILE_OPEN_IF
Definition: from_kernel.h:56
Status
Definition: gdiplustypes.h:25
#define FILE_READ_DATA
Definition: nt_native.h:628
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 STATUS_ACCESS_VIOLATION
Definition: ntstatus.h:242
#define STATUS_DATATYPE_MISALIGNMENT
Definition: ntstatus.h:183
uint32_t ULONG_PTR
Definition: typedefs.h:65