Click or drag to resize

NativeFileIONtOpenEvent Method

Calls NT API NtOpenEvent() function to open an event object using NT path and encapsulates returned handle in a SafeWaitHandle object.

Namespace:  Arsenal.ImageMounter.IO
Assembly:  Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax
public static SafeWaitHandle NtOpenEvent(
	string EventName,
	NativeFileIONtObjectAttributes ObjectAttributes,
	uint DesiredAccess,
	SafeFileHandle RootDirectory
)

Parameters

EventName
Type: SystemString
Name of event to open.
ObjectAttributes
Type: Arsenal.ImageMounter.IONativeFileIONtObjectAttributes
Object attributes.
DesiredAccess
Type: SystemUInt32
Access to request.
RootDirectory
Type: Microsoft.Win32.SafeHandlesSafeFileHandle
Root directory to start path parsing from, or null for rooted path.

Return Value

Type: SafeWaitHandle
NTSTATUS value indicating result of the operation.
See Also