Module: RAPI::Native

Defined in:
lib/rapi.rb

Defined Under Namespace

Modules: Kernel32, Rapi Classes: CEHandle, FILETIME

Constant Summary

WAIT_ABANDONED =

Winbase.h

0x00000080
WAIT_FAILED =
0xFFFFFFFF
WAIT_TIMEOUT =
0x00000102
WAIT_OBJECT_0 =
0x00000000
INVALID_FILE_SIZE =
0xFFFFFFFF
MAX_PATH =
260
FORMAT_MESSAGE_FROM_SYSTEM =
0x00001000
FORMAT_MESSAGE_FROM_HMODULE =
0x00000800
FORMAT_MESSAGE_IGNORE_INSERTS =
0x00000200
FORMAT_MESSAGE_ALLOCATE_BUFFER =
0x00000100
GENERIC_READ =
0x80000000
GENERIC_WRITE =
0x40000000
FILE_SHARE_READ =
0x00000001
FILE_SHARE_WRITE =
0x00000002
ERROR_NO_MORE_ITEMS =
0X0103
CREATE_NEW =
0x00000001
CREATE_ALWAYS =
0x00000002
OPEN_EXISTING =
0x00000003
OPEN_ALWAYS =
0x00000004
TRUNCATE_EXISTING =
0x00000005
INVALID_HANDLE =
FFI::Pointer.new(-1)
FILE_BEGIN =
0x00
FILE_CURRENT =
0x01
FILE_END =
0x02
FILE_ATTRIBUTE_ARCHIVE =
0x00000020
FILE_ATTRIBUTE_COMPRESSED =
0x00000800
FILE_ATTRIBUTE_DIRECTORY =
0x00000010
FILE_ATTRIBUTE_ENCRYPTED =
0x00004000
FILE_ATTRIBUTE_HIDDEN =
0x00000002
FILE_ATTRIBUTE_INROM =
0x00000040
FILE_ATTRIBUTE_NORMAL =
0x00000080
FILE_ATTRIBUTE_READONLY =
0x00000001
FILE_ATTRIBUTE_REPARSE_POINT =
0x00000400
FILE_ATTRIBUTE_ROMMODULE =
0x00002000
FILE_ATTRIBUTE_SPARSE_FILE =
0x00000200
FILE_ATTRIBUTE_SYSTEM =
0x00000004
FILE_ATTRIBUTE_TEMPORARY =
0x00000100
FILE_FLAG_WRITE_THROUGH =
0x80000000
FILE_FLAG_OVERLAPPED =
0x40000000
FILE_FLAG_RANDOM_ACCESS =
0x10000000
FILE_FLAG_SEQUENTIAL_SCAN =
0x08000000
FAF_ATTRIB_CHILDREN =
0x01000
FAF_ATTRIB_NO_HIDDEN =
0x02000
FAF_FOLDERS_ONLY =
0x04000
FAF_NO_HIDDEN_SYS_ROMMODULES =
0x08000
FAF_GETTARGET =
0x10000
FAF_ATTRIBUTES =
0x01
FAF_CREATION_TIME =
0x02
FAF_LASTACCESS_TIME =
0x04
FAF_LASTWRITE_TIME =
0x08
FAF_SIZE_HIGH =
0x10
FAF_SIZE_LOW =
0x20
FAF_OID =
0x40
FAF_NAME =
0x80
FILE_NOT_FOUND =

I have no idea what the Windows headers call this...

0x00000002
PATH_NOT_FOUND =
0x00000003
CONNECTION_LOST =
0x80072775