ReactOS  0.4.15-dev-3453-gff89651
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)0xCCCCCCCCCCCCCCCCULL,
19  &StatusBlock,
20  NULL,
25  NULL,
26  0);
27 
29 }
#define FILE_OPEN_IF
Definition: from_kernel.h:56
LONG NTSTATUS
Definition: precomp.h:26
#define ok_hex(expression, result)
Definition: atltest.h:94
#define FILE_SHARE_READ
Definition: compat.h:136
uint32_t ULONG_PTR
Definition: typedefs.h:65
HANDLE FileHandle
Definition: stats.c:38
#define FILE_READ_DATA
Definition: nt_native.h:628
Status
Definition: gdiplustypes.h:24
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 FILE_ATTRIBUTE_NORMAL
Definition: compat.h:137
#define FILE_NON_DIRECTORY_FILE
Definition: constants.h:492
#define STATUS_ACCESS_VIOLATION
Definition: ntstatus.h:242
#define NULL
Definition: types.h:112