ReactOS  0.4.15-dev-1070-ge1a01de
NtDuplicateObject.c File Reference
#include "precomp.h"
Include dependency graph for NtDuplicateObject.c:

Go to the source code of this file.

Macros

#define OBJ_PROTECT_CLOSE   0x01
 

Functions

 START_TEST (NtDuplicateObject)
 

Macro Definition Documentation

◆ OBJ_PROTECT_CLOSE

#define OBJ_PROTECT_CLOSE   0x01

Definition at line 10 of file NtDuplicateObject.c.

Function Documentation

◆ START_TEST()

START_TEST ( NtDuplicateObject  )

Definition at line 12 of file NtDuplicateObject.c.

13 {
15  HANDLE Handle;
16 
17  Handle = NULL;
21  &Handle,
24  0);
27  "Handle = %p\n", Handle);
30 }
#define GENERIC_ALL
Definition: nt_native.h:92
LONG NTSTATUS
Definition: precomp.h:26
#define ok_hex(expression, result)
Definition: atltest.h:94
#define OBJ_PROTECT_CLOSE
smooth NULL
Definition: ftsmooth.c:416
#define NtCurrentProcess()
Definition: nt_native.h:1657
_In_ HANDLE Handle
Definition: extypes.h:390
NTSTATUS NTAPI NtClose(IN HANDLE Handle)
Definition: obhandle.c:3399
Status
Definition: gdiplustypes.h:24
#define STATUS_HANDLE_NOT_CLOSABLE
Definition: ntstatus.h:697
#define ok(value,...)
Definition: atltest.h:57
NTSTATUS NTAPI NtDuplicateObject(IN HANDLE SourceProcessHandle, IN HANDLE SourceHandle, IN HANDLE TargetProcessHandle OPTIONAL, OUT PHANDLE TargetHandle OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG HandleAttributes, IN ULONG Options)
Definition: obhandle.c:3407
return STATUS_SUCCESS
Definition: btrfs.c:3014