package core:sys/windows

Warning: This was generated for -target:windows_amd64 and might not represet every target this package supports.

⌘K
Ctrl+K
or
/

    Index

    Types (564)
    Constants (3798)
    Procedures (613)
    Procedure Groups (0)

    This section is empty.

    Types

    ACCESS_MASK ¶

    ACCESS_MASK :: u32

    ADDRESS_FAMILY ¶

    ADDRESS_FAMILY :: u16

    ADDRESS_MODE ¶

    ADDRESS_MODE :: enum i32 {
    	AddrMode1616, 
    	AddrMode1632, 
    	AddrModeReal, 
    	AddrModeFlat, 
    }

    ADDRINFOA ¶

    ADDRINFOA :: struct {
    	ai_flags:     i32,
    	ai_family:    i32,
    	ai_socktype:  i32,
    	ai_protocol:  i32,
    	ai_addrlen:   uint,
    	ai_canonname: ^u8,
    	ai_addr:      ^SOCKADDR,
    	ai_next:      ^ADDRINFOA,
    }
    Related Procedures With Parameters

    ADDRINFOEXW ¶

    ADDRINFOEXW :: struct {
    	ai_flags:     i32,
    	ai_family:    i32,
    	ai_socktype:  i32,
    	ai_protocol:  i32,
    	ai_addrlen:   uint,
    	ai_canonname: [^]u16,
    	ai_addr:      ^sockaddr,
    	ai_blob:      rawptr,
    	ai_bloblen:   uint,
    	ai_provider:  ^GUID,
    	ai_next:      ^ADDRINFOEXW,
    }
    Related Procedures With Parameters

    APPBARDATA ¶

    APPBARDATA :: struct {
    	cbSize:           u32,
    	hWnd:             HWND,
    	uCallbackMessage: u32,
    	uEdge:            u32,
    	rc:               RECT,
    	lParam:           int,
    }
    Related Procedures With Parameters

    ATOM ¶

    ATOM :: distinct u16
    Related Procedures With Returns

    Address_Family ¶

    Address_Family :: enum u32 {
    	Unspecified = 0,  // Return both IPv4 and IPv6 addresses associated with adapters with them enabled.
    	IPv4        = 2,  // Return only IPv4 addresses associated with adapters with it enabled.
    	IPv6        = 23, // Return only IPv6 addresses associated with adapters with it enabled.
    }
    Related Procedures With Parameters

    BIND_OPTS ¶

    BIND_OPTS :: struct {
    	cbStruct:            u32,
    	grfFlags:            u32,
    	grfMode:             u32,
    	dwTickCountDeadline: u32,
    }

    BITMAP ¶

    BITMAP :: struct {
    	bmType:       i32,
    	bmWidth:      i32,
    	bmHeight:     i32,
    	bmWidthBytes: i32,
    	bmPlanes:     u16,
    	bmBitsPixel:  u16,
    	bmBits:       rawptr,
    }

    BITMAPINFO ¶

    BITMAPINFO :: struct {
    	bmiHeader: BITMAPINFOHEADER,
    	bmiColors: [1]RGBQUAD,
    }
    Related Procedures With Parameters

    BITMAPINFOHEADER ¶

    BITMAPINFOHEADER :: struct {
    	biSize:          u32,
    	biWidth:         i32,
    	biHeight:        i32,
    	biPlanes:        u16,
    	biBitCount:      u16,
    	biCompression:   u32,
    	biSizeImage:     u32,
    	biXPelsPerMeter: i32,
    	biYPelsPerMeter: i32,
    	biClrUsed:       u32,
    	biClrImportant:  u32,
    }
    Related Procedures With Parameters

    BITMAPV5HEADER ¶

    BITMAPV5HEADER :: struct {
    	bV5Size:          u32,
    	bV5Width:         i32,
    	bV5Height:        i32,
    	bV5Planes:        u16,
    	bV5BitCount:      u16,
    	bV5Compression:   u32,
    	bV5SizeImage:     u32,
    	bV5XPelsPerMeter: i32,
    	bV5YPelsPerMeter: i32,
    	bV5ClrUsed:       u32,
    	bV5ClrImportant:  u32,
    	bV5RedMask:       u32,
    	bV5GreenMask:     u32,
    	bV5BlueMask:      u32,
    	bV5AlphaMask:     u32,
    	bV5CSType:        u32,
    	bV5Endpoints:     CIEXYZTRIPLE,
    	bV5GammaRed:      u32,
    	bV5GammaGreen:    u32,
    	bV5GammaBlue:     u32,
    	bV5Intent:        u32,
    	bV5ProfileData:   u32,
    	bV5ProfileSize:   u32,
    	bV5Reserved:      u32,
    }
     

    https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapv5header

    BLUETOOTH_ADDRESS ¶

    BLUETOOTH_ADDRESS :: struct #raw_union {
    	addr: u64,
    	val:  [6]u8,
    }

    BLUETOOTH_DEVICE_INFO ¶

    BLUETOOTH_DEVICE_INFO :: struct {
    	dw_size:       u32,
    	//  Size in bytes of this structure - must be the size_of(BLUETOOTH_DEVICE_INFO)
    	address:       BLUETOOTH_ADDRESS,
    	//  Bluetooth address
    	device_class:  u32,
    	//  Bluetooth "Class of Device". See: https://btprodspecificationrefs.blob.core.windows.net/assigned-numbers/Assigned%20Number%20Types/Baseband.pdf
    	connected:     BOOL,
    	//  Device connected/in use
    	remembered:    BOOL,
    	//  Device remembered
    	authenticated: BOOL,
    	//  Device authenticated/paired/bonded
    	last_seen:     SYSTEMTIME,
    	//  Last time the device was seen
    	last_used:     SYSTEMTIME,
    	//  Last time the device was used for other than RNR, inquiry, or SDP
    	name:          [248]u16,
    }
    Related Procedures With Parameters

    BLUETOOTH_DEVICE_SEARCH_PARAMS ¶

    BLUETOOTH_DEVICE_SEARCH_PARAMS :: struct {
    	dw_size:              u32,
    	// Size of this structure
    	return_authenticated: BOOL,
    	// Return authenticated devices
    	return_remembered:    BOOL,
    	// Return remembered devices
    	return_unknown:       BOOL,
    	// Return unknown devices
    	return_connected:     BOOL,
    	// Return connected devices
    	issue_inquiry:        BOOL,
    	// Issue a new inquiry
    	timeout_multiplier:   BYTE,
    	// Timeout for the inquiry, expressed in increments of 1.28 seconds
    	radio:                HANDLE,
    }
    Related Procedures With Parameters

    BLUETOOTH_FIND_RADIO_PARAMS ¶

    BLUETOOTH_FIND_RADIO_PARAMS :: struct {
    	dw_size: u32,
    }
    Related Procedures With Parameters

    BLUETOOTH_RADIO_INFO ¶

    BLUETOOTH_RADIO_INFO :: struct {
    	dw_size:           u32,
    	// Size of this structure
    	address:           BLUETOOTH_ADDRESS,
    	// Address of radio
    	name:              [248]u16,
    	// Name of the radio
    	device_class:      u32,
    	// Bluetooth "Class of Device". See: https://btprodspecificationrefs.blob.core.windows.net/assigned-numbers/Assigned%20Number%20Types/Baseband.pdf
    	lmp_minor_version: u16,
    	// This member contains data specific to individual Bluetooth device manufacturers.
    	manufacturer:      u16,
    }
    Related Procedures With Parameters

    BOOL ¶

    BOOL :: distinct b32
    Related Procedures With Parameters
    Related Procedures With Returns
    Related Constants

    BSMINFO ¶

    BSMINFO :: struct {
    	cbSize: u32,
    	hdesk:  HDESK,
    	hwnd:   HWND,
    	luid:   LUID,
    }
    Related Procedures With Parameters

    BY_HANDLE_FILE_INFORMATION ¶

    BY_HANDLE_FILE_INFORMATION :: struct {
    	dwFileAttributes:     u32,
    	ftCreationTime:       FILETIME,
    	ftLastAccessTime:     FILETIME,
    	ftLastWriteTime:      FILETIME,
    	dwVolumeSerialNumber: u32,
    	nFileSizeHigh:        u32,
    	nFileSizeLow:         u32,
    	nNumberOfLinks:       u32,
    	nFileIndexHigh:       u32,
    	nFileIndexLow:        u32,
    }
    Related Procedures With Parameters

    CACHE_DESCRIPTOR ¶

    CACHE_DESCRIPTOR :: struct {
    	Level:         BYTE,
    	Associativity: BYTE,
    	LineSize:      u16,
    	Size:          u32,
    	Type:          PROCESSOR_CACHE_TYPE,
    }

    CHAR ¶

    CHAR :: u8

    CIEXYZ ¶

    CIEXYZ :: struct {
    	ciexyzX: FXPT2DOT30,
    	ciexyzY: FXPT2DOT30,
    	ciexyzZ: FXPT2DOT30,
    }

    CIEXYZTRIPLE ¶

    CIEXYZTRIPLE :: struct {
    	ciexyzRed:   CIEXYZ,
    	ciexyzGreen: CIEXYZ,
    	ciexyzBlue:  CIEXYZ,
    }

    CLSID ¶

    CLSID :: GUID
    Related Constants

    COINIT ¶

    COINIT :: enum u32 {
    	APARTMENTTHREADED = 2, 
    	MULTITHREADED     = 0, 
    	DISABLE_OLE1DDE   = 4, 
    	SPEED_OVER_MEMORY = 8, 
    }
     

    objbase.h Note(Dragos): https://learn.microsoft.com/en-us/windows/win32/api/objbase/ne-objbase-coinit makes you believe that MULTITHREADED == 3. That is wrong. See definition of objbase.h

    typedef enum tagCOINIT { COINIT_APARTMENTTHREADED = 0x2, // Apartment model

    #if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) // DCOM // These constants are only valid on Windows NT 4.0 COINIT_MULTITHREADED = COINITBASE_MULTITHREADED, COINIT_DISABLE_OLE1DDE = 0x4, // Don't use DDE for Ole1 support. COINIT_SPEED_OVER_MEMORY = 0x8, // Trade memory for speed. #endif // DCOM } COINIT; Where COINITBASE_MULTITHREADED == 0x00

    Related Procedures With Parameters

    COLORREF ¶

    COLORREF :: u32

    COMDLG_FILTERSPEC ¶

    COMDLG_FILTERSPEC :: struct {
    	pszName: [^]u16,
    	pszSpec: [^]u16,
    }

    CONSOLE_CURSOR_INFO ¶

    CONSOLE_CURSOR_INFO :: struct {
    	dwSize:   u32,
    	bVisible: BOOL,
    }
    Related Procedures With Parameters

    CONSOLE_READCONSOLE_CONTROL ¶

    CONSOLE_READCONSOLE_CONTROL :: struct {
    	nLength:           u32,
    	nInitialChars:     u32,
    	dwCtrlWakeupMask:  u32,
    	dwControlKeyState: u32,
    }
    Related Procedures With Parameters

    CONSOLE_SCREEN_BUFFER_INFO ¶

    CONSOLE_SCREEN_BUFFER_INFO :: struct {
    	dwSize:              COORD,
    	dwCursorPosition:    COORD,
    	wAttributes:         u16,
    	srWindow:            SMALL_RECT,
    	dwMaximumWindowSize: COORD,
    }
    Related Procedures With Parameters

    CONTEXT ¶

    CONTEXT :: struct {}
     

    TODO(bill)

    COORD ¶

    COORD :: struct {
    	X: i16,
    	Y: i16,
    }
    Related Procedures With Parameters

    CREATESTRUCTA ¶

    CREATESTRUCTA :: struct {
    	lpCreateParams: rawptr,
    	hInstance:      HANDLE,
    	hMenu:          HMENU,
    	hwndParent:     HWND,
    	cy:             i32,
    	cx:             i32,
    	y:              i32,
    	x:              i32,
    	style:          i32,
    	lpszName:       cstring,
    	lpszClass:      cstring,
    	dwExStyle:      u32,
    }

    CREATESTRUCTW ¶

    CREATESTRUCTW :: struct {
    	lpCreateParams: rawptr,
    	hInstance:      HANDLE,
    	hMenu:          HMENU,
    	hwndParent:     HWND,
    	cy:             i32,
    	cx:             i32,
    	y:              i32,
    	x:              i32,
    	style:          i32,
    	lpszName:       [^]u16,
    	lpszClass:      [^]u16,
    	dwExStyle:      u32,
    }

    CRITICAL_SECTION ¶

    CRITICAL_SECTION :: struct {
    	CriticalSectionDebug: rawptr,
    	LockCount:            i32,
    	RecursionCount:       i32,
    	OwningThread:         HANDLE,
    	LockSemaphore:        HANDLE,
    	SpinCount:            uint,
    }
    Related Procedures With Parameters

    CWPRETSTRUCT ¶

    CWPRETSTRUCT :: struct {
    	lResult: int,
    	lParam:  int,
    	wParam:  uintptr,
    	message: u32,
    	hwnd:    HWND,
    }

    ChoosePixelFormatARBType ¶

    ChoosePixelFormatARBType :: proc "c" (hdc: HDC, attribIList: [^]i32, attribFList: [^]f32, maxFormats: u32, formats: [^]i32, numFormats: [^]u32) -> BOOL

    CreateContextAttribsARBType ¶

    CreateContextAttribsARBType :: proc "c" (hdc: HDC, hShareContext: rawptr, attribList: [^]i32) -> HGLRC

    DCB ¶

    DCB :: struct {
    	DCBlength:  u32,
    	// NOTE(tetra): Must be set to size_of(DCB).
    	BaudRate:   u32,
    	settings:   u32,
    	// NOTE(tetra): These are bitfields in the C struct.
    	wReserved:  u16,
    	XOnLim:     u16,
    	XOffLim:    u16,
    	ByteSize:   BYTE,
    	Parity:     Parity,
    	StopBits:   Stop_Bits,
    	XonChar:    u8,
    	XoffChar:   u8,
    	ErrorChar:  u8,
    	EofChar:    u8,
    	EvtChar:    u8,
    	wReserved1: u16,
    }
     

    NOTE(tetra): See get_dcb_config() and init_dcb_with_config() for help with initializing this.

    Related Procedures With Parameters

    DCB_Config ¶

    DCB_Config :: struct {
    	fParity:           bool,
    	fOutxCtsFlow:      bool,
    	fOutxDsrFlow:      bool,
    	fDtrControl:       DTR_Control,
    	fDsrSensitivity:   bool,
    	fTXContinueOnXoff: bool,
    	fOutX:             bool,
    	fInX:              bool,
    	fErrorChar:        bool,
    	fNull:             bool,
    	fRtsControl:       RTS_Control,
    	fAbortOnError:     bool,
    	BaudRate:          u32,
    	ByteSize:          BYTE,
    	Parity:            Parity,
    	StopBits:          Stop_Bits,
    	XonChar:           u8,
    	XoffChar:          u8,
    	ErrorChar:         u8,
    	EvtChar:           u8,
    }
    Related Procedures With Parameters
    Related Procedures With Returns

    DECIMAL ¶

    DECIMAL :: struct {
    	wReserved: u16,
    	_:         struct #raw_union {
    		_:         struct {
    			scale: BYTE,
    			sign:  BYTE,
    		},
    		signscale: u16,
    	},
    	Hi32:      u32,
    	_:         struct #raw_union {
    		_:    struct {
    			Lo32:  u32,
    			Mid32: u32,
    		},
    		Lo64: u64,
    	},
    }

    DEVMODEW ¶

    DEVMODEW :: struct {
    	dmDeviceName:       [32]u16,
    	dmSpecVersion:      u16,
    	dmDriverVersion:    u16,
    	dmSize:             u16,
    	dmDriverExtra:      u16,
    	dmFields:           u32,
    	using _:            struct #raw_union {
    		// Printer only fields.
    		using _: struct {
    			dmOrientation:   i16,
    			dmPaperSize:     i16,
    			dmPaperLength:   i16,
    			dmPaperWidth:    i16,
    			dmScale:         i16,
    			dmCopies:        i16,
    			dmDefaultSource: i16,
    			dmPrintQuality:  i16,
    		},
    		// Display only fields.
    		using _: struct {
    			dmPosition:           POINT,
    			dmDisplayOrientation: u32,
    			dmDisplayFixedOutput: u32,
    		},
    	},
    	dmColor:            i16,
    	dmDuplex:           i16,
    	dmYResolution:      i16,
    	dmTTOption:         i16,
    	dmCollate:          i16,
    	dmFormName:         [32]u16,
    	dmLogPixels:        u16,
    	dmBitsPerPel:       u32,
    	dmPelsWidth:        u32,
    	dmPelsHeight:       u32,
    	using _:            struct #raw_union {
    		dmDisplayFlags: u32,
    		dmNup:          u32,
    	},
    	dmDisplayFrequency: u32,
    	dmICMMethod:        u32,
    	dmICMIntent:        u32,
    	dmMediaType:        u32,
    	dmDitherType:       u32,
    	dmReserved1:        u32,
    	dmReserved2:        u32,
    	dmPanningWidth:     u32,
    	dmPanningHeight:    u32,
    }
    Related Procedures With Parameters

    DNS_MX_DATAA ¶

    DNS_MX_DATAA :: struct {
    	pNameExchange: cstring,
    	// the hostname
    	wPreference:   u16,
    	// lower values preferred
    	_:             u16,
    }

    DNS_PTR_DATAA ¶

    DNS_PTR_DATAA :: cstring

    DNS_RECORD ¶

    DNS_RECORD :: struct {
    	pNext:       ^DNS_RECORD,
    	pName:       cstring,
    	wType:       u16,
    	wDataLength: u16,
    	Flags:       u32,
    	dwTtl:       u32,
    	_:           u32,
    	Data:        struct #raw_union {
    		CNAME: cstring,
    		A:     u32be,
    		// Ipv4 Address
    		AAAA:  u128be,
    		// Ipv6 Address
    		TXT:   DNS_TXT_DATAA,
    		NS:    cstring,
    		MX:    DNS_MX_DATAA,
    		SRV:   DNS_SRV_DATAA,
    	},
    }
    Related Procedures With Parameters

    DNS_SRV_DATAA ¶

    DNS_SRV_DATAA :: struct {
    	pNameTarget: cstring,
    	wPriority:   u16,
    	wWeight:     u16,
    	wPort:       u16,
    	_:           u16,
    }

    DNS_STATUS ¶

    DNS_STATUS :: distinct u32
     

    zero is success

    Related Procedures With Returns

    DNS_TXT_DATAA ¶

    DNS_TXT_DATAA :: struct {
    	dwStringCount: u32,
    	pStringArray:  cstring,
    }

    DRAWTEXTPARAMS ¶

    DRAWTEXTPARAMS :: struct {
    	cbSize:        u32,
    	iTabLength:    int,
    	iLeftMargin:   int,
    	iRightMargin:  int,
    	uiLengthDrawn: u32,
    }
    Related Procedures With Parameters

    DTR_Control ¶

    DTR_Control :: enum u8 {
    	Disable   = 0, 
    	Enable    = 1, 
    	Handshake = 2, 
    }

    DUMMYUNIONNAME_u ¶

    DUMMYUNIONNAME_u :: struct #raw_union {
    	Core:     ProcessorCore,
    	Node:     NumaNode,
    	Cache:    CACHE_DESCRIPTOR,
    	Reserved: [2]u64,
    }

    DWMNCRENDERINGPOLICY ¶

    DWMNCRENDERINGPOLICY :: enum int {
    	DWMNCRP_USEWINDOWSTYLE, 
    	DWMNCRP_DISABLED, 
    	DWMNCRP_ENABLED, 
    	DWMNCRP_LAST, 
    }

    DWMWINDOWATTRIBUTE ¶

    DWMWINDOWATTRIBUTE :: enum int {
    	DWMWA_NCRENDERING_ENABLED, 
    	DWMWA_NCRENDERING_POLICY, 
    	DWMWA_TRANSITIONS_FORCEDISABLED, 
    	DWMWA_ALLOW_NCPAINT, 
    	DWMWA_CAPTION_BUTTON_BOUNDS, 
    	DWMWA_NONCLIENT_RTL_LAYOUT, 
    	DWMWA_FORCE_ICONIC_REPRESENTATION, 
    	DWMWA_FLIP3D_POLICY, 
    	DWMWA_EXTENDED_FRAME_BOUNDS, 
    	DWMWA_HAS_ICONIC_BITMAP, 
    	DWMWA_DISALLOW_PEEK, 
    	DWMWA_EXCLUDED_FROM_PEEK, 
    	DWMWA_CLOAK, 
    	DWMWA_CLOAKED, 
    	DWMWA_FREEZE_REPRESENTATION, 
    	DWMWA_PASSIVE_UPDATE_MODE, 
    	DWMWA_USE_HOSTBACKDROPBRUSH, 
    	DWMWA_USE_IMMERSIVE_DARK_MODE        = 20, 
    	DWMWA_WINDOW_CORNER_PREFERENCE       = 33, 
    	DWMWA_BORDER_COLOR, 
    	DWMWA_CAPTION_COLOR, 
    	DWMWA_TEXT_COLOR, 
    	DWMWA_VISIBLE_FRAME_BORDER_THICKNESS, 
    	DWMWA_SYSTEMBACKDROP_TYPE, 
    	DWMWA_LAST, 
    }

    DWORD ¶

    DWORD :: u32

    DWORDLONG ¶

    DWORDLONG :: u64

    DWORD_PTR ¶

    DWORD_PTR :: uint

    DrawTextFormat ¶

    DrawTextFormat :: enum u32 {
    	DT_TOP                  = 0, 
    	DT_LEFT                 = 0, 
    	DT_CENTER               = 1, 
    	DT_RIGHT                = 2, 
    	DT_VCENTER              = 4, 
    	DT_BOTTOM               = 8, 
    	DT_WORDBREAK            = 16, 
    	DT_SINGLELINE           = 32, 
    	DT_EXPANDTABS           = 64, 
    	DT_TABSTOP              = 128, 
    	DT_NOCLIP               = 256, 
    	DT_EXTERNALLEADING      = 512, 
    	DT_CALCRECT             = 1024, 
    	DT_NOPREFIX             = 2048, 
    	DT_INTERNAL             = 4096, 
    	DT_EDITCONTROL          = 8192, 
    	DT_PATH_ELLIPSIS        = 16384, 
    	DT_END_ELLIPSIS         = 32768, 
    	DT_MODIFYSTRING         = 65536, 
    	DT_RTLREADING           = 131072, 
    	DT_WORD_ELLIPSIS        = 262144, 
    	DT_NOFULLWIDTHCHARBREAK = 524288, 
    	DT_HIDEPREFIX           = 1048576, 
    	DT_PREFIXONLY           = 2097152, 
    }
    Related Procedures With Parameters

    EXCEPTION_DISPOSITION ¶

    EXCEPTION_DISPOSITION :: enum i32 {
    	ExceptionContinueExecution, 
    	ExceptionContinueSearch, 
    	ExceptionNestedException, 
    	ExceptionCollidedUnwind, 
    }

    EXCEPTION_POINTERS ¶

    EXCEPTION_POINTERS :: struct {
    	ExceptionRecord: ^EXCEPTION_RECORD,
    	ContextRecord:   ^CONTEXT,
    }

    EXCEPTION_RECORD ¶

    EXCEPTION_RECORD :: struct {
    	ExceptionCode:        u32,
    	ExceptionFlags:       u32,
    	ExceptionRecord:      ^EXCEPTION_RECORD,
    	ExceptionAddress:     rawptr,
    	NumberParameters:     u32,
    	ExceptionInformation: [15]rawptr,
    }

    FDAP ¶

    FDAP :: enum i32 {
    	BOTTOM = 0, 
    	TOP    = 1, 
    }

    FDE_SHAREVIOLATION_RESPONSE ¶

    FDE_SHAREVIOLATION_RESPONSE :: enum i32 {
    	DEFAULT = 0, 
    	ACCEPT  = 1, 
    	REFUSE  = 2, 
    }

    FILEOPENDIALOGOPTIONS ¶

    FILEOPENDIALOGOPTIONS :: u32

    FILEOP_FLAGS ¶

    FILEOP_FLAGS :: u16

    FILE_ATTRIBUTE_TAG_INFO ¶

    FILE_ATTRIBUTE_TAG_INFO :: struct {
    	FileAttributes: u32,
    	ReparseTag:     u32,
    }

    FILE_BASIC_INFO ¶

    FILE_BASIC_INFO :: struct {
    	CreationTime:   LARGE_INTEGER,
    	LastAccessTime: LARGE_INTEGER,
    	LastWriteTime:  LARGE_INTEGER,
    	ChangeTime:     LARGE_INTEGER,
    	FileAttributes: u32,
    }

    FILE_END_OF_FILE_INFO ¶

    FILE_END_OF_FILE_INFO :: struct {
    	EndOfFile: LARGE_INTEGER,
    }

    FILE_INFO_BY_HANDLE_CLASS ¶

    FILE_INFO_BY_HANDLE_CLASS :: enum i32 {
    	FileBasicInfo                  = 0, 
    	FileStandardInfo               = 1, 
    	FileNameInfo                   = 2, 
    	FileRenameInfo                 = 3, 
    	FileDispositionInfo            = 4, 
    	FileAllocationInfo             = 5, 
    	FileEndOfFileInfo              = 6, 
    	FileStreamInfo                 = 7, 
    	FileCompressionInfo            = 8, 
    	FileAttributeTagInfo           = 9, 
    	FileIdBothDirectoryInfo        = 10, // 0xA
    	FileIdBothDirectoryRestartInfo = 11, // 0xB
    	FileIoPriorityHintInfo         = 12, // 0xC
    	FileRemoteProtocolInfo         = 13, // 0xD
    	FileFullDirectoryInfo          = 14, // 0xE
    	FileFullDirectoryRestartInfo   = 15, // 0xF
    	FileStorageInfo                = 16, // 0x10
    	FileAlignmentInfo              = 17, // 0x11
    	FileIdInfo                     = 18, // 0x12
    	FileIdExtdDirectoryInfo        = 19, // 0x13
    	FileIdExtdDirectoryRestartInfo = 20, // 0x14
    	MaximumFileInfoByHandlesClass, 
    }
    Related Procedures With Parameters

    FILE_NOTIFY_INFORMATION ¶

    FILE_NOTIFY_INFORMATION :: struct {
    	next_entry_offset: u32,
    	action:            u32,
    	file_name_length:  u32,
    	file_name:         [1]u16,
    }

    FILE_STANDARD_INFO ¶

    FILE_STANDARD_INFO :: struct {
    	AllocationSize: LARGE_INTEGER,
    	EndOfFile:      LARGE_INTEGER,
    	NumberOfLinks:  u32,
    	DeletePending:  BOOLEAN,
    	Directory:      BOOLEAN,
    }

    FXPT2DOT30 ¶

    FXPT2DOT30 :: struct($Backing: i32, $Fraction_Width: uint = 30) where intrinsics.type_is_integer(Backing), 0 <= Fraction_Width, Fraction_Width <= 8 * size_of(Backing) {
    	i: i32,
    }

    GAA_Flag ¶

    GAA_Flag :: enum u32 {
    	Skip_Unicast                 = 0,  // Do not return unicast addresses.
    	Skip_Anycast                 = 1,  // Do not return IPv6 anycast addresses.
    	Skip_Multicast               = 2,  // Do not return multicast addresses.
    	Skip_DNS_Server              = 3,  // Do not return addresses of DNS servers.
    	Include_Prefix               = 4,  // (XP SP1+) Return a list of IP address prefixes on this adapter. When this flag is set, IP address prefixes are returned for both IPv6 and IPv4 addresses.
    	Skip_Friendly_Name           = 5,  // Do not return the adapter friendly name.
    	Include_WINS_info            = 6,  // (Vista+) Return addresses of Windows Internet Name Service (WINS) servers.
    	Include_Gateways             = 7,  // (Vista+) Return the addresses of default gateways.
    	Include_All_Interfaces       = 8,  // (Vista+) Return addresses for all NDIS interfaces.
    	Include_All_Compartments     = 9,  // (Reserved, Unsupported) Return addresses in all routing compartments.
    	Include_Tunnel_Binding_Order = 10, // (Vista+) Return the adapter addresses sorted in tunnel binding order.
    }

    GAA_Flags ¶

    GAA_Flags :: bit_set[GAA_Flag; u32]

    GENERIC_MAPPING ¶

    GENERIC_MAPPING :: struct {
    	GenericRead:    u32,
    	GenericWrite:   u32,
    	GenericExecute: u32,
    	GenericAll:     u32,
    }
    Related Procedures With Parameters

    GETPROPERTYSTOREFLAGS ¶

    GETPROPERTYSTOREFLAGS :: enum i32 {
    	DEFAULT                 = 0, 
    	HANDLERPROPERTIESONLY   = 1, 
    	READWRITE               = 2, 
    	TEMPORARY               = 4, 
    	FASTPROPERTIESONLY      = 8, 
    	OPENSLOWITEM            = 16, 
    	DELAYCREATION           = 32, 
    	BESTEFFORT              = 64, 
    	NO_OPLOCK               = 128, 
    	PREFERQUERYPROPERTIES   = 256, 
    	EXTRINSICPROPERTIES     = 512, 
    	EXTRINSICPROPERTIESONLY = 1024, 
    	VOLATILEPROPERTIES      = 2048, 
    	VOLATILEPROPERTIESONLY  = 4096, 
    	MASK_VALID              = 8191, 
    }

    GET_FILEEX_INFO_LEVELS ¶

    GET_FILEEX_INFO_LEVELS :: distinct i32
    Related Procedures With Parameters
    Related Constants

    GLYPHMETRICSFLOAT ¶

    GLYPHMETRICSFLOAT :: struct {
    	gmfBlackBoxX:     f32,
    	gmfBlackBoxY:     f32,
    	gmfptGlyphOrigin: POINTFLOAT,
    	gmfCellIncX:      f32,
    	gmfCellIncY:      f32,
    }
    Related Procedures With Parameters

    GROUP ¶

    GROUP :: distinct u32
    Related Procedures With Parameters

    GUID ¶

    GUID :: struct {
    	Data1: u32,
    	Data2: u16,
    	Data3: u16,
    	Data4: [8]BYTE,
    }
    Related Procedures With Parameters
    Related Constants

    GetExtensionsStringARBType ¶

    GetExtensionsStringARBType :: proc "c" (_: HDC) -> cstring

    HANDLE ¶

    HANDLE :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns
    Related Constants

    HARDWAREINPUT ¶

    HARDWAREINPUT :: struct {
    	uMsg:    u32,
    	wParamL: u16,
    	wParamH: u16,
    }

    HBITMAP ¶

    HBITMAP :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HBLUETOOTH_DEVICE_FIND ¶

    HBLUETOOTH_DEVICE_FIND :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HBLUETOOTH_RADIO_FIND ¶

    HBLUETOOTH_RADIO_FIND :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HBRUSH ¶

    HBRUSH :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HCRYPTPROV ¶

    HCRYPTPROV :: distinct rawptr
    Related Procedures With Parameters

    HCURSOR ¶

    HCURSOR :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HDESK ¶

    HDESK :: distinct rawptr

    HFONT ¶

    HFONT :: distinct rawptr
    Related Procedures With Returns

    HGDIOBJ ¶

    HGDIOBJ :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HGLOBAL ¶

    HGLOBAL :: distinct rawptr
    Related Procedures With Parameters

    HGLRC ¶

    HGLRC :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HHOOK ¶

    HHOOK :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HICON ¶

    HICON :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HIDP_BUTTON_CAPS ¶

    HIDP_BUTTON_CAPS :: struct {
    	UsagePage:         USAGE,
    	ReportID:          BYTE,
    	IsAlias:           BOOLEAN,
    	BitField:          u16,
    	LinkCollection:    u16,
    	LinkUsage:         USAGE,
    	LinkUsagePage:     USAGE,
    	IsRange:           BOOLEAN,
    	IsStringRange:     BOOLEAN,
    	IsDesignatorRange: BOOLEAN,
    	IsAbsolute:        BOOLEAN,
    	ReportCount:       u16,
    	Reserved2:         u16,
    	Reserved:          [9]u32,
    	using _:           struct #raw_union {
    		Range:    struct {
    			UsageMin:      USAGE,
    			UsageMax:      USAGE,
    			StringMin:     u16,
    			StringMax:     u16,
    			DesignatorMin: u16,
    			DesignatorMax: u16,
    			DataIndexMin:  u16,
    			DataIndexMax:  u16,
    		},
    		NotRange: struct {
    			Usage:           USAGE,
    			Reserved1:       USAGE,
    			StringIndex:     u16,
    			Reserved2:       u16,
    			DesignatorIndex: u16,
    			Reserved3:       u16,
    			DataIndex:       u16,
    			Reserved4:       u16,
    		},
    	},
    }
    Related Procedures With Parameters

    HIDP_CAPS ¶

    HIDP_CAPS :: struct {
    	Usage:                     USAGE,
    	UsagePage:                 USAGE,
    	InputReportByteLength:     u16,
    	OutputReportByteLength:    u16,
    	FeatureReportByteLength:   u16,
    	Reserved:                  [17]u16,
    	NumberLinkCollectionNodes: u16,
    	NumberInputButtonCaps:     u16,
    	NumberInputValueCaps:      u16,
    	NumberInputDataIndices:    u16,
    	NumberOutputButtonCaps:    u16,
    	NumberOutputValueCaps:     u16,
    	NumberOutputDataIndices:   u16,
    	NumberFeatureButtonCaps:   u16,
    	NumberFeatureValueCaps:    u16,
    	NumberFeatureDataIndices:  u16,
    }
    Related Procedures With Parameters

    HIDP_REPORT_TYPE ¶

    HIDP_REPORT_TYPE :: enum i32 {
    	Input, 
    	Output, 
    	Feature, 
    }
    Related Procedures With Parameters

    HIDP_VALUE_CAPS ¶

    HIDP_VALUE_CAPS :: struct {
    	UsagePage:         USAGE,
    	ReportID:          BYTE,
    	IsAlias:           BOOLEAN,
    	BitField:          u16,
    	LinkCollection:    u16,
    	LinkUsage:         USAGE,
    	LinkUsagePage:     USAGE,
    	IsRange:           BOOLEAN,
    	IsStringRange:     BOOLEAN,
    	IsDesignatorRange: BOOLEAN,
    	IsAbsolute:        BOOLEAN,
    	HasNull:           BOOLEAN,
    	Reserved:          BYTE,
    	BitSize:           u16,
    	ReportCount:       u16,
    	Reserved2:         [5]u16,
    	UnitsExp:          u32,
    	Units:             u32,
    	LogicalMin:        i32,
    	LogicalMax:        i32,
    	PhysicalMin:       i32,
    	PhysicalMax:       i32,
    	using _:           struct #raw_union {
    		Range:    struct {
    			UsageMin:      USAGE,
    			UsageMax:      USAGE,
    			StringMin:     u16,
    			StringMax:     u16,
    			DesignatorMin: u16,
    			DesignatorMax: u16,
    			DataIndexMin:  u16,
    			DataIndexMax:  u16,
    		},
    		NotRange: struct {
    			Usage:           USAGE,
    			Reserved1:       USAGE,
    			StringIndex:     u16,
    			Reserved2:       u16,
    			DesignatorIndex: u16,
    			Reserved3:       u16,
    			DataIndex:       u16,
    			Reserved4:       u16,
    		},
    	},
    }
    Related Procedures With Parameters

    HMENU ¶

    HMENU :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HMODULE ¶

    HMODULE :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HMONITOR ¶

    HMONITOR :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HOOKPROC ¶

    HOOKPROC :: proc "stdcall" (code: i32, wParam: uintptr, lParam: int) -> int
    Related Procedures With Parameters

    HPBUFFERARB ¶

    HPBUFFERARB :: distinct rawptr
     

    WGL_ARB_pbuffer

    HRAWINPUT ¶

    HRAWINPUT :: distinct int
    Related Procedures With Parameters

    HRGN ¶

    HRGN :: distinct rawptr
    Related Procedures With Parameters
    Related Procedures With Returns

    HWAVE ¶

    HWAVE :: distinct rawptr

    HWAVEIN ¶

    HWAVEIN :: distinct rawptr

    HandlerRoutine ¶

    HandlerRoutine :: proc "stdcall" (dwCtrlType: u32) -> BOOL
    Related Procedures With Parameters

    IBindCtx ¶

    IBindCtx :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IBindCtxVtbl,
    }

    IBindCtxVtbl ¶

    IBindCtxVtbl :: struct {
    	using IUnknownVtbl:    IUnknownVtbl,
    	RegisterObjectBound:   proc "stdcall" (this: ^IBindCtx, punk: ^IUnknown) -> HRESULT,
    	RevokeObjectBound:     proc "stdcall" (this: ^IBindCtx, punk: ^IUnknown) -> HRESULT,
    	ReleaseBoundObjects:   proc "stdcall" (this: ^IBindCtx) -> HRESULT,
    	SetBindOptions:        proc "stdcall" (this: ^IBindCtx, pbindopts: ^BIND_OPTS) -> HRESULT,
    	GetBindOptions:        proc "stdcall" (this: ^IBindCtx, pbindopts: ^BIND_OPTS) -> HRESULT,
    	GetRunningObjectTable: proc "stdcall" (this: ^IBindCtx, pprot: ^^IRunningObjectTable) -> HRESULT,
    	RegisterObjectParam:   proc "stdcall" (this: ^IBindCtx, pszKey: ^u16, punk: ^IUnknown) -> HRESULT,
    	GetObjectParam:        proc "stdcall" (this: ^IBindCtx, pszKey: ^u16, ppunk: ^^IUnknown) -> HRESULT,
    	EnumObjectParam:       proc "stdcall" (this: ^IBindCtx, ppenum: ^^IEnumString) -> HRESULT,
    	RevokeObjectParam:     proc "stdcall" (this: ^IBindCtx, pszKey: ^u16) -> HRESULT,
    }

    IEnumMoniker ¶

    IEnumMoniker :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IEnumMonikerVtbl,
    }

    IEnumMonikerVtbl ¶

    IEnumMonikerVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	Next:         proc "stdcall" (this: ^IEnumMoniker, celt: u32, rgelt: ^^IMoniker, pceltFetched: ^u32) -> HRESULT,
    	Skip:         proc "stdcall" (this: ^IEnumMoniker, celt: u32) -> HRESULT,
    	Reset:        proc "stdcall" (this: ^IEnumMoniker) -> HRESULT,
    	Clone:        proc "stdcall" (this: ^IEnumMoniker, ppenum: ^^IEnumMoniker) -> HRESULT,
    }

    IEnumShellItems ¶

    IEnumShellItems :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IEnumShellItemsVtbl,
    }

    IEnumShellItemsVtbl ¶

    IEnumShellItemsVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	Next:         proc "stdcall" (this: ^IEnumShellItems, celt: u32, rgelt: ^^IShellItem, pceltFetched: ^u32) -> HRESULT,
    	Skip:         proc "stdcall" (this: ^IEnumShellItems, celt: u32) -> HRESULT,
    	Reset:        proc "stdcall" (this: ^IEnumShellItems) -> HRESULT,
    	Clone:        proc "stdcall" (this: ^IEnumShellItems, ppenum: ^^IEnumShellItems) -> HRESULT,
    }

    IEnumString ¶

    IEnumString :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IEnumStringVtbl,
    }

    IEnumStringVtbl ¶

    IEnumStringVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	Next:         proc "stdcall" (this: ^IEnumString, celt: u32, rgelt: ^^u16, pceltFetched: ^u32) -> HRESULT,
    	Skip:         proc "stdcall" (this: ^IEnumString, celt: u32) -> HRESULT,
    	Reset:        proc "stdcall" (this: ^IEnumString) -> HRESULT,
    	Clone:        proc "stdcall" (this: ^IEnumString, ppenum: ^^IEnumString) -> HRESULT,
    }

    IF_OPER_STATUS ¶

    IF_OPER_STATUS :: enum i32 {
    	Up             = 1, 
    	Down           = 2, 
    	Testing        = 3, 
    	Unknown        = 4, 
    	Dormant        = 5, 
    	NotPresent     = 6, 
    	LowerLayerDown = 7, 
    }

    IFileDialog ¶

    IFileDialog :: struct #raw_union {
    	IModalWindow: IModalWindow,
    	using Vtbl:   ^IFileDialogVtbl,
    }

    IFileDialogEvents ¶

    IFileDialogEvents :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IFileDialogEventsVtbl,
    }

    IFileDialogEventsVtbl ¶

    IFileDialogEventsVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	OnFileOk:          proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog) -> HRESULT,
    	OnFolderChanging:  proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog, psiFolder: ^IShellItem) -> HRESULT,
    	OnFolderChange:    proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog) -> HRESULT,
    	OnSelectionChange: proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog) -> HRESULT,
    	OnShareViolation:  proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog, psi: ^IShellItem, pResponse: ^FDE_SHAREVIOLATION_RESPONSE) -> HRESULT,
    	OnTypeChange:      proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog) -> HRESULT,
    	OnOverwrite:       proc "stdcall" (this: ^IFileDialogEvents, pfd: ^IFileDialog, psi: ^IShellItem, pResponse: ^FDE_SHAREVIOLATION_RESPONSE) -> HRESULT,
    }

    IFileDialogVtbl ¶

    IFileDialogVtbl :: struct {
    	using IModalWindowVtbl: IModalWindowVtbl,
    	SetFileTypes:        proc "stdcall" (this: ^IFileDialog, cFileTypes: u32, rgFilterSpec: ^COMDLG_FILTERSPEC) -> HRESULT,
    	SetFileTypeIndex:    proc "stdcall" (this: ^IFileDialog, iFileType: u32) -> HRESULT,
    	GetFileTypeIndex:    proc "stdcall" (this: ^IFileDialog, piFileType: ^u32) -> HRESULT,
    	Advise:              proc "stdcall" (this: ^IFileDialog, pfde: ^IFileDialogEvents, pdwCookie: ^u32) -> HRESULT,
    	Unadvise:            proc "stdcall" (this: ^IFileDialog, dwCookie: u32) -> HRESULT,
    	SetOptions:          proc "stdcall" (this: ^IFileDialog, fos: u32) -> HRESULT,
    	GetOptions:          proc "stdcall" (this: ^IFileDialog, pfos: ^u32) -> HRESULT,
    	SetDefaultFolder:    proc "stdcall" (this: ^IFileDialog, psi: ^IShellItem) -> HRESULT,
    	SetFolder:           proc "stdcall" (this: ^IFileDialog, psi: ^IShellItem) -> HRESULT,
    	GetFolder:           proc "stdcall" (this: ^IFileDialog, ppsi: ^^IShellItem) -> HRESULT,
    	GetCurrentSelection: proc "stdcall" (this: ^IFileDialog, ppsi: ^^IShellItem) -> HRESULT,
    	SetFileName:         proc "stdcall" (this: ^IFileDialog, pszName: [^]u16) -> HRESULT,
    	GetFileName:         proc "stdcall" (this: ^IFileDialog, pszName: ^[^]u16) -> HRESULT,
    	SetTitle:            proc "stdcall" (this: ^IFileDialog, pszTitle: [^]u16) -> HRESULT,
    	SetOkButtonLabel:    proc "stdcall" (this: ^IFileDialog, pszText: [^]u16) -> HRESULT,
    	SetFileNameLabel:    proc "stdcall" (this: ^IFileDialog, pszLabel: [^]u16) -> HRESULT,
    	GetResult:           proc "stdcall" (this: ^IFileDialog, ppsi: ^^IShellItem) -> HRESULT,
    	AddPlace:            proc "stdcall" (this: ^IFileDialog, psi: ^IShellItem, fdap: FDAP) -> HRESULT,
    	SetDefaultExtension: proc "stdcall" (this: ^IFileDialog, pszDefaultExtension: [^]u16) -> HRESULT,
    	Close:               proc "stdcall" (this: ^IFileDialog, hr: HRESULT) -> HRESULT,
    	SetClientGuid:       proc "stdcall" (this: ^IFileDialog, guid: GUID) -> HRESULT,
    	ClearClientData:     proc "stdcall" (this: ^IFileDialog) -> HRESULT,
    	SetFilter:           proc "stdcall" (this: ^IFileDialog, pFilter: ^IShellItemFilter) -> HRESULT,
    }

    IFileOpenDialog ¶

    IFileOpenDialog :: struct #raw_union {
    	IFileDialog: IFileDialog,
    	using Vtbl:  ^IFileOpenDialogVtbl,
    }

    IFileOpenDialogVtbl ¶

    IFileOpenDialogVtbl :: struct {
    	using IFileDialogVtbl: IFileDialogVtbl,
    	GetResults:       proc "stdcall" (this: ^IFileOpenDialog, ppenum: ^^IShellItemArray) -> HRESULT,
    	GetSelectedItems: proc "stdcall" (this: ^IFileOpenDialog, ppsai: ^^IShellItemArray) -> HRESULT,
    }

    IFileOperationProgressSink ¶

    IFileOperationProgressSink :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IFileOperationProgressSinkVtbl,
    }

    IFileOperationProgressSinkVtbl ¶

    IFileOperationProgressSinkVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	StartOperations:  proc "stdcall" (this: ^IFileOperationProgressSink) -> HRESULT,
    	FinishOperations: proc "stdcall" (this: ^IFileOperationProgressSink, hrResult: HRESULT) -> HRESULT,
    	PreRenameItem:    proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, pszNewName: [^]u16) -> HRESULT,
    	PostRenameItem:   proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, pszNewName: [^]u16, hrRename: HRESULT, psiNewlyCreated: ^IShellItem) -> HRESULT,
    	PreMoveItem:      proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16) -> HRESULT,
    	PostMoveItem:     proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16, hrMove: HRESULT, psiNewlyCreated: ^IShellItem) -> HRESULT,
    	PreCopyItem:      proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16) -> HRESULT,
    	PostCopyItem:     proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16, hrMove: HRESULT, psiNewlyCreated: ^IShellItem) -> HRESULT,
    	PreDeleteItem:    proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem) -> HRESULT,
    	PostDeleteItem:   proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiItem: ^IShellItem, hrDelete: HRESULT, psiNewlyCreated: ^IShellItem) -> HRESULT,
    	PreNewItem:       proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16) -> HRESULT,
    	PostNewItem:      proc "stdcall" (this: ^IFileOperationProgressSink, dwFlags: u32, psiDestinationFolder: ^IShellItem, pszNewName: [^]u16, pszTemplateName: [^]u16, dwFileAttributes: u32, hrNew: HRESULT, psiNewItem: ^IShellItem) -> HRESULT,
    	UpdateProgress:   proc "stdcall" (this: ^IFileOperationProgressSink, iWorkTotal: u32, iWorkSoFar: u32) -> HRESULT,
    	ResetTimer:       proc "stdcall" (this: ^IFileOperationProgressSink) -> HRESULT,
    	PauseTimer:       proc "stdcall" (this: ^IFileOperationProgressSink) -> HRESULT,
    	ResumeTimer:      proc "stdcall" (this: ^IFileOperationProgressSink) -> HRESULT,
    }

    IFileSaveDialog ¶

    IFileSaveDialog :: struct #raw_union {
    	IFileDialog: IFileDialog,
    	using Vtbl:  ^IFileSaveDialogVtbl,
    }

    IFileSaveDialogVtbl ¶

    IFileSaveDialogVtbl :: struct {
    	using IFileDialogVtbl:  IFileDialogVtbl,
    	SetSaveAsItem:          proc "stdcall" (this: ^IFileSaveDialog, psi: ^IShellItem) -> HRESULT,
    	SetProperties:          proc "stdcall" (this: ^IFileSaveDialog, pStore: ^IPropertyStore) -> HRESULT,
    	SetCollectedProperties: proc "stdcall" (this: ^IFileSaveDialog, pList: ^IPropertyDescriptionList, fAppendDefault: BOOL) -> HRESULT,
    	GetProperties:          proc "stdcall" (this: ^IFileSaveDialog, ppStore: ^^IPropertyStore) -> HRESULT,
    	ApplyProperties:        proc "stdcall" (this: ^IFileSaveDialog, psi: ^IShellItem, pStore: ^IPropertyStore, hwnd: HWND, pSink: ^IFileOperationProgressSink) -> HRESULT,
    }

    IID ¶

    IID :: GUID
    Related Constants

    IMAGE_DATA_DIRECTORY ¶

    IMAGE_DATA_DIRECTORY :: struct {
    	VirtualAddress: u32,
    	Size:           u32,
    }

    IMAGE_EXPORT_DIRECTORY ¶

    IMAGE_EXPORT_DIRECTORY :: struct {
    	Characteristics:       u32,
    	TimeDateStamp:         u32,
    	MajorVersion:          u16,
    	MinorVersion:          u16,
    	Name:                  u32,
    	Base:                  u32,
    	NumberOfFunctions:     u32,
    	NumberOfNames:         u32,
    	AddressOfFunctions:    u32,
    	// RVA from base of image
    	AddressOfNames:        u32,
    	// RVA from base of image
    	AddressOfNameOrdinals: u32,
    }

    IMAGE_FILE_HEADER ¶

    IMAGE_FILE_HEADER :: struct {
    	Machine:              u16,
    	NumberOfSections:     u16,
    	TimeDateStamp:        u32,
    	PointerToSymbolTable: u32,
    	NumberOfSymbols:      u32,
    	SizeOfOptionalHeader: u16,
    	Characteristics:      u16,
    }

    IMAGE_NT_HEADERS64 ¶

    IMAGE_NT_HEADERS64 :: struct {
    	Signature:      u32,
    	FileHeader:     IMAGE_FILE_HEADER,
    	OptionalHeader: IMAGE_OPTIONAL_HEADER64,
    }

    IMAGE_OPTIONAL_HEADER64 ¶

    IMAGE_OPTIONAL_HEADER64 :: struct {
    	Magic:                       u16,
    	MajorLinkerVersion:          BYTE,
    	MinorLinkerVersion:          BYTE,
    	SizeOfCode:                  u32,
    	SizeOfInitializedData:       u32,
    	SizeOfUninitializedData:     u32,
    	AddressOfEntryPoint:         u32,
    	BaseOfCode:                  u32,
    	ImageBase:                   u64,
    	SectionAlignment:            u32,
    	FileAlignment:               u32,
    	MajorOperatingSystemVersion: u16,
    	MinorOperatingSystemVersion: u16,
    	MajorImageVersion:           u16,
    	MinorImageVersion:           u16,
    	MajorSubsystemVersion:       u16,
    	MinorSubsystemVersion:       u16,
    	Win32VersionValue:           u32,
    	SizeOfImage:                 u32,
    	SizeOfHeaders:               u32,
    	CheckSum:                    u32,
    	Subsystem:                   u16,
    	DllCharacteristics:          u16,
    	SizeOfStackReserve:          u64,
    	SizeOfStackCommit:           u64,
    	SizeOfHeapReserve:           u64,
    	SizeOfHeapCommit:            u64,
    	LoaderFlags:                 u32,
    	NumberOfRvaAndSizes:         u32,
    	ExportTable:                 IMAGE_DATA_DIRECTORY,
    	ImportTable:                 IMAGE_DATA_DIRECTORY,
    	ResourceTable:               IMAGE_DATA_DIRECTORY,
    	ExceptionTable:              IMAGE_DATA_DIRECTORY,
    	CertificateTable:            IMAGE_DATA_DIRECTORY,
    	BaseRelocationTable:         IMAGE_DATA_DIRECTORY,
    	Debug:                       IMAGE_DATA_DIRECTORY,
    	Architecture:                IMAGE_DATA_DIRECTORY,
    	GlobalPtr:                   IMAGE_DATA_DIRECTORY,
    	TLSTable:                    IMAGE_DATA_DIRECTORY,
    	LoadConfigTable:             IMAGE_DATA_DIRECTORY,
    	BoundImport:                 IMAGE_DATA_DIRECTORY,
    	IAT:                         IMAGE_DATA_DIRECTORY,
    	DelayImportDescriptor:       IMAGE_DATA_DIRECTORY,
    	CLRRuntimeHeader:            IMAGE_DATA_DIRECTORY,
    	Reserved:                    IMAGE_DATA_DIRECTORY,
    }

    IModalWindow ¶

    IModalWindow :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IModalWindowVtbl,
    }

    IModalWindowVtbl ¶

    IModalWindowVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	Show:         proc "stdcall" (this: ^IModalWindow, hwndOwner: HWND) -> HRESULT,
    }

    IMoniker ¶

    IMoniker :: struct #raw_union {
    	IPersistStream: IPersistStream,
    	using Vtbl:     ^IMonikerVtbl,
    }

    IMonikerVtbl ¶

    IMonikerVtbl :: struct {
    	using IPersistStreamVtbl: IPersistStreamVtbl,
    	BindToObject:        proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, riidResult: ^GUID, ppvResult: ^rawptr) -> HRESULT,
    	BindToStorage:       proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, riid: ^GUID, ppvObj: ^rawptr) -> HRESULT,
    	Reduce:              proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, dwReduceHowFar: u32, ppmkToLeft: ^^IMoniker, ppmkReduced: ^^IMoniker) -> HRESULT,
    	ComposeWith:         proc "stdcall" (this: ^IMoniker, pmkRight: ^IMoniker, fOnlyIfNotGeneric: BOOL, ppmkComposite: ^^IMoniker) -> HRESULT,
    	Enum:                proc "stdcall" (this: ^IMoniker, fForward: BOOL, ppenumMoniker: ^^IEnumMoniker) -> HRESULT,
    	IsEqual:             proc "stdcall" (this: ^IMoniker, pmkOtherMoniker: ^IMoniker) -> HRESULT,
    	Hash:                proc "stdcall" (this: ^IMoniker, pdwHash: ^u32) -> HRESULT,
    	IsRunning:           proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, pmkNewlyRunning: ^IMoniker) -> HRESULT,
    	GetTimeOfLastChange: proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, pFileTime: ^FILETIME) -> HRESULT,
    	Inverse:             proc "stdcall" (this: ^IMoniker, ppmk: ^^IMoniker) -> HRESULT,
    	CommonPrefixWith:    proc "stdcall" (this: ^IMoniker, pmkOther: ^IMoniker, ppmkPrefix: ^^IMoniker) -> HRESULT,
    	RelativePathTo:      proc "stdcall" (this: ^IMoniker, pmkOther: ^IMoniker, ppmkRelPath: ^^IMoniker) -> HRESULT,
    	GetDisplayName:      proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, ppszDisplayName: ^^u16) -> HRESULT,
    	ParseDisplayName:    proc "stdcall" (this: ^IMoniker, pbc: ^IBindCtx, pmkToLeft: ^IMoniker, pszDisplayName: ^u16, pchEaten: ^u32, ppmkOut: ^^IMoniker) -> HRESULT,
    	IsSystemMoniker:     proc "stdcall" (this: ^IMoniker, pdwMksys: ^u32) -> HRESULT,
    }

    INPUT ¶

    INPUT :: struct {
    	type: INPUT_TYPE,
    	using _: struct #raw_union {
    		mi: MOUSEINPUT,
    		ki: KEYBDINPUT,
    		hi: HARDWAREINPUT,
    	},
    }

    INPUT_TYPE ¶

    INPUT_TYPE :: enum u32 {
    	MOUSE    = 0, 
    	KEYBOARD = 1, 
    	HARDWARE = 2, 
    }

    INT16 ¶

    INT16 :: i16

    INT32 ¶

    INT32 :: i32

    INT64 ¶

    INT64 :: i64

    INT8 ¶

    INT8 :: i8

    IP_ADAPTER_ANYCAST_ADDRESS_XP ¶

    IP_ADAPTER_ANYCAST_ADDRESS_XP :: struct {
    	Anonymous: struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length: u32,
    			Flags:  u32,
    		},
    	},
    	Next:      ^IP_ADAPTER_ANYCAST_ADDRESS_XP,
    	Address:   SOCKET_ADDRESS,
    }

    IP_ADAPTER_DNS_SERVER_ADDRESS_XP ¶

    IP_ADAPTER_DNS_SERVER_ADDRESS_XP :: struct {
    	Anonymous: struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length:   u32,
    			Reserved: u32,
    		},
    	},
    	Next:      ^IP_ADAPTER_DNS_SERVER_ADDRESS_XP,
    	Address:   SOCKET_ADDRESS,
    }

    IP_ADAPTER_GATEWAY_ADDRESS_LH ¶

    IP_ADAPTER_GATEWAY_ADDRESS_LH :: struct {
    	Anonymous: struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length:   u32,
    			Reserved: u32,
    		},
    	},
    	Next:      ^IP_ADAPTER_GATEWAY_ADDRESS_LH,
    	Address:   SOCKET_ADDRESS,
    }

    IP_ADAPTER_MULTICAST_ADDRESS_XP ¶

    IP_ADAPTER_MULTICAST_ADDRESS_XP :: struct {
    	Anonymous: struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length: u32,
    			Flags:  u32,
    		},
    	},
    	Next:      ^IP_ADAPTER_MULTICAST_ADDRESS_XP,
    	Address:   SOCKET_ADDRESS,
    }

    IP_ADAPTER_UNICAST_ADDRESS_LH ¶

    IP_ADAPTER_UNICAST_ADDRESS_LH :: struct {
    	Anonymous:          struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length: u32,
    			Flags:  u32,
    		},
    	},
    	Next:               ^IP_ADAPTER_UNICAST_ADDRESS_LH,
    	Address:            SOCKET_ADDRESS,
    	PrefixOrigin:       NL_PREFIX_ORIGIN,
    	SuffixOrigin:       NL_SUFFIX_ORIGIN,
    	DadState:           NL_DAD_STATE,
    	ValidLifetime:      u32,
    	PreferredLifetime:  u32,
    	LeaseLifetime:      u32,
    	OnLinkPrefixLength: u8,
    }

    IP_Adapter_Addresses ¶

    IP_Adapter_Addresses :: struct {
    	Raw:                    struct #raw_union {
    		Alignment: u64,
    		Anonymous: struct {
    			Length:  u32,
    			IfIndex: u32,
    		},
    	},
    	Next:                   ^IP_Adapter_Addresses,
    	AdapterName:            cstring,
    	FirstUnicastAddress:    ^IP_ADAPTER_UNICAST_ADDRESS_LH,
    	FirstAnycastAddress:    ^IP_ADAPTER_ANYCAST_ADDRESS_XP,
    	FirstMulticastAddress:  ^IP_ADAPTER_MULTICAST_ADDRESS_XP,
    	FirstDnsServerAddress:  ^IP_ADAPTER_DNS_SERVER_ADDRESS_XP,
    	DnsSuffix:              ^u16,
    	Description:            ^u16,
    	FriendlyName:           ^u16,
    	PhysicalAddress:        [8]u8,
    	PhysicalAddressLength:  u32,
    	Anonymous2:             struct #raw_union {
    		Flags:     u32,
    		Anonymous: struct {
    			_bitfield: u32,
    		},
    	},
    	MTU:                    u32,
    	IfType:                 u32,
    	OperStatus:             IF_OPER_STATUS,
    	Ipv6IfIndex:            u32,
    	ZoneIndices:            [16]u32,
    	FirstPrefix:            rawptr,
    	// ^IP_ADAPTER_PREFIX_XP,
    	TransmitLinkSpeed:      u64,
    	ReceiveLinkSpeed:       u64,
    	FirstWinsServerAddress: rawptr,
    	// ^IP_ADAPTER_WINS_SERVER_ADDRESS_LH,
    	FirstGatewayAddress:    ^IP_ADAPTER_GATEWAY_ADDRESS_LH,
    	Ipv4Metric:             u32,
    	Ipv6Metric:             u32,
    	Luid:                   NET_LUID_LH,
    	Dhcpv4Server:           SOCKET_ADDRESS,
    	CompartmentId:          u32,
    	NetworkGuid:            GUID,
    	ConnectionType:         NET_IF_CONNECTION_TYPE,
    	TunnelType:             TUNNEL_TYPE,
    	Dhcpv6Server:           SOCKET_ADDRESS,
    	Dhcpv6ClientDuid:       [130]u8,
    	Dhcpv6ClientDuidLength: u32,
    	Dhcpv6Iaid:             u32,
    	FirstDnsSuffix:         rawptr,
    }

    IPersist ¶

    IPersist :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IPersistVtbl,
    }

    IPersistStream ¶

    IPersistStream :: struct #raw_union {
    	IPersist: IPersist,
    	using Vtbl: ^IPersistStreamVtbl,
    }

    IPersistStreamVtbl ¶

    IPersistStreamVtbl :: struct {
    	using IPersistVtbl: IPersistVtbl,
    	IsDirty:      proc "stdcall" (this: ^IPersistStream) -> HRESULT,
    	Load:         proc "stdcall" (this: ^IPersistStream, pStm: ^IStream) -> HRESULT,
    	Save:         proc "stdcall" (this: ^IPersistStream, pStm: ^IStream, fClearDirty: BOOL) -> HRESULT,
    	GetSizeMax:   proc "stdcall" (this: ^IPersistStream, pcbSize: ^ULARGE_INTEGER) -> HRESULT,
    }

    IPersistVtbl ¶

    IPersistVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	GetClassID:   proc "stdcall" (this: ^IPersist, pClassID: ^GUID) -> HRESULT,
    }

    IPropertyDescriptionList ¶

    IPropertyDescriptionList :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IPropertyDescriptionListVtbl,
    }

    IPropertyDescriptionListVtbl ¶

    IPropertyDescriptionListVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	GetCount:     proc "stdcall" (this: ^IPropertyDescriptionList, pcElem: ^u32) -> HRESULT,
    	GetAt:        proc "stdcall" (this: ^IPropertyDescriptionList, iElem: u32, riid: ^GUID, ppv: ^rawptr) -> HRESULT,
    }

    IPropertyStore ¶

    IPropertyStore :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IPropertyStoreVtbl,
    }

    IPropertyStoreVtbl ¶

    IPropertyStoreVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	GetCount:     proc "stdcall" (this: ^IPropertyStore, cProps: ^u32) -> HRESULT,
    	GetAt:        proc "stdcall" (this: ^IPropertyStore, iProp: u32, pkey: ^PROPERTYKEY) -> HRESULT,
    	GetValue:     proc "stdcall" (this: ^IPropertyStore, key: ^PROPERTYKEY, pv: ^PROPVARIANT) -> HRESULT,
    	SetValue:     proc "stdcall" (this: ^IPropertyStore, key: ^PROPERTYKEY, propvar: ^PROPVARIANT) -> HRESULT,
    	Commit:       proc "stdcall" (this: ^IPropertyStore) -> HRESULT,
    }

    IRunningObjectTable ¶

    IRunningObjectTable :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IRunningObjectTableVtbl,
    }

    IRunningObjectTableVtbl ¶

    IRunningObjectTableVtbl :: struct {
    	using IUnknownVtbl:  IUnknownVtbl,
    	Register:            proc "stdcall" (this: ^IRunningObjectTable, grfFlags: u32, punkObject: ^IUnknown, pmkObjectName: ^IMoniker, pdwRegister: ^u32) -> HRESULT,
    	Revoke:              proc "stdcall" (this: ^IRunningObjectTable, dwRegister: u32) -> HRESULT,
    	IsRunning:           proc "stdcall" (this: ^IRunningObjectTable, pmkObjectName: ^IMoniker) -> HRESULT,
    	GetObject:           proc "stdcall" (this: ^IRunningObjectTable, pmkObjectName: ^IMoniker, ppunkObject: ^^IUnknown) -> HRESULT,
    	NoteChangeTime:      proc "stdcall" (this: ^IRunningObjectTable, dwRegister: u32, pfiletime: ^FILETIME) -> HRESULT,
    	GetTimeOfLastChange: proc "stdcall" (this: ^IRunningObjectTable, pmkObjectName: ^IMoniker, pfiletime: ^FILETIME) -> HRESULT,
    	EnumRunning:         proc "stdcall" (this: ^IRunningObjectTable, ppenumMoniker: ^^IEnumMoniker) -> HRESULT,
    }

    ISequentialStream ¶

    ISequentialStream :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^ISequentialStreamVtbl,
    }

    ISequentialStreamVtbl ¶

    ISequentialStreamVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	Read:         proc "stdcall" (this: ^ISequentialStream, pv: rawptr, cb: u32, pcbRead: ^u32) -> HRESULT,
    	Write:        proc "stdcall" (this: ^ISequentialStream, pv: rawptr, cb: u32, pcbWritten: ^u32) -> HRESULT,
    }

    IShellItem ¶

    IShellItem :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IShellItemVtbl,
    }

    IShellItemArray ¶

    IShellItemArray :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IShellItemArrayVtbl,
    }

    IShellItemArrayVtbl ¶

    IShellItemArrayVtbl :: struct {
    	using IUnknownVtbl:         IUnknownVtbl,
    	BindToHandler:              proc "stdcall" (this: ^IShellItemArray, pbc: ^IBindCtx, bhid: GUID, riid: ^GUID, ppvOut: ^rawptr) -> HRESULT,
    	GetPropertyStore:           proc "stdcall" (this: ^IShellItemArray, flags: GETPROPERTYSTOREFLAGS, riid: ^GUID, ppv: ^rawptr) -> HRESULT,
    	GetPropertyDescriptionList: proc "stdcall" (this: ^IShellItemArray, keyType: ^PROPERTYKEY, riid: ^GUID, ppv: ^rawptr) -> HRESULT,
    	GetAttributes:              proc "stdcall" (this: ^IShellItemArray, AttribFlags: SIATTRIBFLAGS, sfgaoMask: u32, psfgaoAttribs: ^u32) -> HRESULT,
    	GetCount:                   proc "stdcall" (this: ^IShellItemArray, pdwNumItems: ^u32) -> HRESULT,
    	GetItemAt:                  proc "stdcall" (this: ^IShellItemArray, dwIndex: u32, ppsi: ^^IShellItem) -> HRESULT,
    	EnumItems:                  proc "stdcall" (this: ^IShellItemArray, ppenumShellItems: ^^IEnumShellItems) -> HRESULT,
    }

    IShellItemFilter ¶

    IShellItemFilter :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^IShellItemFilterVtbl,
    }

    IShellItemFilterVtbl ¶

    IShellItemFilterVtbl :: struct {
    	using IUnknownVtbl:  IUnknownVtbl,
    	IncludeItem:         proc "stdcall" (this: ^IShellItemFilter, psi: ^IShellItem) -> HRESULT,
    	GetEnumFlagsForItem: proc "stdcall" (this: ^IShellItemFilter, psi: ^IShellItem, pgrfFlags: ^u32) -> HRESULT,
    }

    IShellItemVtbl ¶

    IShellItemVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	BindToHandler:  proc "stdcall" (this: ^IShellItem, pbc: ^IBindCtx, bhid: GUID, riid: ^GUID, ppv: ^rawptr) -> HRESULT,
    	GetParent:      proc "stdcall" (this: ^IShellItem, ppsiFolder: ^^IShellItem) -> HRESULT,
    	GetDisplayName: proc "stdcall" (this: ^IShellItem, sigdnName: SIGDN, ppszName: ^^u16) -> HRESULT,
    	GetAttributes:  proc "stdcall" (this: ^IShellItem, sfgaoMask: u32, psfgaoAttribs: ^u32) -> HRESULT,
    	Compare:        proc "stdcall" (this: ^IShellItem, psi: ^IShellItem, hint: u32, piOrder: ^i32) -> HRESULT,
    }

    IStream ¶

    IStream :: struct #raw_union {
    	ISequentialStream: ISequentialStream,
    	using Vtbl:        ^IStreamVtbl,
    }

    IStreamVtbl ¶

    IStreamVtbl :: struct {
    	using ISequentialStreamVtbl: ISequentialStreamVtbl,
    	Seek:                  proc "stdcall" (this: ^IStream, dlibMove: LARGE_INTEGER, dwOrigin: u32, plibNewPosition: ^ULARGE_INTEGER) -> HRESULT,
    	SetSize:               proc "stdcall" (this: ^IStream, libNewSize: ULARGE_INTEGER) -> HRESULT,
    	CopyTo:                proc "stdcall" (this: ^IStream, pstm: ^IStream, cb: ULARGE_INTEGER, pcbRead: ^ULARGE_INTEGER, pcbWritten: ^ULARGE_INTEGER) -> HRESULT,
    	Commit:                proc "stdcall" (this: ^IStream, grfCommitFlags: u32) -> HRESULT,
    	Revert:                proc "stdcall" (this: ^IStream) -> HRESULT,
    	LockRegion:            proc "stdcall" (this: ^IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: u32) -> HRESULT,
    	UnlockRegion:          proc "stdcall" (this: ^IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: u32) -> HRESULT,
    	Stat:                  proc "stdcall" (this: ^IStream, pstatstg: ^STATSTG, grfStatFlag: u32) -> HRESULT,
    	Clone:                 proc "stdcall" (this: ^IStream, ppstm: ^^IStream) -> HRESULT,
    }

    ITaskbarList ¶

    ITaskbarList :: struct #raw_union {
    	IUnknown: IUnknown,
    	using Vtbl: ^ITaskbarListVtbl,
    }

    ITaskbarList2 ¶

    ITaskbarList2 :: struct #raw_union {
    	ITaskbarList: ITaskbarList,
    	using Vtbl:   ^ITaskbarList2Vtbl,
    }

    ITaskbarList2Vtbl ¶

    ITaskbarList2Vtbl :: struct {
    	using ITaskbarListVtbl: ITaskbarListVtbl,
    	MarkFullscreenWindow: proc "stdcall" (this: ^ITaskbarList2, hwnd: HWND, fFullscreen: BOOL) -> HRESULT,
    }

    ITaskbarList3 ¶

    ITaskbarList3 :: struct #raw_union {
    	ITaskbarList2: ITaskbarList2,
    	using Vtbl:    ^ITaskbarList3Vtbl,
    }

    ITaskbarList3Vtbl ¶

    ITaskbarList3Vtbl :: struct {
    	using ITaskbarList2Vtbl: ITaskbarList2Vtbl,
    	SetProgressValue:      proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, ullCompleted: u64, ullTotal: u64) -> HRESULT,
    	SetProgressState:      proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, tbpFlags: TBPFLAG) -> HRESULT,
    	RegisterTab:           proc "stdcall" (this: ^ITaskbarList3, hwndTab: HWND, hwndMDI: HWND) -> HRESULT,
    	UnregisterTab:         proc "stdcall" (this: ^ITaskbarList3, hwndTab: HWND) -> HRESULT,
    	SetTabOrder:           proc "stdcall" (this: ^ITaskbarList3, hwndTab: HWND, hwndInsertBefore: HWND) -> HRESULT,
    	SetTabActive:          proc "stdcall" (this: ^ITaskbarList3, hwndTab: HWND, hwndMDI: HWND, dwReserved: u32) -> HRESULT,
    	ThumbBarAddButtons:    proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, cButtons: u32, pButton: ^THUMBBUTTON) -> HRESULT,
    	ThumbBarUpdateButtons: proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, cButtons: u32, pButton: ^THUMBBUTTON) -> HRESULT,
    	ThumbBarSetImageList:  proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, himl: ^IUnknown) -> HRESULT,
    	SetOverlayIcon:        proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, hIcon: HICON, pszDescription: [^]u16) -> HRESULT,
    	SetThumbnailTooltip:   proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, pszTip: [^]u16) -> HRESULT,
    	SetThumbnailClip:      proc "stdcall" (this: ^ITaskbarList3, hwnd: HWND, prcClip: ^RECT) -> HRESULT,
    }

    ITaskbarListVtbl ¶

    ITaskbarListVtbl :: struct {
    	using IUnknownVtbl: IUnknownVtbl,
    	HrInit:       proc "stdcall" (this: ^ITaskbarList) -> HRESULT,
    	AddTab:       proc "stdcall" (this: ^ITaskbarList, hwnd: HWND) -> HRESULT,
    	DeleteTab:    proc "stdcall" (this: ^ITaskbarList, hwnd: HWND) -> HRESULT,
    	ActivateTab:  proc "stdcall" (this: ^ITaskbarList, hwnd: HWND) -> HRESULT,
    	SetActiveAlt: proc "stdcall" (this: ^ITaskbarList, hwnd: HWND) -> HRESULT,
    }

    IUnknown ¶

    IUnknown :: struct {
    	using Vtbl: ^IUnknownVtbl,
    }
    Related Procedures With Parameters

    IUnknownVtbl ¶

    IUnknownVtbl :: struct {
    	QueryInterface: proc "stdcall" (This: ^IUnknown, riid: ^GUID, ppvObject: ^rawptr) -> HRESULT,
    	AddRef:         proc "stdcall" (This: ^IUnknown) -> u32,
    	Release:        proc "stdcall" (This: ^IUnknown) -> u32,
    }

    KBDLLHOOKSTRUCT ¶

    KBDLLHOOKSTRUCT :: struct {
    	vkCode:      u32,
    	scanCode:    u32,
    	flags:       u32,
    	time:        u32,
    	dwExtraInfo: uint,
    }

    KEYBDINPUT ¶

    KEYBDINPUT :: struct {
    	wVk:         u16,
    	wScan:       u16,
    	dwFlags:     u32,
    	time:        u32,
    	dwExtraInfo: uint,
    }

    KNOWNFOLDERID ¶

    KNOWNFOLDERID :: GUID
    Related Constants

    KNOWN_FOLDER_FLAG ¶

    KNOWN_FOLDER_FLAG :: enum u32 {
    	DEFAULT                          = 0, 
    	// if NTDDI_VERSION >= NTDDI_WIN10_RS3
    	FORCE_APP_DATA_REDIRECTION       = 524288, 
    	// if NTDDI_VERSION >= NTDDI_WIN10_RS2
    	RETURN_FILTER_REDIRECTION_TARGET = 262144, 
    	FORCE_PACKAGE_REDIRECTION        = 131072, 
    	NO_PACKAGE_REDIRECTION           = 65536, 
    	FORCE_APPCONTAINER_REDIRECTION   = 131072, 
    	// if NTDDI_VERSION >= NTDDI_WIN7
    	NO_APPCONTAINER_REDIRECTION      = 65536, 
    	CREATE                           = 32768, 
    	DONT_VERIFY                      = 16384, 
    	DONT_UNEXPAND                    = 8192, 
    	NO_ALIAS                         = 4096, 
    	INIT                             = 2048, 
    	DEFAULT_PATH                     = 1024, 
    	NOT_PARENT_RELATIVE              = 512, 
    	SIMPLE_IDLIST                    = 256, 
    	ALIAS_ONLY                       = 2147483648, 
    }

    LAYERPLANEDESCRIPTOR ¶

    LAYERPLANEDESCRIPTOR :: struct {
    	nSize:           u16,
    	nVersion:        u16,
    	dwFlags:         u32,
    	iPixelType:      BYTE,
    	cColorBits:      BYTE,
    	cRedBits:        BYTE,
    	cRedShift:       BYTE,
    	cGreenBits:      BYTE,
    	cGreenShift:     BYTE,
    	cBlueBits:       BYTE,
    	cBlueShift:      BYTE,
    	cAlphaBits:      BYTE,
    	cAlphaShift:     BYTE,
    	cAccumBits:      BYTE,
    	cAccumRedBits:   BYTE,
    	cAccumGreenBits: BYTE,
    	cAccumBlueBits:  BYTE,
    	cAccumAlphaBits: BYTE,
    	cDepthBits:      BYTE,
    	cStencilBits:    BYTE,
    	cAuxBuffers:     BYTE,
    	iLayerPlane:     BYTE,
    	bReserved:       BYTE,
    	crTransparent:   u32,
    }
    Related Procedures With Parameters

    LINGER ¶

    LINGER :: struct {
    	l_onoff:  u16,
    	l_linger: u16,
    }
     

    Used with the SO_LINGER socket option to setsockopt().

    LITEM ¶

    LITEM :: struct {
    	mask:      u32,
    	iLink:     i32,
    	state:     u32,
    	stateMask: u32,
    	szID:      [48]u16,
    	szUrl:     [2083]u16,
    }

    LOCALGROUP_MEMBERS_INFO_0 ¶

    LOCALGROUP_MEMBERS_INFO_0 :: struct #packed {
    	sid: ^SID,
    }
    Related Procedures With Parameters

    LOGICAL_PROCESSOR_RELATIONSHIP ¶

    LOGICAL_PROCESSOR_RELATIONSHIP :: enum i32 {
    	RelationProcessorCore, 
    	RelationNumaNode, 
    	RelationCache, 
    	RelationProcessorPackage, 
    	RelationGroup, 
    	RelationProcessorDie, 
    	RelationNumaNodeEx, 
    	RelationProcessorModule, 
    	RelationAll              = 65535, 
    }

    LONG32 ¶

    LONG32 :: i32

    LONG64 ¶

    LONG64 :: i64

    LONG_PTR ¶

    LONG_PTR :: int

    LPARAM ¶

    LPARAM :: int

    LPBOOL ¶

    LPBOOL :: ^BOOL

    LPBYTE ¶

    LPBYTE :: ^BYTE

    LPCGUID ¶

    LPCGUID :: ^GUID

    LPCOLORREF ¶

    LPCOLORREF :: ^u32

    LPCTSTR ¶

    LPCTSTR :: [^]u16

    LPCWSTR ¶

    LPCWSTR :: [^]u16

    LPDWORD ¶

    LPDWORD :: ^u32

    LPFIBER_START_ROUTINE ¶

    LPFIBER_START_ROUTINE :: proc "stdcall" (lpFiberParameter: rawptr)
    Related Procedures With Parameters

    LPFN_ACCEPTEX ¶

    LPFN_ACCEPTEX :: proc "stdcall" (sListenSocket: SOCKET, sAcceptSocket: SOCKET, lpOutputBuffer: rawptr, dwReceiveDataLength: u32, dwLocalAddressLength: u32, dwRemoteAddressLength: u32, lpdwBytesReceived: ^u32, lpOverlapped: ^OVERLAPPED) -> BOOL

    LPFN_CONNECTEX ¶

    LPFN_CONNECTEX :: proc "stdcall" (s: SOCKET, sockaddr: ^SOCKADDR_STORAGE_LH, namelen: i32, lpSendBuffer: rawptr, dwSendDataLength: u32, lpdwBytesSent: ^u32, lpOverlapped: ^OVERLAPPED) -> BOOL

    LPGUID ¶

    LPGUID :: ^GUID

    LPHANDLE ¶

    LPHANDLE :: ^HANDLE

    LPINT ¶

    LPINT :: ^i32

    LPLOOKUPSERVICE_COMPLETION_ROUTINE ¶

    LPLOOKUPSERVICE_COMPLETION_ROUTINE :: proc "stdcall" (dwErrorCode: u32, dwNumberOfBytesTransfered: u32, lpOverlapped: ^OVERLAPPED)
    Related Procedures With Parameters

    LPMMTIME ¶

    LPMMTIME :: ^MMTIME

    LPMSG ¶

    LPMSG :: ^MSG

    LPOFNHOOKPROC ¶

    LPOFNHOOKPROC :: proc "stdcall" (hdlg: HWND, msg: u32, wparam: uintptr, lparam: int) -> uintptr

    LPOLESTR ¶

    LPOLESTR :: ^u16

    LPOVERLAPPED_COMPLETION_ROUTINE ¶

    LPOVERLAPPED_COMPLETION_ROUTINE :: proc "stdcall" (dwErrorCode: u32, dwNumberOfBytesTransfered: u32, lpOverlapped: ^OVERLAPPED)
    Related Procedures With Parameters

    LPPOINT ¶

    LPPOINT :: ^POINT

    LPPROGRESS_ROUTINE ¶

    LPPROGRESS_ROUTINE :: proc "stdcall" (TotalFileSize: LARGE_INTEGER, TotalBytesTransferred: LARGE_INTEGER, StreamSize: LARGE_INTEGER, StreamBytesTransferred: LARGE_INTEGER, dwStreamNumber: u32, dwCallbackReason: u32, hSourceFile: HANDLE, hDestinationFile: HANDLE, lpData: rawptr) -> u32
    Related Procedures With Parameters

    LPRECT ¶

    LPRECT :: ^RECT

    LPSIZE ¶

    LPSIZE :: ^SIZE

    LPSTR ¶

    LPSTR :: ^u8

    LPUINT ¶

    LPUINT :: ^u32

    LPULONG_PTR ¶

    LPULONG_PTR :: ^uint

    LPWCH ¶

    LPWCH :: ^u16

    LPWORD ¶

    LPWORD :: ^u16

    LPWSABUF ¶

    LPWSABUF :: ^WSABUF

    LPWSAOVERLAPPED ¶

    LPWSAOVERLAPPED :: distinct rawptr
    Related Procedures With Parameters

    LPWSAOVERLAPPED_COMPLETION_ROUTINE ¶

    LPWSAOVERLAPPED_COMPLETION_ROUTINE :: distinct rawptr
    Related Procedures With Parameters

    LPWSTR ¶

    LPWSTR :: ^u16

    LRESULT ¶

    LRESULT :: int

    LSTATUS ¶

    LSTATUS :: i32

    LUID ¶

    LUID :: struct {
    	LowPart:  u32,
    	HighPart: i32,
    }

    LUID_AND_ATTRIBUTES ¶

    LUID_AND_ATTRIBUTES :: struct {
    	Luid:       LUID,
    	Attributes: u32,
    }

    LWSTDAPI ¶

    LWSTDAPI :: HRESULT
    Related Constants

    Logon32_Provider ¶

    Logon32_Provider :: enum u32 {
    	DEFAULT = 0, 
    	WINNT35 = 1, 
    	WINNT40 = 2, 
    	WINNT50 = 3, 
    	VIRTUAL = 4, 
    }
    Related Procedures With Parameters

    Logon32_Type ¶

    Logon32_Type :: enum u32 {
    	INTERACTIVE       = 2, 
    	NETWORK           = 3, 
    	BATCH             = 4, 
    	SERVICE           = 5, 
    	UNLOCK            = 7, 
    	NETWORK_CLEARTEXT = 8, 
    	NEW_CREDENTIALS   = 9, 
    }
    Related Procedures With Parameters

    MARGINS ¶

    MARGINS :: distinct [4]int
    Related Procedures With Parameters

    MEMORYSTATUSEX ¶

    MEMORYSTATUSEX :: struct {
    	dwLength:                u32,
    	dwMemoryLoad:            u32,
    	ullTotalPhys:            u64,
    	ullAvailPhys:            u64,
    	ullTotalPageFil:         u64,
    	ullAvailPageFil:         u64,
    	ullTotalVirtual:         u64,
    	ullAvailVirtual:         u64,
    	ullAvailExtendedVirtual: u64,
    }
    Related Procedures With Parameters

    MEMORY_BASIC_INFORMATION ¶

    MEMORY_BASIC_INFORMATION :: struct {
    	BaseAddress:       rawptr,
    	AllocationBase:    rawptr,
    	AllocationProtect: u32,
    	PartitionId:       u16,
    	RegionSize:        uint,
    	State:             u32,
    	Protect:           u32,
    	Type:              u32,
    }
    Related Procedures With Parameters

    MEMORY_RESOURCE_NOTIFICATION_TYPE ¶

    MEMORY_RESOURCE_NOTIFICATION_TYPE :: enum i32 {
    	LowMemoryResourceNotification, 
    	HighMemoryResourceNotification, 
    }
    Related Procedures With Parameters
    Related Constants

    MINIDUMP_CALLBACK_INFORMATION ¶

    MINIDUMP_CALLBACK_INFORMATION :: struct {
    	CallbackRoutine: MINIDUMP_CALLBACK_ROUTINE,
    	CallbackParam:   rawptr,
    }
    Related Procedures With Parameters

    MINIDUMP_CALLBACK_INPUT ¶

    MINIDUMP_CALLBACK_INPUT :: struct {
    	ProcessId:     u32,
    	ProcessHandle: HANDLE,
    	CallbackType:  u32,
    	using _:       struct #raw_union {
    		Status:            HRESULT,
    		Thread:            MINIDUMP_THREAD_CALLBACK,
    		ThreadEx:          MINIDUMP_THREAD_EX_CALLBACK,
    		Module:            MINIDUMP_MODULE_CALLBACK,
    		IncludeThread:     MINIDUMP_INCLUDE_THREAD_CALLBACK,
    		IncludeModule:     MINIDUMP_INCLUDE_MODULE_CALLBACK,
    		Io:                MINIDUMP_IO_CALLBACK,
    		ReadMemoryFailure: MINIDUMP_READ_MEMORY_FAILURE_CALLBACK,
    		SecondaryFlags:    u32,
    		VmQuery:           MINIDUMP_VM_QUERY_CALLBACK,
    		VmPreRead:         MINIDUMP_VM_PRE_READ_CALLBACK,
    		VmPostRead:        MINIDUMP_VM_POST_READ_CALLBACK,
    	},
    }

    MINIDUMP_CALLBACK_OUTPUT ¶

    MINIDUMP_CALLBACK_OUTPUT :: struct {
    	using _: struct #raw_union {
    		ModuleWriteFlags: u32,
    		ThreadWriteFlags: u32,
    		SecondaryFlags:   u32,
    		using _:          struct {
    			MemoryBase: u64,
    			MemorySize: u32,
    		},
    		using _:          struct {
    			CheckCancel: BOOL,
    			Cancel:      BOOL,
    		},
    		Handle:           HANDLE,
    		using _:          struct {
    			VmRegion: MINIDUMP_MEMORY_INFO,
    			Continue: BOOL,
    		},
    		using _:          struct {
    			VmQueryStatus: HRESULT,
    			VmQueryResult: MINIDUMP_MEMORY_INFO,
    		},
    		using _:          struct {
    			VmReadStatus:         HRESULT,
    			VmReadBytesCompleted: u32,
    		},
    		Status:           HRESULT,
    	},
    }

    MINIDUMP_CALLBACK_ROUTINE ¶

    MINIDUMP_CALLBACK_ROUTINE :: proc "stdcall" (CallbackParam: rawptr, CallbackInput: ^MINIDUMP_CALLBACK_INPUT, CallbackOutpu: ^MINIDUMP_CALLBACK_OUTPUT) -> BOOL

    MINIDUMP_DIRECTORY ¶

    MINIDUMP_DIRECTORY :: struct {
    	StreamType: u32,
    	Location:   MINIDUMP_LOCATION_DESCRIPTOR,
    }

    MINIDUMP_EXCEPTION_INFORMATION ¶

    MINIDUMP_EXCEPTION_INFORMATION :: struct {
    	ThreadId:          u32,
    	ExceptionPointers: ^EXCEPTION_POINTERS,
    	ClientPointers:    BOOL,
    }
    Related Procedures With Parameters

    MINIDUMP_INCLUDE_MODULE_CALLBACK ¶

    MINIDUMP_INCLUDE_MODULE_CALLBACK :: struct {
    	BaseOfImage: u64,
    }

    MINIDUMP_INCLUDE_THREAD_CALLBACK ¶

    MINIDUMP_INCLUDE_THREAD_CALLBACK :: struct {
    	ThreadId: u32,
    }

    MINIDUMP_IO_CALLBACK ¶

    MINIDUMP_IO_CALLBACK :: struct {
    	Handle:      HANDLE,
    	Offset:      u64,
    	Buffer:      rawptr,
    	BufferBytes: u32,
    }

    MINIDUMP_LOCATION_DESCRIPTOR ¶

    MINIDUMP_LOCATION_DESCRIPTOR :: struct {
    	DataSize: u32,
    	Rva:      u32,
    }

    MINIDUMP_MEMORY_INFO ¶

    MINIDUMP_MEMORY_INFO :: struct {
    	BaseAddress:       u64,
    	AllocationBase:    u64,
    	AllocationProtect: u32,
    	__alignment1:      u32,
    	RegionSize:        u64,
    	State:             u32,
    	Protect:           u32,
    	Type:              u32,
    	__alignment2:      u32,
    }

    MINIDUMP_MODULE_CALLBACK ¶

    MINIDUMP_MODULE_CALLBACK :: struct {
    	FullPath:         ^u16,
    	BaseOfImage:      u64,
    	SizeOfImage:      u32,
    	CheckSum:         u32,
    	TimeDateStamp:    u32,
    	VersionInfo:      VS_FIXEDFILEINFO,
    	CvRecord:         rawptr,
    	SizeOfCvRecord:   u32,
    	MiscRecord:       rawptr,
    	SizeOfMiscRecord: u32,
    }

    MINIDUMP_READ_MEMORY_FAILURE_CALLBACK ¶

    MINIDUMP_READ_MEMORY_FAILURE_CALLBACK :: struct {
    	Offset:        u64,
    	Bytes:         u32,
    	FailureStatus: HRESULT,
    }

    MINIDUMP_THREAD_CALLBACK ¶

    MINIDUMP_THREAD_CALLBACK :: struct {
    	ThreadId:      u32,
    	ThreadHandle:  HANDLE,
    	Pad:           struct {},
    	Context:       CONTEXT,
    	SizeOfContext: u32,
    	StackBase:     u64,
    	StackEnd:      u64,
    }

    MINIDUMP_THREAD_EX_CALLBACK ¶

    MINIDUMP_THREAD_EX_CALLBACK :: struct {
    	ThreadId:         u32,
    	ThreadHandle:     HANDLE,
    	Pad:              struct {},
    	Context:          CONTEXT,
    	SizeOfContext:    u32,
    	StackBase:        u64,
    	StackEnd:         u64,
    	BackingStoreBase: u64,
    	BackingStoreEnd:  u64,
    }

    MINIDUMP_TYPE ¶

    MINIDUMP_TYPE :: enum u32 {
    	Normal                         = 0, 
    	WithDataSegs                   = 1, 
    	WithFullMemory                 = 2, 
    	WithHandleData                 = 4, 
    	FilterMemory                   = 8, 
    	ScanMemory                     = 16, 
    	WithUnloadedModules            = 32, 
    	WithIndirectlyReferencedMemory = 64, 
    	FilterModulePaths              = 128, 
    	WithProcessThreadData          = 256, 
    	WithPrivateReadWriteMemory     = 512, 
    	WithoutOptionalData            = 1024, 
    	WithFullMemoryInfo             = 2048, 
    	WithThreadInfo                 = 4096, 
    	WithCodeSegs                   = 8192, 
    	WithoutAuxiliaryState          = 16384, 
    	WithFullAuxiliaryState         = 32768, 
    	WithPrivateWriteCopyMemory     = 65536, 
    	IgnoreInaccessibleMemory       = 131072, 
    	WithTokenInformation           = 262144, 
    	WithModuleHeaders              = 524288, 
    	FilterTriage                   = 1048576, 
    	WithAvxXStateContext           = 2097152, 
    	WithIptTrace                   = 4194304, 
    	ScanInaccessiblePartialPages   = 8388608, 
    	FilterWriteCombinedMemory      = 16777216, 
    	ValidTypeFlags                 = 33554431, 
    }
    Related Procedures With Parameters

    MINIDUMP_USER_STREAM ¶

    MINIDUMP_USER_STREAM :: struct {
    	Type:       u32,
    	BufferSize: u32,
    	Buffer:     rawptr,
    }

    MINIDUMP_USER_STREAM_INFORMATION ¶

    MINIDUMP_USER_STREAM_INFORMATION :: struct {
    	UserStreamCount: u32,
    	UserStreamArray: ^MINIDUMP_USER_STREAM,
    }
    Related Procedures With Parameters

    MINIDUMP_VM_POST_READ_CALLBACK ¶

    MINIDUMP_VM_POST_READ_CALLBACK :: struct {
    	Offset:    u64,
    	Buffer:    rawptr,
    	Size:      u32,
    	Completed: u32,
    	Status:    HRESULT,
    }

    MINIDUMP_VM_PRE_READ_CALLBACK ¶

    MINIDUMP_VM_PRE_READ_CALLBACK :: struct {
    	Offset: u64,
    	Buffer: rawptr,
    	Size:   u32,
    }

    MINIDUMP_VM_QUERY_CALLBACK ¶

    MINIDUMP_VM_QUERY_CALLBACK :: struct {
    	Offset: u64,
    }

    MINMAXINFO ¶

    MINMAXINFO :: struct {
    	ptReserved:     POINT,
    	ptMaxSize:      POINT,
    	ptMaxPosition:  POINT,
    	ptMinTrackSize: POINT,
    	ptMaxTrackSize: POINT,
    }
     

    Struct pointed to by WM_GETMINMAXINFO lParam

    MMRESULT ¶

    MMRESULT :: u32

    MMTIME ¶

    MMTIME :: struct {
    	wType: u32,
    	u:     struct #raw_union {
    		ms:     u32,
    		sample: u32,
    		cb:     u32,
    		ticks:  u32,
    		smpte:  struct {
    			hour:  BYTE,
    			min:   BYTE,
    			sec:   BYTE,
    			frame: BYTE,
    			fps:   BYTE,
    			dummy: BYTE,
    			pad:   [2]BYTE,
    		},
    		midi:   struct {
    			songptrpos: u32,
    		},
    	},
    }
     

    https://learn.microsoft.com/en-us/windows/win32/multimedia/multimedia-timer-structures

    Related Procedures With Parameters

    MMVERSION ¶

    MMVERSION :: u32

    MONITORINFO ¶

    MONITORINFO :: struct {
    	cbSize:    u32,
    	rcMonitor: RECT,
    	rcWork:    RECT,
    	dwFlags:   u32,
    }
    Related Procedures With Parameters

    MONITORINFOEXW ¶

    MONITORINFOEXW :: struct {
    	using _:  MONITORINFO,
    	szDevice: [32]u16,
    }
    Procedures Through `using` From MONITORINFO

    MOUNT_POINT_REPARSE_BUFFER ¶

    MOUNT_POINT_REPARSE_BUFFER :: struct {
    	SubstituteNameOffset: u16,
    	SubstituteNameLength: u16,
    	PrintNameOffset:      u16,
    	PrintNameLength:      u16,
    	PathBuffer:           u16,
    }

    MOUSEINPUT ¶

    MOUSEINPUT :: struct {
    	dx:          i32,
    	dy:          i32,
    	mouseData:   u32,
    	dwFlags:     u32,
    	time:        u32,
    	dwExtraInfo: uint,
    }

    MSG ¶

    MSG :: struct {
    	hwnd:    HWND,
    	message: u32,
    	wParam:  uintptr,
    	lParam:  int,
    	time:    u32,
    	pt:      POINT,
    }
    Related Procedures With Parameters

    MSLLHOOKSTRUCT ¶

    MSLLHOOKSTRUCT :: struct {
    	pt:          POINT,
    	mouseData:   u32,
    	flags:       u32,
    	time:        u32,
    	dwExtraInfo: uint,
    }

    Monitor_Enum_Proc ¶

    Monitor_Enum_Proc :: proc "stdcall" (_: HMONITOR, _: HDC, _: ^RECT, _: int) -> BOOL
    Related Procedures With Parameters

    Monitor_From_Flags ¶

    Monitor_From_Flags :: enum u32 {
    	MONITOR_DEFAULTTONULL    = 0, // Returns NULL
    	MONITOR_DEFAULTTOPRIMARY = 1, // Returns a handle to the primary display monitor
    	MONITOR_DEFAULTTONEAREST = 2, // Returns a handle to the display monitor that is nearest to the window
    }
    Related Procedures With Parameters

    NET_API_STATUS ¶

    NET_API_STATUS :: enum u32 {
    	Success                      = 0, 
    	ERROR_ACCESS_DENIED          = 5, 
    	MemberInAlias                = 1378, 
    	NetNotStarted                = 2102, 
    	UnknownServer                = 2103, 
    	ShareMem                     = 2104, 
    	NoNetworkResource            = 2105, 
    	RemoteOnly                   = 2106, 
    	DevNotRedirected             = 2107, 
    	ServerNotStarted             = 2114, 
    	ItemNotFound                 = 2115, 
    	UnknownDevDir                = 2116, 
    	RedirectedPath               = 2117, 
    	DuplicateShare               = 2118, 
    	NoRoom                       = 2119, 
    	TooManyItems                 = 2121, 
    	InvalidMaxUsers              = 2122, 
    	BufTooSmall                  = 2123, 
    	RemoteErr                    = 2127, 
    	LanmanIniError               = 2131, 
    	NetworkError                 = 2136, 
    	WkstaInconsistentState       = 2137, 
    	WkstaNotStarted              = 2138, 
    	BrowserNotStarted            = 2139, 
    	InternalError                = 2140, 
    	BadTransactConfig            = 2141, 
    	InvalidAPI                   = 2142, 
    	BadEventName                 = 2143, 
    	DupNameReboot                = 2144, 
    	CfgCompNotFound              = 2146, 
    	CfgParamNotFound             = 2147, 
    	LineTooLong                  = 2149, 
    	QNotFound                    = 2150, 
    	JobNotFound                  = 2151, 
    	DestNotFound                 = 2152, 
    	DestExists                   = 2153, 
    	QExists                      = 2154, 
    	QNoRoom                      = 2155, 
    	JobNoRoom                    = 2156, 
    	DestNoRoom                   = 2157, 
    	DestIdle                     = 2158, 
    	DestInvalidOp                = 2159, 
    	ProcNoRespond                = 2160, 
    	SpoolerNotLoaded             = 2161, 
    	DestInvalidState             = 2162, 
    	QInvalidState                = 2163, 
    	JobInvalidState              = 2164, 
    	SpoolNoMemory                = 2165, 
    	DriverNotFound               = 2166, 
    	DataTypeInvalid              = 2167, 
    	ProcNotFound                 = 2168, 
    	ServiceTableLocked           = 2180, 
    	ServiceTableFull             = 2181, 
    	ServiceInstalled             = 2182, 
    	ServiceEntryLocked           = 2183, 
    	ServiceNotInstalled          = 2184, 
    	BadServiceName               = 2185, 
    	ServiceCtlTimeout            = 2186, 
    	ServiceCtlBusy               = 2187, 
    	BadServiceProgName           = 2188, 
    	ServiceNotCtrl               = 2189, 
    	ServiceKillProc              = 2190, 
    	ServiceCtlNotValid           = 2191, 
    	NotInDispatchTbl             = 2192, 
    	BadControlRecv               = 2193, 
    	ServiceNotStarting           = 2194, 
    	AlreadyLoggedOn              = 2200, 
    	NotLoggedOn                  = 2201, 
    	BadUsername                  = 2202, 
    	BadPassword                  = 2203, 
    	UnableToAddName_W            = 2204, 
    	UnableToAddName_F            = 2205, 
    	UnableToDelName_W            = 2206, 
    	UnableToDelName_F            = 2207, 
    	LogonsPaused                 = 2209, 
    	LogonServerConflict          = 2210, 
    	LogonNoUserPath              = 2211, 
    	LogonScriptError             = 2212, 
    	StandaloneLogon              = 2214, 
    	LogonServerNotFound          = 2215, 
    	LogonDomainExists            = 2216, 
    	NonValidatedLogon            = 2217, 
    	ACFNotFound                  = 2219, 
    	GroupNotFound                = 2220, 
    	UserNotFound                 = 2221, 
    	ResourceNotFound             = 2222, 
    	GroupExists                  = 2223, 
    	UserExists                   = 2224, 
    	ResourceExists               = 2225, 
    	NotPrimary                   = 2226, 
    	ACFNotLoaded                 = 2227, 
    	ACFNoRoom                    = 2228, 
    	ACFFileIOFail                = 2229, 
    	ACFTooManyLists              = 2230, 
    	UserLogon                    = 2231, 
    	ACFNoParent                  = 2232, 
    	CanNotGrowSegment            = 2233, 
    	SpeGroupOp                   = 2234, 
    	NotInCache                   = 2235, 
    	UserInGroup                  = 2236, 
    	UserNotInGroup               = 2237, 
    	AccountUndefined             = 2238, 
    	AccountExpired               = 2239, 
    	InvalidWorkstation           = 2240, 
    	InvalidLogonHours            = 2241, 
    	PasswordExpired              = 2242, 
    	PasswordCantChange           = 2243, 
    	PasswordHistConflict         = 2244, 
    	PasswordTooShort             = 2245, 
    	PasswordTooRecent            = 2246, 
    	InvalidDatabase              = 2247, 
    	DatabaseUpToDate             = 2248, 
    	SyncRequired                 = 2249, 
    	UseNotFound                  = 2250, 
    	BadAsgType                   = 2251, 
    	DeviceIsShared               = 2252, 
    	SameAsComputerName           = 2253, 
    	NoComputerName               = 2270, 
    	MsgAlreadyStarted            = 2271, 
    	MsgInitFailed                = 2272, 
    	NameNotFound                 = 2273, 
    	AlreadyForwarded             = 2274, 
    	AddForwarded                 = 2275, 
    	AlreadyExists                = 2276, 
    	TooManyNames                 = 2277, 
    	DelComputerName              = 2278, 
    	LocalForward                 = 2279, 
    	GrpMsgProcessor              = 2280, 
    	PausedRemote                 = 2281, 
    	BadReceive                   = 2282, 
    	NameInUse                    = 2283, 
    	MsgNotStarted                = 2284, 
    	NotLocalName                 = 2285, 
    	NoForwardName                = 2286, 
    	RemoteFull                   = 2287, 
    	NameNotForwarded             = 2288, 
    	TruncatedBroadcast           = 2289, 
    	InvalidDevice                = 2294, 
    	WriteFault                   = 2295, 
    	DuplicateName                = 2297, 
    	DeleteLater                  = 2298, 
    	IncompleteDel                = 2299, 
    	MultipleNets                 = 2300, 
    	NetNameNotFound              = 2310, 
    	DeviceNotShared              = 2311, 
    	ClientNameNotFound           = 2312, 
    	FileIdNotFound               = 2314, 
    	ExecFailure                  = 2315, 
    	TmpFile                      = 2316, 
    	TooMuchData                  = 2317, 
    	DeviceShareConflict          = 2318, 
    	BrowserTableIncomplete       = 2319, 
    	NotLocalDomain               = 2320, 
    	IsDfsShare                   = 2321, 
    	DevInvalidOpCode             = 2331, 
    	DevNotFound                  = 2332, 
    	DevNotOpen                   = 2333, 
    	BadQueueDevString            = 2334, 
    	BadQueuePriority             = 2335, 
    	NoCommDevs                   = 2337, 
    	QueueNotFound                = 2338, 
    	BadDevString                 = 2340, 
    	BadDev                       = 2341, 
    	InUseBySpooler               = 2342, 
    	CommDevInUse                 = 2343, 
    	InvalidComputer              = 2351, 
    	MaxLenExceeded               = 2354, 
    	BadComponent                 = 2356, 
    	CantType                     = 2357, 
    	TooManyEntries               = 2362, 
    	ProfileFileTooBig            = 2370, 
    	ProfileOffset                = 2371, 
    	ProfileCleanup               = 2372, 
    	ProfileUnknownCmd            = 2373, 
    	ProfileLoadErr               = 2374, 
    	ProfileSaveErr               = 2375, 
    	LogOverflow                  = 2377, 
    	LogFileChanged               = 2378, 
    	LogFileCorrupt               = 2379, 
    	SourceIsDir                  = 2380, 
    	BadSource                    = 2381, 
    	BadDest                      = 2382, 
    	DifferentServers             = 2383, 
    	RunSrvPaused                 = 2385, 
    	ErrCommRunSrv                = 2389, 
    	ErrorExecingGhost            = 2391, 
    	ShareNotFound                = 2392, 
    	InvalidLana                  = 2400, 
    	OpenFiles                    = 2401, 
    	ActiveConns                  = 2402, 
    	BadPasswordCore              = 2403, 
    	DevInUse                     = 2404, 
    	LocalDrive                   = 2405, 
    	AlertExists                  = 2430, 
    	TooManyAlerts                = 2431, 
    	NoSuchAlert                  = 2432, 
    	BadRecipient                 = 2433, 
    	AcctLimitExceeded            = 2434, 
    	InvalidLogSeek               = 2440, 
    	BadUasConfig                 = 2450, 
    	InvalidUASOp                 = 2451, 
    	LastAdmin                    = 2452, 
    	DCNotFound                   = 2453, 
    	LogonTrackingError           = 2454, 
    	NetlogonNotStarted           = 2455, 
    	CanNotGrowUASFile            = 2456, 
    	TimeDiffAtDC                 = 2457, 
    	PasswordMismatch             = 2458, 
    	NoSuchServer                 = 2460, 
    	NoSuchSession                = 2461, 
    	NoSuchConnection             = 2462, 
    	TooManyServers               = 2463, 
    	TooManySessions              = 2464, 
    	TooManyConnections           = 2465, 
    	TooManyFiles                 = 2466, 
    	NoAlternateServers           = 2467, 
    	TryDownLevel                 = 2470, 
    	UPSDriverNotStarted          = 2480, 
    	UPSInvalidConfig             = 2481, 
    	UPSInvalidCommPort           = 2482, 
    	UPSSignalAsserted            = 2483, 
    	UPSShutdownFailed            = 2484, 
    	BadDosRetCode                = 2500, 
    	ProgNeedsExtraMem            = 2501, 
    	BadDosFunction               = 2502, 
    	RemoteBootFailed             = 2503, 
    	BadFileCheckSum              = 2504, 
    	NoRplBootSystem              = 2505, 
    	RplLoadrNetBiosErr           = 2506, 
    	RplLoadrDiskErr              = 2507, 
    	ImageParamErr                = 2508, 
    	TooManyImageParams           = 2509, 
    	NonDosFloppyUsed             = 2510, 
    	RplBootRestart               = 2511, 
    	RplSrvrCallFailed            = 2512, 
    	CantConnectRplSrvr           = 2513, 
    	CantOpenImageFile            = 2514, 
    	CallingRplSrvr               = 2515, 
    	StartingRplBoot              = 2516, 
    	RplBootServiceTerm           = 2517, 
    	RplBootStartFailed           = 2518, 
    	RPL_CONNECTED                = 2519, 
    	BrowserConfiguredToNotRun    = 2550, 
    	RplNoAdaptersStarted         = 2610, 
    	RplBadRegistry               = 2611, 
    	RplBadDatabase               = 2612, 
    	RplRplfilesShare             = 2613, 
    	RplNotRplServer              = 2614, 
    	RplCannotEnum                = 2615, 
    	RplWkstaInfoCorrupted        = 2616, 
    	RplWkstaNotFound             = 2617, 
    	RplWkstaNameUnavailable      = 2618, 
    	RplProfileInfoCorrupted      = 2619, 
    	RplProfileNotFound           = 2620, 
    	RplProfileNameUnavailable    = 2621, 
    	RplProfileNotEmpty           = 2622, 
    	RplConfigInfoCorrupted       = 2623, 
    	RplConfigNotFound            = 2624, 
    	RplAdapterInfoCorrupted      = 2625, 
    	RplInternal                  = 2626, 
    	RplVendorInfoCorrupted       = 2627, 
    	RplBootInfoCorrupted         = 2628, 
    	RplWkstaNeedsUserAcct        = 2629, 
    	RplNeedsRPLUSERAcct          = 2630, 
    	RplBootNotFound              = 2631, 
    	RplIncompatibleProfile       = 2632, 
    	RplAdapterNameUnavailable    = 2633, 
    	RplConfigNotEmpty            = 2634, 
    	RplBootInUse                 = 2635, 
    	RplBackupDatabase            = 2636, 
    	RplAdapterNotFound           = 2637, 
    	RplVendorNotFound            = 2638, 
    	RplVendorNameUnavailable     = 2639, 
    	RplBootNameUnavailable       = 2640, 
    	RplConfigNameUnavailable     = 2641, 
    	DfsInternalCorruption        = 2660, 
    	DfsVolumeDataCorrupt         = 2661, 
    	DfsNoSuchVolume              = 2662, 
    	DfsVolumeAlreadyExists       = 2663, 
    	DfsAlreadyShared             = 2664, 
    	DfsNoSuchShare               = 2665, 
    	DfsNotALeafVolume            = 2666, 
    	DfsLeafVolume                = 2667, 
    	DfsVolumeHasMultipleServers  = 2668, 
    	DfsCantCreateJunctionPoint   = 2669, 
    	DfsServerNotDfsAware         = 2670, 
    	DfsBadRenamePath             = 2671, 
    	DfsVolumeIsOffline           = 2672, 
    	DfsNoSuchServer              = 2673, 
    	DfsCyclicalName              = 2674, 
    	DfsNotSupportedInServerDfs   = 2675, 
    	DfsDuplicateService          = 2676, 
    	DfsCantRemoveLastServerShare = 2677, 
    	DfsVolumeIsInterDfs          = 2678, 
    	DfsInconsistent              = 2679, 
    	DfsServerUpgraded            = 2680, 
    	DfsDataIsIdentical           = 2681, 
    	DfsCantRemoveDfsRoot         = 2682, 
    	DfsChildOrParentInDfs        = 2683, 
    	DfsInternalError             = 2690, 
    	SetupAlreadyJoined           = 2691, 
    	SetupNotJoined               = 2692, 
    	SetupDomainController        = 2693, 
    	DefaultJoinRequired          = 2694, 
    	InvalidWorkgroupName         = 2695, 
    	NameUsesIncompatibleCodePage = 2696, 
    	ComputerAccountNotFound      = 2697, 
    	PersonalSku                  = 2698, 
    	SetupCheckDNSConfig          = 2699, 
    	PasswordMustChange           = 2701, 
    	AccountLockedOut             = 2702, 
    	PasswordTooLong              = 2703, 
    	PasswordNotComplexEnough     = 2704, 
    	PasswordFilterError          = 2705, 
    }
    Related Procedures With Returns

    NET_IF_CONNECTION_TYPE ¶

    NET_IF_CONNECTION_TYPE :: enum i32 {
    	NET_IF_CONNECTION_DEDICATED = 1, 
    	NET_IF_CONNECTION_PASSIVE   = 2, 
    	NET_IF_CONNECTION_DEMAND    = 3, 
    	NET_IF_CONNECTION_MAXIMUM   = 4, 
    }

    NET_LUID_LH ¶

    NET_LUID_LH :: struct #raw_union {
    	Value: u64,
    	Info:  struct {
    		_bitfield: u64,
    	},
    }

    NL_DAD_STATE ¶

    NL_DAD_STATE :: enum i32 {
    	NldsInvalid          = 0, 
    	NldsTentative        = 1, 
    	NldsDuplicate        = 2, 
    	NldsDeprecated       = 3, 
    	NldsPreferred        = 4, 
    	IpDadStateInvalid    = 0, 
    	IpDadStateTentative  = 1, 
    	IpDadStateDuplicate  = 2, 
    	IpDadStateDeprecated = 3, 
    	IpDadStatePreferred  = 4, 
    }

    NL_PREFIX_ORIGIN ¶

    NL_PREFIX_ORIGIN :: enum i32 {
    	IpPrefixOriginOther               = 0, 
    	IpPrefixOriginManual              = 1, 
    	IpPrefixOriginWellKnown           = 2, 
    	IpPrefixOriginDhcp                = 3, 
    	IpPrefixOriginRouterAdvertisement = 4, 
    	IpPrefixOriginUnchanged           = 16, 
    }

    NL_SUFFIX_ORIGIN ¶

    NL_SUFFIX_ORIGIN :: enum i32 {
    	NlsoOther                      = 0, 
    	NlsoManual                     = 1, 
    	NlsoWellKnown                  = 2, 
    	NlsoDhcp                       = 3, 
    	NlsoLinkLayerAddress           = 4, 
    	NlsoRandom                     = 5, 
    	IpSuffixOriginOther            = 0, 
    	IpSuffixOriginManual           = 1, 
    	IpSuffixOriginWellKnown        = 2, 
    	IpSuffixOriginDhcp             = 3, 
    	IpSuffixOriginLinkLayerAddress = 4, 
    	IpSuffixOriginRandom           = 5, 
    	IpSuffixOriginUnchanged        = 16, 
    }

    NMHDR ¶

    NMHDR :: struct {
    	hwndFrom: HWND,
    	idFrom:   uintptr,
    	code:     u32,
    }
    NMLINK :: struct {
    	hdr:  NMHDR,
    	item: LITEM,
    }

    NOTIFYICONDATAW ¶

    NOTIFYICONDATAW :: struct {
    	cbSize:           u32,
    	hWnd:             HWND,
    	uID:              u32,
    	uFlags:           u32,
    	uCallbackMessage: u32,
    	hIcon:            HICON,
    	szTip:            [128]u16,
    	dwState:          u32,
    	dwStateMask:      u32,
    	szInfo:           [256]u16,
    	using _:          struct #raw_union {
    		uTimeout: u32,
    		uVersion: u32,
    	},
    	szInfoTitle:      [64]u16,
    	dwInfoFlags:      u32,
    	guidItem:         GUID,
    	hBalloonIcon:     HICON,
    }
    Related Procedures With Parameters

    NTSTATUS ¶

    NTSTATUS :: i32

    NumaNode ¶

    NumaNode :: struct {
    	NodeNumber: u32,
    }

    OBJECT_ATTRIBUTES ¶

    OBJECT_ATTRIBUTES :: struct {
    	Length:                   u32,
    	RootDirectory:            HANDLE,
    	ObjectName:               ^UNICODE_STRING,
    	Attributes:               u32,
    	SecurityDescriptor:       rawptr,
    	SecurityQualityOfService: rawptr,
    }

    OFFER_PRIORITY ¶

    OFFER_PRIORITY :: enum i32 {
    	VmOfferPriorityVeryLow     = 1, 
    	VmOfferPriorityLow, 
    	VmOfferPriorityBelowNormal, 
    	VmOfferPriorityNormal, 
    }
    Related Procedures With Parameters
    Related Constants

    OLECHAR ¶

    OLECHAR :: u16

    OPENFILENAMEW ¶

    OPENFILENAMEW :: struct {
    	lStructSize:       u32,
    	hwndOwner:         HWND,
    	hInstance:         HANDLE,
    	lpstrFilter:       [^]u16,
    	lpstrCustomFilter: [^]u16,
    	nMaxCustFilter:    u32,
    	nFilterIndex:      u32,
    	lpstrFile:         [^]u16,
    	nMaxFile:          u32,
    	lpstrFileTitle:    [^]u16,
    	nMaxFileTitle:     u32,
    	lpstrInitialDir:   [^]u16,
    	lpstrTitle:        [^]u16,
    	Flags:             u32,
    	nFileOffset:       u16,
    	nFileExtension:    u16,
    	lpstrDefExt:       [^]u16,
    	lCustData:         int,
    	lpfnHook:          LPOFNHOOKPROC,
    	lpTemplateName:    [^]u16,
    	pvReserved:        rawptr,
    	dwReserved:        u32,
    	FlagsEx:           u32,
    }
    Related Procedures With Parameters

    OSVERSIONINFOEXW ¶

    OSVERSIONINFOEXW :: struct {
    	dwOSVersionInfoSize: u32,
    	dwMajorVersion:      u32,
    	dwMinorVersion:      u32,
    	dwBuildNumber:       u32,
    	dwPlatformId:        u32,
    	szCSDVersion:        [128]u16,
    	wServicePackMajor:   u16,
    	wServicePackMinor:   u16,
    	wSuiteMask:          u16,
    	wProductType:        BYTE,
    	wReserved:           BYTE,
    }
     

    https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfoexw

    Related Procedures With Parameters

    OVERLAPPED ¶

    OVERLAPPED :: struct {
    	Internal:     ^u32,
    	InternalHigh: ^u32,
    	Offset:       u32,
    	OffsetHigh:   u32,
    	hEvent:       HANDLE,
    }
    Related Procedures With Parameters

    OVERLAPPED_ENTRY ¶

    OVERLAPPED_ENTRY :: struct {
    	lpCompletionKey:            uint,
    	lpOverlapped:               ^OVERLAPPED,
    	Internal:                   uint,
    	dwNumberOfBytesTransferred: u32,
    }
    Related Procedures With Parameters

    PACCESS_MASK ¶

    PACCESS_MASK :: ^u32

    PACCESS_TOKEN ¶

    PACCESS_TOKEN :: rawptr

    PAINTSTRUCT ¶

    PAINTSTRUCT :: struct {
    	hdc:         HDC,
    	fErase:      BOOL,
    	rcPaint:     RECT,
    	fRestore:    BOOL,
    	fIncUpdate:  BOOL,
    	rgbReserved: [32]BYTE,
    }
    Related Procedures With Parameters

    PBAD_MEMORY_CALLBACK_ROUTINE ¶

    PBAD_MEMORY_CALLBACK_ROUTINE :: proc "stdcall" ()
    Related Procedures With Parameters

    PBOOL ¶

    PBOOL :: ^BOOL

    PBYTE ¶

    PBYTE :: ^BYTE

    PCGUID ¶

    PCGUID :: ^GUID

    PCHAR ¶

    PCHAR :: ^u8

    PCLAIMS_BLOB ¶

    PCLAIMS_BLOB :: rawptr

    PCWSTR ¶

    PCWSTR :: [^]u16

    PCZZWSTR ¶

    PCZZWSTR :: ^u16

    PDWORD ¶

    PDWORD :: ^u32

    PDWORD_PTR ¶

    PDWORD_PTR :: ^uint

    PGUID ¶

    PGUID :: ^GUID

    PHIDP_PREPARSED_DATA ¶

    PHIDP_PREPARSED_DATA :: rawptr

    PHKEY ¶

    PHKEY :: ^HKEY

    PINT ¶

    PINT :: ^i32

    PIXELFORMATDESCRIPTOR ¶

    PIXELFORMATDESCRIPTOR :: struct {
    	nSize:           u16,
    	nVersion:        u16,
    	dwFlags:         u32,
    	iPixelType:      BYTE,
    	cColorBits:      BYTE,
    	cRedBits:        BYTE,
    	cRedShift:       BYTE,
    	cGreenBits:      BYTE,
    	cGreenShift:     BYTE,
    	cBlueBits:       BYTE,
    	cBlueShift:      BYTE,
    	cAlphaBits:      BYTE,
    	cAlphaShift:     BYTE,
    	cAccumBits:      BYTE,
    	cAccumRedBits:   BYTE,
    	cAccumGreenBits: BYTE,
    	cAccumBlueBits:  BYTE,
    	cAccumAlphaBits: BYTE,
    	cDepthBits:      BYTE,
    	cStencilBits:    BYTE,
    	cAuxBuffers:     BYTE,
    	iLayerType:      BYTE,
    	bReserved:       BYTE,
    	dwLayerMask:     u32,
    	dwVisibleMask:   u32,
    	dwDamageMask:    u32,
    }
    Related Procedures With Parameters

    PLUID ¶

    PLUID :: ^LUID

    POINT ¶

    POINT :: struct {
    	x: i32,
    	y: i32,
    }
    Related Procedures With Parameters

    POINTFLOAT ¶

    POINTFLOAT :: struct {
    	x: f32,
    	y: f32,
    }

    PQUOTA_LIMITS ¶

    PQUOTA_LIMITS :: struct {
    	PagedPoolLimit:        uint,
    	NonPagedPoolLimit:     uint,
    	MinimumWorkingSetSize: uint,
    	MaximumWorkingSetSize: uint,
    	PagefileLimit:         uint,
    	TimeLimit:             LARGE_INTEGER,
    }
     

    https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-quota_limits Used in LogonUserExW

    PRIVILEGE_SET ¶

    PRIVILEGE_SET :: struct {
    	PrivilegeCount: u32,
    	Control:        u32,
    	Privilege:      [1]LUID_AND_ATTRIBUTES,
    }
    Related Procedures With Parameters

    PROCESSOR_CACHE_TYPE ¶

    PROCESSOR_CACHE_TYPE :: enum i32 {
    	CacheUnified, 
    	CacheInstruction, 
    	CacheData, 
    	CacheTrace, 
    }

    PROCESS_INFORMATION ¶

    PROCESS_INFORMATION :: struct {
    	hProcess:    HANDLE,
    	hThread:     HANDLE,
    	dwProcessId: u32,
    	dwThreadId:  u32,
    }
    Related Procedures With Parameters

    PROFILEINFOW ¶

    PROFILEINFOW :: struct {
    	dwSize:        u32,
    	dwFlags:       u32,
    	lpUserName:    ^u16,
    	lpProfilePath: ^u16,
    	lpDefaultPath: ^u16,
    	lpServerName:  ^u16,
    	lpPolicyPath:  ^u16,
    	hProfile:      HANDLE,
    }
    Related Procedures With Parameters

    PROPERTYKEY ¶

    PROPERTYKEY :: struct {
    	fmtid: GUID,
    	pid:   u32,
    }

    PROPVARIANT ¶

    PROPVARIANT :: struct {
    	decVal: DECIMAL,
    }
     

    NOTE(ftphikari): bigger definition of this struct is ignored

    PSECURITY_DESCRIPTOR ¶

    PSECURITY_DESCRIPTOR :: rawptr

    PSIZE ¶

    PSIZE :: ^SIZE

    PSIZE_T ¶

    PSIZE_T :: ^uint

    PTIMERAPCROUTINE ¶

    PTIMERAPCROUTINE :: proc "stdcall" (lpArgToCompletionRoutine: rawptr, dwTimerLowValue, dwTimerHighValue: u32)
    Related Procedures With Parameters

    PUINT ¶

    PUINT :: ^u32

    PULONG ¶

    PULONG :: ^u32

    PULONG_PTR ¶

    PULONG_PTR :: ^uint

    PUSAGE ¶

    PUSAGE :: ^USAGE

    PUSHORT ¶

    PUSHORT :: ^u16

    PVECTORED_EXCEPTION_HANDLER ¶

    PVECTORED_EXCEPTION_HANDLER :: proc "stdcall" (ExceptionInfo: ^EXCEPTION_POINTERS) -> i32
    Related Procedures With Parameters

    Parity ¶

    Parity :: enum u8 {
    	None  = 0, 
    	Odd   = 1, 
    	Even  = 2, 
    	Mark  = 3, 
    	Space = 4, 
    }

    ProcessorCore ¶

    ProcessorCore :: struct {
    	Flags: BYTE,
    }

    QWORD ¶

    QWORD :: u64

    RAWHID ¶

    RAWHID :: struct {
    	dwSizeHid: u32,
    	dwCount:   u32,
    	bRawData:  [1]BYTE,
    }

    RAWINPUT ¶

    RAWINPUT :: struct {
    	header: RAWINPUTHEADER,
    	data:   struct #raw_union {
    		mouse:    RAWMOUSE,
    		keyboard: RAWKEYBOARD,
    		hid:      RAWHID,
    	},
    }
    Related Procedures With Parameters

    RAWINPUTDEVICE ¶

    RAWINPUTDEVICE :: struct {
    	usUsagePage: u16,
    	usUsage:     u16,
    	dwFlags:     u32,
    	hwndTarget:  HWND,
    }
    Related Procedures With Parameters

    RAWINPUTDEVICELIST ¶

    RAWINPUTDEVICELIST :: struct {
    	hDevice: HANDLE,
    	dwType:  u32,
    }
    Related Procedures With Parameters

    RAWINPUTHEADER ¶

    RAWINPUTHEADER :: struct {
    	dwType:  u32,
    	dwSize:  u32,
    	hDevice: HANDLE,
    	wParam:  uintptr,
    }

    RAWKEYBOARD ¶

    RAWKEYBOARD :: struct {
    	MakeCode:         u16,
    	Flags:            u16,
    	Rserved:          u16,
    	VKey:             u16,
    	Message:          u32,
    	ExtraInformation: u32,
    }

    RAWMOUSE ¶

    RAWMOUSE :: struct {
    	usFlags:            u16,
    	DUMMYUNIONNAME:     struct #raw_union {
    		ulButtons:       u32,
    		DUMMYSTRUCTNAME: struct {
    			usButtonFlags: u16,
    			usButtonData:  u16,
    		},
    	},
    	ulRawButtons:       u32,
    	lLastX:             i32,
    	lLastY:             i32,
    	ulExtraInformation: u32,
    }

    REASON_CONTEXT ¶

    REASON_CONTEXT :: struct {
    	Version: u32,
    	Flags:   u32,
    	Reason:  struct #raw_union {
    		Detailed:           struct {
    			LocalizedReasonModule: HMODULE,
    			LocalizedReasonId:     u32,
    			ReasonStringCount:     u32,
    			ReasonStrings:         ^^u16,
    		},
    		SimpleReasonString: ^u16,
    	},
    }
    Related Procedures With Parameters

    REFCLSID ¶

    REFCLSID :: ^GUID

    REFGUID ¶

    REFGUID :: GUID
    Related Constants

    REFIID ¶

    REFIID :: ^GUID

    REFKNOWNFOLDERID ¶

    REFKNOWNFOLDERID :: ^GUID

    REGSAM ¶

    REGSAM :: u32

    REPARSE_DATA_BUFFER ¶

    REPARSE_DATA_BUFFER :: struct {
    	ReparseTag:        u32,
    	ReparseDataLength: u16,
    	Reserved:          u16,
    	rest:              [0]u8,
    }

    REPARSE_MOUNTPOINT_DATA_BUFFER ¶

    REPARSE_MOUNTPOINT_DATA_BUFFER :: struct {
    	ReparseTag:                 u32,
    	ReparseDataLength:          u32,
    	Reserved:                   u16,
    	ReparseTargetLength:        u16,
    	ReparseTargetMaximumLength: u16,
    	Reserved1:                  u16,
    	ReparseTarget:              u16,
    }

    RGBQUAD ¶

    RGBQUAD :: struct {
    	rgbBlue:     BYTE,
    	rgbGreen:    BYTE,
    	rgbRed:      BYTE,
    	rgbReserved: BYTE,
    }

    RID_DEVICE_INFO ¶

    RID_DEVICE_INFO :: struct {
    	cbSize:         u32,
    	dwType:         u32,
    	DUMMYUNIONNAME: struct #raw_union {
    		mouse:    RID_DEVICE_INFO_MOUSE,
    		keyboard: RID_DEVICE_INFO_KEYBOARD,
    		hid:      RID_DEVICE_INFO_HID,
    	},
    }

    RID_DEVICE_INFO_HID ¶

    RID_DEVICE_INFO_HID :: struct {
    	dwVendorId:      u32,
    	dwProductId:     u32,
    	dwVersionNumber: u32,
    	usUsagePage:     u16,
    	usUsage:         u16,
    }

    RID_DEVICE_INFO_KEYBOARD ¶

    RID_DEVICE_INFO_KEYBOARD :: struct {
    	dwType:                 u32,
    	dwSubType:              u32,
    	dwKeyboardMode:         u32,
    	dwNumberOfFunctionKeys: u32,
    	dwNumberOfIndicators:   u32,
    	dwNumberOfKeysTotal:    u32,
    }

    RID_DEVICE_INFO_MOUSE ¶

    RID_DEVICE_INFO_MOUSE :: struct {
    	dwId:                u32,
    	dwNumberOfButtons:   u32,
    	dwSampleRate:        u32,
    	fHasHorizontalWheel: BOOL,
    }

    RTS_Control ¶

    RTS_Control :: enum u8 {
    	Disable   = 0, 
    	Enable    = 1, 
    	Handshake = 2, 
    	Toggle    = 3, 
    }

    RedrawWindowFlags ¶

    RedrawWindowFlags :: enum u32 {
    	RDW_INVALIDATE      = 1, 
    	RDW_INTERNALPAINT   = 2, 
    	RDW_ERASE           = 4, 
    	RDW_VALIDATE        = 8, 
    	RDW_NOINTERNALPAINT = 16, 
    	RDW_NOERASE         = 32, 
    	RDW_NOCHILDREN      = 64, 
    	RDW_ALLCHILDREN     = 128, 
    	RDW_UPDATENOW       = 256, 
    	RDW_ERASENOW        = 512, 
    	RDW_FRAME           = 1024, 
    	RDW_NOFRAME         = 2048, 
    }
    Related Procedures With Parameters

    SECURITY_IMPERSONATION_LEVEL ¶

    SECURITY_IMPERSONATION_LEVEL :: enum int {
    	SecurityAnonymous, 
    	SecurityIdentification, 
    	SecurityImpersonation, 
    	SecurityDelegation, 
    }
    Related Procedures With Parameters

    SECURITY_INFORMATION ¶

    SECURITY_INFORMATION :: u32

    SFGAOF ¶

    SFGAOF :: u32

    SHCONTF ¶

    SHCONTF :: u32

    SHELLEXECUTEINFOW ¶

    SHELLEXECUTEINFOW :: struct {
    	cbSize:         u32,
    	// in, required, sizeof of this structure
    	fMask:          u32,
    	// in, SEE_MASK_XXX values
    	hwnd:           HWND,
    	// in, optional
    	lpVerb:         [^]u16,
    	// in, optional when unspecified the default verb is choosen
    	lpFile:         [^]u16,
    	// in, either this value or lpIDList must be specified
    	lpParameters:   [^]u16,
    	// in, optional
    	lpDirectory:    [^]u16,
    	// in, optional
    	nShow:          i32,
    	// in, required
    	hInstApp:       HANDLE,
    	// out when SEE_MASK_NOCLOSEPROCESS is specified
    	lpIDList:       rawptr,
    	// in, valid when SEE_MASK_IDLIST is specified, PCIDLIST_ABSOLUTE, for use with SEE_MASK_IDLIST & SEE_MASK_INVOKEIDLIST
    	lpClass:        [^]u16,
    	// in, valid when SEE_MASK_CLASSNAME is specified
    	hkeyClass:      HKEY,
    	// in, valid when SEE_MASK_CLASSKEY is specified
    	dwHotKey:       u32,
    	// in, valid when SEE_MASK_HOTKEY is specified
    	DUMMYUNIONNAME: struct #raw_union {
    		hIcon:    HANDLE,
    		// not used
    		hMonitor: HANDLE,
    	},
    	hProcess:       HANDLE,
    }
    Related Procedures With Parameters

    SHFILEOPSTRUCTW ¶

    SHFILEOPSTRUCTW :: struct {
    	hwnd:                  HWND,
    	wFunc:                 u32,
    	pFrom:                 ^u16,
    	pTo:                   ^u16,
    	fFlags:                u16,
    	fAnyOperationsAborted: BOOL,
    	hNameMappings:         rawptr,
    	lpszProgressTitle:     [^]u16,
    }
    Related Procedures With Parameters

    SHORT ¶

    SHORT :: i16

    SIATTRIBFLAGS ¶

    SIATTRIBFLAGS :: enum i32 {
    	AND       = 1, 
    	OR        = 2, 
    	APPCOMPAT = 3, 
    	MASK      = 3, 
    	ALLITEMS  = 16384, 
    }

    SICHINTF ¶

    SICHINTF :: u32

    SID ¶

    SID :: struct #packed {
    	Revision:            u8,
    	SubAuthorityCount:   u8,
    	IdentifierAuthority: SID_IDENTIFIER_AUTHORITY,
    	SubAuthority:        [15]u32,
    }
     

    https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-sid

    Related Procedures With Parameters
    Related Procedures With Returns

    SID_IDENTIFIER_AUTHORITY ¶

    SID_IDENTIFIER_AUTHORITY :: struct #packed {
    	Value: [6]u8,
    }

    SID_NAME_USE ¶

    SID_NAME_USE :: distinct u32
     

    Used in LookupAccountNameW

    SID_TYPE ¶

    SID_TYPE :: enum SID_NAME_USE {
    	User           = 1, 
    	Group, 
    	Domain, 
    	Alias, 
    	WellKnownGroup, 
    	DeletedAccount, 
    	Invalid, 
    	Unknown, 
    	Computer, 
    	Label, 
    	LogonSession, 
    }
    Related Procedures With Parameters

    SIGDN ¶

    SIGDN :: enum i32 {
    	NORMALDISPLAY               = 0, 
    	PARENTRELATIVEPARSING       = -2147835343, // 0x80018001
    	DESKTOPABSOLUTEPARSING      = -2147139808, // 0x80028000
    	PARENTRELATIVEEDITING       = -2147822943, // 0x80031001
    	DESKTOPABSOLUTEEDITING      = -2147712352, // 0x8004c000
    	FILESYSPATH                 = -2147213200, // 0x80058000
    	URL                         = -2147507664, // 0x80068000
    	PARENTRELATIVEFORADDRESSBAR = -2146795743, // 0x8007c001
    	PARENTRELATIVE              = -2146599359, // 0x80080001
    	PARENTRELATIVEFORUI         = -2146787439, // 0x80094001
    }

    SIZE ¶

    SIZE :: struct {
    	cx: i32,
    	cy: i32,
    }
    Related Procedures With Parameters

    SMALL_RECT ¶

    SMALL_RECT :: struct {
    	Left:   i16,
    	Top:    i16,
    	Right:  i16,
    	Bottom: i16,
    }
    Related Procedures With Parameters

    SOCKADDR ¶

    SOCKADDR :: struct {
    	sa_family: u16,
    	sa_data:   [14]u8,
    }

    SOCKADDR_STORAGE_LH ¶

    SOCKADDR_STORAGE_LH :: struct {
    	ss_family:  u16,
    	__ss_pad1:  [6]u8,
    	__ss_align: i64,
    	__ss_pad2:  [112]u8,
    }
    Related Procedures With Parameters

    SOCKET_ADDRESS ¶

    SOCKET_ADDRESS :: struct {
    	lpSockaddr:      ^SOCKADDR,
    	iSockaddrLength: i32,
    }

    STARTUPINFOW ¶

    STARTUPINFOW :: struct {
    	cb:              u32,
    	lpReserved:      ^u16,
    	lpDesktop:       ^u16,
    	lpTitle:         ^u16,
    	dwX:             u32,
    	dwY:             u32,
    	dwXSize:         u32,
    	dwYSize:         u32,
    	dwXCountChars:   u32,
    	dwYCountChars:   u32,
    	dwFillAttribute: u32,
    	dwFlags:         u32,
    	wShowWindow:     u16,
    	cbReserved2:     u16,
    	lpReserved2:     ^BYTE,
    	hStdInput:       HANDLE,
    	hStdOutput:      HANDLE,
    	hStdError:       HANDLE,
    }
    Related Procedures With Parameters

    STATSTG ¶

    STATSTG :: struct {
    	pwcsName:          ^u16,
    	type:              u32,
    	cbSize:            ULARGE_INTEGER,
    	mtime:             FILETIME,
    	ctime:             FILETIME,
    	atime:             FILETIME,
    	grfMode:           u32,
    	grfLocksSupported: u32,
    	clsid:             GUID,
    	grfStateBits:      u32,
    	reserved:          u32,
    }
    SYMBOLIC_LINK_REPARSE_BUFFER :: struct {
    	SubstituteNameOffset: u16,
    	SubstituteNameLength: u16,
    	PrintNameOffset:      u16,
    	PrintNameLength:      u16,
    	Flags:                u32,
    	PathBuffer:           u16,
    }

    SYSTEMTIME ¶

    SYSTEMTIME :: struct {
    	year:         u16,
    	month:        u16,
    	day_of_week:  u16,
    	day:          u16,
    	hour:         u16,
    	minute:       u16,
    	second:       u16,
    	milliseconds: u16,
    }
    Related Procedures With Parameters

    SYSTEM_INFO ¶

    SYSTEM_INFO :: struct {
    	using _:                     struct #raw_union {
    		dwOemID: u32,
    		using _: struct #raw_union {
    			wProcessorArchitecture: u16,
    			wReserved:              u16,
    		},
    	},
    	dwPageSize:                  u32,
    	lpMinimumApplicationAddress: rawptr,
    	lpMaximumApplicationAddress: rawptr,
    	dwActiveProcessorMask:       uint,
    	dwNumberOfProcessors:        u32,
    	dwProcessorType:             u32,
    	dwAllocationGranularity:     u32,
    	wProcessorLevel:             u16,
    	wProcessorRevision:          u16,
    }
     

    https://docs.microsoft.com/en-gb/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info

    Related Procedures With Parameters

    SYSTEM_LOGICAL_PROCESSOR_INFORMATION ¶

    SYSTEM_LOGICAL_PROCESSOR_INFORMATION :: struct {
    	ProcessorMask: uint,
    	Relationship:  LOGICAL_PROCESSOR_RELATIONSHIP,
    	DummyUnion:    DUMMYUNIONNAME_u,
    }
    Related Procedures With Parameters

    Stop_Bits ¶

    Stop_Bits :: enum u8 {
    	One            = 0, 
    	One_And_A_Half = 1, 
    	Two            = 2, 
    }

    SwapIntervalEXTType ¶

    SwapIntervalEXTType :: proc "c" (interval: i32) -> bool

    System_Error ¶

    System_Error :: enum u32 {
    	// The operation completed successfully.
    	SUCCESS                                                            = 0, 
    	// Incorrect function.
    	INVALID_FUNCTION                                                   = 1, 
    	// The system cannot find the file specified.
    	FILE_NOT_FOUND                                                     = 2, 
    	// The system cannot find the path specified.
    	PATH_NOT_FOUND                                                     = 3, 
    	// The system cannot open the file.
    	TOO_MANY_OPEN_FILES                                                = 4, 
    	// Access is denied.
    	ACCESS_DENIED                                                      = 5, 
    	// The handle is invalid.
    	INVALID_HANDLE                                                     = 6, 
    	// The storage control blocks were destroyed.
    	ARENA_TRASHED                                                      = 7, 
    	// Not enough memory resources are available to process this command.
    	NOT_ENOUGH_MEMORY                                                  = 8, 
    	// The storage control block address is invalid.
    	INVALID_BLOCK                                                      = 9, 
    	// The environment is incorrect.
    	BAD_ENVIRONMENT                                                    = 10, 
    	// An attempt was made to load a program with an incorrect format.
    	BAD_FORMAT                                                         = 11, 
    	// The access code is invalid.
    	INVALID_ACCESS                                                     = 12, 
    	// The data is invalid.
    	INVALID_DATA                                                       = 13, 
    	// Not enough storage is available to complete this operation.
    	OUTOFMEMORY                                                        = 14, 
    	// The system cannot find the drive specified.
    	INVALID_DRIVE                                                      = 15, 
    	// The directory cannot be removed.
    	CURRENT_DIRECTORY                                                  = 16, 
    	// The system cannot move the file to a different disk drive.
    	NOT_SAME_DEVICE                                                    = 17, 
    	// There are no more files.
    	NO_MORE_FILES                                                      = 18, 
    	// The media is write protected.
    	WRITE_PROTECT                                                      = 19, 
    	// The system cannot find the device specified.
    	BAD_UNIT                                                           = 20, 
    	// The device is not ready.
    	NOT_READY                                                          = 21, 
    	// The device does not recognize the command.
    	BAD_COMMAND                                                        = 22, 
    	// Data error cyclic redundancy check.
    	CRC                                                                = 23, 
    	// The program issued a command but the command length is incorrect.
    	BAD_LENGTH                                                         = 24, 
    	// The drive cannot locate a specific area or track on the disk.
    	SEEK                                                               = 25, 
    	// The specified disk or diskette cannot be accessed.
    	NOT_DOS_DISK                                                       = 26, 
    	// The drive cannot find the sector requested.
    	SECTOR_NOT_FOUND                                                   = 27, 
    	// The printer is out of paper.
    	OUT_OF_PAPER                                                       = 28, 
    	// The system cannot write to the specified device.
    	WRITE_FAULT                                                        = 29, 
    	// The system cannot read from the specified device.
    	READ_FAULT                                                         = 30, 
    	// A device attached to the system is not functioning.
    	GEN_FAILURE                                                        = 31, 
    	// The process cannot access the file because it is being used by another process.
    	SHARING_VIOLATION                                                  = 32, 
    	// The process cannot access the file because another process has locked a portion of the file.
    	LOCK_VIOLATION                                                     = 33, 
    	// The wrong diskette is in the drive. Insert %2 Volume Serial Number: %3 into drive %1.
    	WRONG_DISK                                                         = 34, 
    	// Too many files opened for sharing.
    	SHARING_BUFFER_EXCEEDED                                            = 36, 
    	// Reached the end of the file.
    	HANDLE_EOF                                                         = 38, 
    	// The disk is full.
    	HANDLE_DISK_FULL                                                   = 39, 
    	// The request is not supported.
    	NOT_SUPPORTED                                                      = 50, 
    	// Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator.
    	REM_NOT_LIST                                                       = 51, 
    	// You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.
    	DUP_NAME                                                           = 52, 
    	// The network path was not found.
    	BAD_NETPATH                                                        = 53, 
    	// The network is busy.
    	NETWORK_BUSY                                                       = 54, 
    	// The specified network resource or device is no longer available.
    	DEV_NOT_EXIST                                                      = 55, 
    	// The network BIOS command limit has been reached.
    	TOO_MANY_CMDS                                                      = 56, 
    	// A network adapter hardware error occurred.
    	ADAP_HDW_ERR                                                       = 57, 
    	// The specified server cannot perform the requested operation.
    	BAD_NET_RESP                                                       = 58, 
    	// An unexpected network error occurred.
    	UNEXP_NET_ERR                                                      = 59, 
    	// The remote adapter is not compatible.
    	BAD_REM_ADAP                                                       = 60, 
    	// The printer queue is full.
    	PRINTQ_FULL                                                        = 61, 
    	// Space to store the file waiting to be printed is not available on the server.
    	NO_SPOOL_SPACE                                                     = 62, 
    	// Your file waiting to be printed was deleted.
    	PRINT_CANCELLED                                                    = 63, 
    	// The specified network name is no longer available.
    	NETNAME_DELETED                                                    = 64, 
    	// Network access is denied.
    	NETWORK_ACCESS_DENIED                                              = 65, 
    	// The network resource type is not correct.
    	BAD_DEV_TYPE                                                       = 66, 
    	// The network name cannot be found.
    	BAD_NET_NAME                                                       = 67, 
    	// The name limit for the local computer network adapter card was exceeded.
    	TOO_MANY_NAMES                                                     = 68, 
    	// The network BIOS session limit was exceeded.
    	TOO_MANY_SESS                                                      = 69, 
    	// The remote server has been paused or is in the process of being started.
    	SHARING_PAUSED                                                     = 70, 
    	// No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
    	REQ_NOT_ACCEP                                                      = 71, 
    	// The specified printer or disk device has been paused.
    	REDIR_PAUSED                                                       = 72, 
    	// The file exists.
    	FILE_EXISTS                                                        = 80, 
    	// The directory or file cannot be created.
    	CANNOT_MAKE                                                        = 82, 
    	// Fail on INT 24.
    	FAIL_I24                                                           = 83, 
    	// Storage to process this request is not available.
    	OUT_OF_STRUCTURES                                                  = 84, 
    	// The local device name is already in use.
    	ALREADY_ASSIGNED                                                   = 85, 
    	// The specified network password is not correct.
    	INVALID_PASSWORD                                                   = 86, 
    	// The parameter is incorrect.
    	INVALID_PARAMETER                                                  = 87, 
    	// A write fault occurred on the network.
    	NET_WRITE_FAULT                                                    = 88, 
    	// The system cannot start another process at this time.
    	NO_PROC_SLOTS                                                      = 89, 
    	// Cannot create another system semaphore.
    	TOO_MANY_SEMAPHORES                                                = 100, 
    	// The exclusive semaphore is owned by another process.
    	EXCL_SEM_ALREADY_OWNED                                             = 101, 
    	// The semaphore is set and cannot be closed.
    	SEM_IS_SET                                                         = 102, 
    	// The semaphore cannot be set again.
    	TOO_MANY_SEM_REQUESTS                                              = 103, 
    	// Cannot request exclusive semaphores at interrupt time.
    	INVALID_AT_INTERRUPT_TIME                                          = 104, 
    	// The previous ownership of this semaphore has ended.
    	SEM_OWNER_DIED                                                     = 105, 
    	// Insert the diskette for drive %1.
    	SEM_USER_LIMIT                                                     = 106, 
    	// The program stopped because an alternate diskette was not inserted.
    	DISK_CHANGE                                                        = 107, 
    	// The disk is in use or locked by another process.
    	DRIVE_LOCKED                                                       = 108, 
    	// The pipe has been ended.
    	BROKEN_PIPE                                                        = 109, 
    	// The system cannot open the device or file specified.
    	OPEN_FAILED                                                        = 110, 
    	// The file name is too long.
    	BUFFER_OVERFLOW                                                    = 111, 
    	// There is not enough space on the disk.
    	DISK_FULL                                                          = 112, 
    	// No more internal file identifiers available.
    	NO_MORE_SEARCH_HANDLES                                             = 113, 
    	// The target internal file identifier is incorrect.
    	INVALID_TARGET_HANDLE                                              = 114, 
    	// The IOCTL call made by the application program is not correct.
    	INVALID_CATEGORY                                                   = 117, 
    	// The verify-on-write switch parameter value is not correct.
    	INVALID_VERIFY_SWITCH                                              = 118, 
    	// The system does not support the command requested.
    	BAD_DRIVER_LEVEL                                                   = 119, 
    	// This function is not supported on this system.
    	CALL_NOT_IMPLEMENTED                                               = 120, 
    	// The semaphore timeout period has expired.
    	SEM_TIMEOUT                                                        = 121, 
    	// The data area passed to a system call is too small.
    	INSUFFICIENT_BUFFER                                                = 122, 
    	// The filename, directory name, or volume label syntax is incorrect.
    	INVALID_NAME                                                       = 123, 
    	// The system call level is not correct.
    	INVALID_LEVEL                                                      = 124, 
    	// The disk has no volume label.
    	NO_VOLUME_LABEL                                                    = 125, 
    	// The specified module could not be found.
    	MOD_NOT_FOUND                                                      = 126, 
    	// The specified procedure could not be found.
    	PROC_NOT_FOUND                                                     = 127, 
    	// There are no child processes to wait for.
    	WAIT_NO_CHILDREN                                                   = 128, 
    	// The %1 application cannot be run in Win32 mode.
    	CHILD_NOT_COMPLETE                                                 = 129, 
    	// Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
    	DIRECT_ACCESS_HANDLE                                               = 130, 
    	// An attempt was made to move the file pointer before the beginning of the file.
    	NEGATIVE_SEEK                                                      = 131, 
    	// The file pointer cannot be set on the specified device or file.
    	SEEK_ON_DEVICE                                                     = 132, 
    	// A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
    	IS_JOIN_TARGET                                                     = 133, 
    	// An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
    	IS_JOINED                                                          = 134, 
    	// An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
    	IS_SUBSTED                                                         = 135, 
    	// The system tried to delete the JOIN of a drive that is not joined.
    	NOT_JOINED                                                         = 136, 
    	// The system tried to delete the substitution of a drive that is not substituted.
    	NOT_SUBSTED                                                        = 137, 
    	// The system tried to join a drive to a directory on a joined drive.
    	JOIN_TO_JOIN                                                       = 138, 
    	// The system tried to substitute a drive to a directory on a substituted drive.
    	SUBST_TO_SUBST                                                     = 139, 
    	// The system tried to join a drive to a directory on a substituted drive.
    	JOIN_TO_SUBST                                                      = 140, 
    	// The system tried to SUBST a drive to a directory on a joined drive.
    	SUBST_TO_JOIN                                                      = 141, 
    	// The system cannot perform a JOIN or SUBST at this time.
    	BUSY_DRIVE                                                         = 142, 
    	// The system cannot join or substitute a drive to or for a directory on the same drive.
    	SAME_DRIVE                                                         = 143, 
    	// The directory is not a subdirectory of the root directory.
    	DIR_NOT_ROOT                                                       = 144, 
    	// The directory is not empty.
    	DIR_NOT_EMPTY                                                      = 145, 
    	// The path specified is being used in a substitute.
    	IS_SUBST_PATH                                                      = 146, 
    	// Not enough resources are available to process this command.
    	IS_JOIN_PATH                                                       = 147, 
    	// The path specified cannot be used at this time.
    	PATH_BUSY                                                          = 148, 
    	// An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
    	IS_SUBST_TARGET                                                    = 149, 
    	// System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
    	SYSTEM_TRACE                                                       = 150, 
    	// The number of specified semaphore events for DosMuxSemWait is not correct.
    	INVALID_EVENT_COUNT                                                = 151, 
    	// DosMuxSemWait did not execute; too many semaphores are already set.
    	TOO_MANY_MUXWAITERS                                                = 152, 
    	// The DosMuxSemWait list is not correct.
    	INVALID_LIST_FORMAT                                                = 153, 
    	// The volume label you entered exceeds the label character limit of the target file system.
    	LABEL_TOO_LONG                                                     = 154, 
    	// Cannot create another thread.
    	TOO_MANY_TCBS                                                      = 155, 
    	// The recipient process has refused the signal.
    	SIGNAL_REFUSED                                                     = 156, 
    	// The segment is already discarded and cannot be locked.
    	DISCARDED                                                          = 157, 
    	// The segment is already unlocked.
    	NOT_LOCKED                                                         = 158, 
    	// The address for the thread ID is not correct.
    	BAD_THREADID_ADDR                                                  = 159, 
    	// One or more arguments are not correct.
    	BAD_ARGUMENTS                                                      = 160, 
    	// The specified path is invalid.
    	BAD_PATHNAME                                                       = 161, 
    	// A signal is already pending.
    	SIGNAL_PENDING                                                     = 162, 
    	// No more threads can be created in the system.
    	MAX_THRDS_REACHED                                                  = 164, 
    	// Unable to lock a region of a file.
    	LOCK_FAILED                                                        = 167, 
    	// The requested resource is in use.
    	BUSY                                                               = 170, 
    	// Device's command support detection is in progress.
    	DEVICE_SUPPORT_IN_PROGRESS                                         = 171, 
    	// A lock request was not outstanding for the supplied cancel region.
    	CANCEL_VIOLATION                                                   = 173, 
    	// The file system does not support atomic changes to the lock type.
    	ATOMIC_LOCKS_NOT_SUPPORTED                                         = 174, 
    	// The system detected a segment number that was not correct.
    	INVALID_SEGMENT_NUMBER                                             = 180, 
    	// The operating system cannot run %1.
    	INVALID_ORDINAL                                                    = 182, 
    	// Cannot create a file when that file already exists.
    	ALREADY_EXISTS                                                     = 183, 
    	// The flag passed is not correct.
    	INVALID_FLAG_NUMBER                                                = 186, 
    	// The specified system semaphore name was not found.
    	SEM_NOT_FOUND                                                      = 187, 
    	// The operating system cannot run %1.
    	INVALID_STARTING_CODESEG                                           = 188, 
    	// The operating system cannot run %1.
    	INVALID_STACKSEG                                                   = 189, 
    	// The operating system cannot run %1.
    	INVALID_MODULETYPE                                                 = 190, 
    	// Cannot run %1 in Win32 mode.
    	INVALID_EXE_SIGNATURE                                              = 191, 
    	// The operating system cannot run %1.
    	EXE_MARKED_INVALID                                                 = 192, 
    	// %1 is not a valid Win32 application.
    	BAD_EXE_FORMAT                                                     = 193, 
    	// The operating system cannot run %1.
    	ITERATED_DATA_EXCEEDS_64k                                          = 194, 
    	// The operating system cannot run %1.
    	INVALID_MINALLOCSIZE                                               = 195, 
    	// The operating system cannot run this application program.
    	DYNLINK_FROM_INVALID_RING                                          = 196, 
    	// The operating system is not presently configured to run this application.
    	IOPL_NOT_ENABLED                                                   = 197, 
    	// The operating system cannot run %1.
    	INVALID_SEGDPL                                                     = 198, 
    	// The operating system cannot run this application program.
    	AUTODATASEG_EXCEEDS_64k                                            = 199, 
    	// The code segment cannot be greater than or equal to 64K.
    	RING2SEG_MUST_BE_MOVABLE                                           = 200, 
    	// The operating system cannot run %1.
    	RELOC_CHAIN_XEEDS_SEGLIM                                           = 201, 
    	// The operating system cannot run %1.
    	INFLOOP_IN_RELOC_CHAIN                                             = 202, 
    	// The system could not find the environment option that was entered.
    	ENVVAR_NOT_FOUND                                                   = 203, 
    	// No process in the command subtree has a signal handler.
    	NO_SIGNAL_SENT                                                     = 205, 
    	// The filename or extension is too long.
    	FILENAME_EXCED_RANGE                                               = 206, 
    	// The ring 2 stack is in use.
    	RING2_STACK_IN_USE                                                 = 207, 
    	// The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
    	META_EXPANSION_TOO_LONG                                            = 208, 
    	// The signal being posted is not correct.
    	INVALID_SIGNAL_NUMBER                                              = 209, 
    	// The signal handler cannot be set.
    	THREAD_1_INACTIVE                                                  = 210, 
    	// The segment is locked and cannot be reallocated.
    	LOCKED                                                             = 212, 
    	// Too many dynamic-link modules are attached to this program or dynamic-link module.
    	TOO_MANY_MODULES                                                   = 214, 
    	// Cannot nest calls to LoadModule.
    	NESTING_NOT_ALLOWED                                                = 215, 
    	// This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
    	EXE_MACHINE_TYPE_MISMATCH                                          = 216, 
    	// The image file %1 is signed, unable to modify.
    	EXE_CANNOT_MODIFY_SIGNED_BINARY                                    = 217, 
    	// The image file %1 is strong signed, unable to modify.
    	EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY                             = 218, 
    	// This file is checked out or locked for editing by another user.
    	FILE_CHECKED_OUT                                                   = 220, 
    	// The file must be checked out before saving changes.
    	CHECKOUT_REQUIRED                                                  = 221, 
    	// The file type being saved or retrieved has been blocked.
    	BAD_FILE_TYPE                                                      = 222, 
    	// The file size exceeds the limit allowed and cannot be saved.
    	FILE_TOO_LARGE                                                     = 223, 
    	// Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.
    	FORMS_AUTH_REQUIRED                                                = 224, 
    	// Operation did not complete successfully because the file contains a virus or potentially unwanted software.
    	VIRUS_INFECTED                                                     = 225, 
    	// This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
    	VIRUS_DELETED                                                      = 226, 
    	// The pipe is local.
    	PIPE_LOCAL                                                         = 229, 
    	// The pipe state is invalid.
    	BAD_PIPE                                                           = 230, 
    	// All pipe instances are busy.
    	PIPE_BUSY                                                          = 231, 
    	// The pipe is being closed.
    	NO_DATA                                                            = 232, 
    	// No process is on the other end of the pipe.
    	PIPE_NOT_CONNECTED                                                 = 233, 
    	// More data is available.
    	MORE_DATA                                                          = 234, 
    	// The session was canceled.
    	VC_DISCONNECTED                                                    = 240, 
    	// The specified extended attribute name was invalid.
    	INVALID_EA_NAME                                                    = 254, 
    	// The extended attributes are inconsistent.
    	EA_LIST_INCONSISTENT                                               = 255, 
    	// The wait operation timed out.
    	WAIT_TIMEOUT                                                       = 258, 
    	// No more data is available.
    	NO_MORE_ITEMS                                                      = 259, 
    	// The copy functions cannot be used.
    	CANNOT_COPY                                                        = 266, 
    	// The directory name is invalid.
    	DIRECTORY                                                          = 267, 
    	// The extended attributes did not fit in the buffer.
    	EAS_DIDNT_FIT                                                      = 275, 
    	// The extended attribute file on the mounted file system is corrupt.
    	EA_FILE_CORRUPT                                                    = 276, 
    	// The extended attribute table file is full.
    	EA_TABLE_FULL                                                      = 277, 
    	// The specified extended attribute handle is invalid.
    	INVALID_EA_HANDLE                                                  = 278, 
    	// The mounted file system does not support extended attributes.
    	EAS_NOT_SUPPORTED                                                  = 282, 
    	// Attempt to release mutex not owned by caller.
    	NOT_OWNER                                                          = 288, 
    	// Too many posts were made to a semaphore.
    	TOO_MANY_POSTS                                                     = 298, 
    	// Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    	PARTIAL_COPY                                                       = 299, 
    	// The oplock request is denied.
    	OPLOCK_NOT_GRANTED                                                 = 300, 
    	// An invalid oplock acknowledgment was received by the system.
    	INVALID_OPLOCK_PROTOCOL                                            = 301, 
    	// The volume is too fragmented to complete this operation.
    	DISK_TOO_FRAGMENTED                                                = 302, 
    	// The file cannot be opened because it is in the process of being deleted.
    	DELETE_PENDING                                                     = 303, 
    	// Short name settings may not be changed on this volume due to the global registry setting.
    	INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING               = 304, 
    	// Short names are not enabled on this volume.
    	SHORT_NAMES_NOT_ENABLED_ON_VOLUME                                  = 305, 
    	// The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume.
    	SECURITY_STREAM_IS_INCONSISTENT                                    = 306, 
    	// A requested file lock operation cannot be processed due to an invalid byte range.
    	INVALID_LOCK_RANGE                                                 = 307, 
    	// The subsystem needed to support the image type is not present.
    	IMAGE_SUBSYSTEM_NOT_PRESENT                                        = 308, 
    	// The specified file already has a notification GUID associated with it.
    	NOTIFICATION_GUID_ALREADY_DEFINED                                  = 309, 
    	// An invalid exception handler routine has been detected.
    	INVALID_EXCEPTION_HANDLER                                          = 310, 
    	// Duplicate privileges were specified for the token.
    	DUPLICATE_PRIVILEGES                                               = 311, 
    	// No ranges for the specified operation were able to be processed.
    	NO_RANGES_PROCESSED                                                = 312, 
    	// Operation is not allowed on a file system internal file.
    	NOT_ALLOWED_ON_SYSTEM_FILE                                         = 313, 
    	// The physical resources of this disk have been exhausted.
    	DISK_RESOURCES_EXHAUSTED                                           = 314, 
    	// The token representing the data is invalid.
    	INVALID_TOKEN                                                      = 315, 
    	// The device does not support the command feature.
    	DEVICE_FEATURE_NOT_SUPPORTED                                       = 316, 
    	// The system cannot find message text for message number 0x%1 in the message file for %2.
    	MR_MID_NOT_FOUND                                                   = 317, 
    	// The scope specified was not found.
    	SCOPE_NOT_FOUND                                                    = 318, 
    	// The Central Access Policy specified is not defined on the target machine.
    	UNDEFINED_SCOPE                                                    = 319, 
    	// The Central Access Policy obtained from Active Directory is invalid.
    	INVALID_CAP                                                        = 320, 
    	// The device is unreachable.
    	DEVICE_UNREACHABLE                                                 = 321, 
    	// The target device has insufficient resources to complete the operation.
    	DEVICE_NO_RESOURCES                                                = 322, 
    	// A data integrity checksum error occurred. Data in the file stream is corrupt.
    	DATA_CHECKSUM_ERROR                                                = 323, 
    	// An attempt was made to modify both a KERNEL and normal Extended Attribute EA in the same operation.
    	INTERMIXED_KERNEL_EA_OPERATION                                     = 324, 
    	// Device does not support file-level TRIM.
    	FILE_LEVEL_TRIM_NOT_SUPPORTED                                      = 326, 
    	// The command specified a data offset that does not align to the device's granularity/alignment.
    	OFFSET_ALIGNMENT_VIOLATION                                         = 327, 
    	// The command specified an invalid field in its parameter list.
    	INVALID_FIELD_IN_PARAMETER_LIST                                    = 328, 
    	// An operation is currently in progress with the device.
    	OPERATION_IN_PROGRESS                                              = 329, 
    	// An attempt was made to send down the command via an invalid path to the target device.
    	BAD_DEVICE_PATH                                                    = 330, 
    	// The command specified a number of descriptors that exceeded the maximum supported by the device.
    	TOO_MANY_DESCRIPTORS                                               = 331, 
    	// Scrub is disabled on the specified file.
    	SCRUB_DATA_DISABLED                                                = 332, 
    	// The storage device does not provide redundancy.
    	NOT_REDUNDANT_STORAGE                                              = 333, 
    	// An operation is not supported on a resident file.
    	RESIDENT_FILE_NOT_SUPPORTED                                        = 334, 
    	// An operation is not supported on a compressed file.
    	COMPRESSED_FILE_NOT_SUPPORTED                                      = 335, 
    	// An operation is not supported on a directory.
    	DIRECTORY_NOT_SUPPORTED                                            = 336, 
    	// The specified copy of the requested data could not be read.
    	NOT_READ_FROM_COPY                                                 = 337, 
    	// No action was taken as a system reboot is required.
    	FAIL_NOACTION_REBOOT                                               = 350, 
    	// The shutdown operation failed.
    	FAIL_SHUTDOWN                                                      = 351, 
    	// The restart operation failed.
    	FAIL_RESTART                                                       = 352, 
    	// The maximum number of sessions has been reached.
    	MAX_SESSIONS_REACHED                                               = 353, 
    	// The thread is already in background processing mode.
    	THREAD_MODE_ALREADY_BACKGROUND                                     = 400, 
    	// The thread is not in background processing mode.
    	THREAD_MODE_NOT_BACKGROUND                                         = 401, 
    	// The process is already in background processing mode.
    	PROCESS_MODE_ALREADY_BACKGROUND                                    = 402, 
    	// The process is not in background processing mode.
    	PROCESS_MODE_NOT_BACKGROUND                                        = 403, 
    	// Attempt to access invalid address.
    	INVALID_ADDRESS                                                    = 487, 
    	// User profile cannot be loaded.
    	USER_PROFILE_LOAD                                                  = 500, 
    	// Arithmetic result exceeded 32 bits.
    	ARITHMETIC_OVERFLOW                                                = 534, 
    	// There is a process on other end of the pipe.
    	PIPE_CONNECTED                                                     = 535, 
    	// Waiting for a process to open the other end of the pipe.
    	PIPE_LISTENING                                                     = 536, 
    	// Application verifier has found an error in the current process.
    	VERIFIER_STOP                                                      = 537, 
    	// An error occurred in the ABIOS subsystem.
    	ABIOS_ERROR                                                        = 538, 
    	// A warning occurred in the WX86 subsystem.
    	WX86_WARNING                                                       = 539, 
    	// An error occurred in the WX86 subsystem.
    	WX86_ERROR                                                         = 540, 
    	// An attempt was made to cancel or set a timer that has an associated APC and the subject thread is not the thread that originally set the timer with an associated APC routine.
    	TIMER_NOT_CANCELED                                                 = 541, 
    	// Unwind exception code.
    	UNWIND                                                             = 542, 
    	// An invalid or unaligned stack was encountered during an unwind operation.
    	BAD_STACK                                                          = 543, 
    	// An invalid unwind target was encountered during an unwind operation.
    	INVALID_UNWIND_TARGET                                              = 544, 
    	// Invalid Object Attributes specified to NtCreatePort or invalid Port Attributes specified to NtConnectPort
    	INVALID_PORT_ATTRIBUTES                                            = 545, 
    	// Length of message passed to NtRequestPort or NtRequestWaitReplyPort was longer than the maximum message allowed by the port.
    	PORT_MESSAGE_TOO_LONG                                              = 546, 
    	// An attempt was made to lower a quota limit below the current usage.
    	INVALID_QUOTA_LOWER                                                = 547, 
    	// An attempt was made to attach to a device that was already attached to another device.
    	DEVICE_ALREADY_ATTACHED                                            = 548, 
    	// An attempt was made to execute an instruction at an unaligned address and the host system does not support unaligned instruction references.
    	INSTRUCTION_MISALIGNMENT                                           = 549, 
    	// Profiling not started.
    	PROFILING_NOT_STARTED                                              = 550, 
    	// Profiling not stopped.
    	PROFILING_NOT_STOPPED                                              = 551, 
    	// The passed ACL did not contain the minimum required information.
    	COULD_NOT_INTERPRET                                                = 552, 
    	// The number of active profiling objects is at the maximum and no more may be started.
    	PROFILING_AT_LIMIT                                                 = 553, 
    	// Used to indicate that an operation cannot continue without blocking for I/O.
    	CANT_WAIT                                                          = 554, 
    	// Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current process.
    	CANT_TERMINATE_SELF                                                = 555, 
    	// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
    	UNEXPECTED_MM_CREATE_ERR                                           = 556, 
    	// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
    	UNEXPECTED_MM_MAP_ERROR                                            = 557, 
    	// If an MM error is returned which is not defined in the standard FsRtl filter, it is converted to one of the following errors which is guaranteed to be in the filter. In this case information is lost, however, the filter correctly handles the exception.
    	UNEXPECTED_MM_EXTEND_ERR                                           = 558, 
    	// A malformed function table was encountered during an unwind operation.
    	BAD_FUNCTION_TABLE                                                 = 559, 
    	// Indicates that an attempt was made to assign protection to a file system file or directory and one of the SIDs in the security descriptor could not be translated into a GUID that could be stored by the file system. This causes the protection attempt to fail, which may cause a file creation attempt to fail.
    	NO_GUID_TRANSLATION                                                = 560, 
    	// Indicates that an attempt was made to grow an LDT by setting its size, or that the size was not an even number of selectors.
    	INVALID_LDT_SIZE                                                   = 561, 
    	// Indicates that the starting value for the LDT information was not an integral multiple of the selector size.
    	INVALID_LDT_OFFSET                                                 = 563, 
    	// Indicates that the user supplied an invalid descriptor when trying to set up Ldt descriptors.
    	INVALID_LDT_DESCRIPTOR                                             = 564, 
    	// Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token may only be performed when a process has zero or one threads.
    	TOO_MANY_THREADS                                                   = 565, 
    	// An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
    	THREAD_NOT_IN_PROCESS                                              = 566, 
    	// Page file quota was exceeded.
    	PAGEFILE_QUOTA_EXCEEDED                                            = 567, 
    	// The Netlogon service cannot start because another Netlogon service running in the domain conflicts with the specified role.
    	LOGON_SERVER_CONFLICT                                              = 568, 
    	// The SAM database on a Windows Server is significantly out of synchronization with the copy on the Domain Controller. A complete synchronization is required.
    	SYNCHRONIZATION_REQUIRED                                           = 569, 
    	// The NtCreateFile API failed. This error should never be returned to an application, it is a place holder for the Windows Lan Manager Redirector to use in its internal error mapping routines.
    	NET_OPEN_FAILED                                                    = 570, 
    	// {Privilege Failed} The I/O permissions for the process could not be changed.
    	IO_PRIVILEGE_FAILED                                                = 571, 
    	// {Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.
    	CONTROL_C_EXIT                                                     = 572, 
    	// {Missing System File} The required system file %hs is bad or missing.
    	MISSING_SYSTEMFILE                                                 = 573, 
    	// {Application Error} The exception %s (0x%08lx) occurred in the application at location 0x%08lx.
    	UNHANDLED_EXCEPTION                                                = 574, 
    	// {Application Error} The application was unable to start correctly (0x%lx). Click OK to close the application.
    	APP_INIT_FAILURE                                                   = 575, 
    	// {Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.
    	PAGEFILE_CREATE_FAILED                                             = 576, 
    	// Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
    	INVALID_IMAGE_HASH                                                 = 577, 
    	// {No Paging File Specified} No paging file was specified in the system configuration.
    	NO_PAGEFILE                                                        = 578, 
    	// {EXCEPTION} A real-mode application issued a floating-point instruction and floating-point hardware is not present.
    	ILLEGAL_FLOAT_CONTEXT                                              = 579, 
    	// An event pair synchronization operation was performed using the thread specific client/server event pair object, but no event pair object was associated with the thread.
    	NO_EVENT_PAIR                                                      = 580, 
    	// A Windows Server has an incorrect configuration.
    	DOMAIN_CTRLR_CONFIG_ERROR                                          = 581, 
    	// An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.
    	ILLEGAL_CHARACTER                                                  = 582, 
    	// The Unicode character is not defined in the Unicode character set installed on the system.
    	UNDEFINED_CHARACTER                                                = 583, 
    	// The paging file cannot be created on a floppy diskette.
    	FLOPPY_VOLUME                                                      = 584, 
    	// The system BIOS failed to connect a system interrupt to the device or bus for which the device is connected.
    	BIOS_FAILED_TO_CONNECT_INTERRUPT                                   = 585, 
    	// This operation is only allowed for the Primary Domain Controller of the domain.
    	BACKUP_CONTROLLER                                                  = 586, 
    	// An attempt was made to acquire a mutant such that its maximum count would have been exceeded.
    	MUTANT_LIMIT_EXCEEDED                                              = 587, 
    	// A volume has been accessed for which a file system driver is required that has not yet been loaded.
    	FS_DRIVER_REQUIRED                                                 = 588, 
    	// {Registry File Failure} The registry cannot load the hive (file): %hs or its log or alternate. It is corrupt, absent, or not writable.
    	CANNOT_LOAD_REGISTRY_FILE                                          = 589, 
    	// {Unexpected Failure in DebugActiveProcess} An unexpected failure occurred while processing a DebugActiveProcess API request. You may choose OK to terminate the process, or Cancel to ignore the error.
    	DEBUG_ATTACH_FAILED                                                = 590, 
    	// {Fatal System Error} The %hs system process terminated unexpectedly with a status of 0x%08x (0x%08x 0x%08x). The system has been shut down.
    	SYSTEM_PROCESS_TERMINATED                                          = 591, 
    	// {Data Not Accepted} The TDI client could not handle the data received during an indication.
    	DATA_NOT_ACCEPTED                                                  = 592, 
    	// NTVDM encountered a hard error.
    	VDM_HARD_ERROR                                                     = 593, 
    	// {Cancel Timeout} The driver %hs failed to complete a cancelled I/O request in the allotted time.
    	DRIVER_CANCEL_TIMEOUT                                              = 594, 
    	// {Reply Message Mismatch} An attempt was made to reply to an LPC message, but the thread specified by the client ID in the message was not waiting on that message.
    	REPLY_MESSAGE_MISMATCH                                             = 595, 
    	// {Delayed Write Failed} Windows was unable to save all the data for the file %hs. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
    	LOST_WRITEBEHIND_DATA                                              = 596, 
    	// The parameter(s) passed to the server in the client/server shared memory window were invalid. Too much data may have been put in the shared memory window.
    	CLIENT_SERVER_PARAMETERS_INVALID                                   = 597, 
    	// The stream is not a tiny stream.
    	NOT_TINY_STREAM                                                    = 598, 
    	// The request must be handled by the stack overflow code.
    	STACK_OVERFLOW_READ                                                = 599, 
    	// Internal OFS status codes indicating how an allocation operation is handled. Either it is retried after the containing onode is moved or the extent stream is converted to a large stream.
    	CONVERT_TO_LARGE                                                   = 600, 
    	// The attempt to find the object found an object matching by ID on the volume but it is out of the scope of the handle used for the operation.
    	FOUND_OUT_OF_SCOPE                                                 = 601, 
    	// The bucket array must be grown. Retry transaction after doing so.
    	ALLOCATE_BUCKET                                                    = 602, 
    	// The user/kernel marshalling buffer has overflowed.
    	MARSHALL_OVERFLOW                                                  = 603, 
    	// The supplied variant structure contains invalid data.
    	INVALID_VARIANT                                                    = 604, 
    	// The specified buffer contains ill-formed data.
    	BAD_COMPRESSION_BUFFER                                             = 605, 
    	// {Audit Failed} An attempt to generate a security audit failed.
    	AUDIT_FAILED                                                       = 606, 
    	// The timer resolution was not previously set by the current process.
    	TIMER_RESOLUTION_NOT_SET                                           = 607, 
    	// There is insufficient account information to log you on.
    	INSUFFICIENT_LOGON_INFO                                            = 608, 
    	// {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entrypoint should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO may cause the application to operate incorrectly.
    	BAD_DLL_ENTRYPOINT                                                 = 609, 
    	// {Invalid Service Callback Entrypoint} The %hs service is not written correctly. The stack pointer has been left in an inconsistent state. The callback entrypoint should be declared as WINAPI or STDCALL. Selecting OK will cause the service to continue operation. However, the service process may operate incorrectly.
    	BAD_SERVICE_ENTRYPOINT                                             = 610, 
    	// There is an IP address conflict with another system on the network.
    	IP_ADDRESS_CONFLICT1                                               = 611, 
    	// There is an IP address conflict with another system on the network.
    	IP_ADDRESS_CONFLICT2                                               = 612, 
    	// {Low On Registry Space} The system has reached the maximum size allowed for the system part of the registry. Additional storage requests will be ignored.
    	REGISTRY_QUOTA_LIMIT                                               = 613, 
    	// A callback return system service cannot be executed when no callback is active.
    	NO_CALLBACK_ACTIVE                                                 = 614, 
    	// The password provided is too short to meet the policy of your user account. Please choose a longer password.
    	PWD_TOO_SHORT                                                      = 615, 
    	// The policy of your user account does not allow you to change passwords too frequently. This is done to prevent users from changing back to a familiar, but potentially discovered, password. If you feel your password has been compromised then please contact your administrator immediately to have a new one assigned.
    	PWD_TOO_RECENT                                                     = 616, 
    	// You have attempted to change your password to one that you have used in the past. The policy of your user account does not allow this. Please select a password that you have not previously used.
    	PWD_HISTORY_CONFLICT                                               = 617, 
    	// The specified compression format is unsupported.
    	UNSUPPORTED_COMPRESSION                                            = 618, 
    	// The specified hardware profile configuration is invalid.
    	INVALID_HW_PROFILE                                                 = 619, 
    	// The specified Plug and Play registry device path is invalid.
    	INVALID_PLUGPLAY_DEVICE_PATH                                       = 620, 
    	// The specified quota list is internally inconsistent with its descriptor.
    	QUOTA_LIST_INCONSISTENT                                            = 621, 
    	// {Windows Evaluation Notification} The evaluation period for this installation of Windows has expired. This system will shutdown in 1 hour. To restore access to this installation of Windows, please upgrade this installation using a licensed distribution of this product.
    	EVALUATION_EXPIRATION                                              = 622, 
    	// {Illegal System DLL Relocation} The system DLL %hs was relocated in memory. The application will not run properly. The relocation occurred because the DLL %hs occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL.
    	ILLEGAL_DLL_RELOCATION                                             = 623, 
    	// {DLL Initialization Failed} The application failed to initialize because the window station is shutting down.
    	DLL_INIT_FAILED_LOGOFF                                             = 624, 
    	// The validation process needs to continue on to the next step.
    	VALIDATE_CONTINUE                                                  = 625, 
    	// There are no more matches for the current index enumeration.
    	NO_MORE_MATCHES                                                    = 626, 
    	// The range could not be added to the range list because of a conflict.
    	RANGE_LIST_CONFLICT                                                = 627, 
    	// The server process is running under a SID different than that required by client.
    	SERVER_SID_MISMATCH                                                = 628, 
    	// A group marked use for deny only cannot be enabled.
    	CANT_ENABLE_DENY_ONLY                                              = 629, 
    	// {EXCEPTION} Multiple floating point faults.
    	FLOAT_MULTIPLE_FAULTS                                              = 630, 
    	// {EXCEPTION} Multiple floating point traps.
    	FLOAT_MULTIPLE_TRAPS                                               = 631, 
    	// The requested interface is not supported.
    	NOINTERFACE                                                        = 632, 
    	// {System Standby Failed} The driver %hs does not support standby mode. Updating this driver may allow the system to go to standby mode.
    	DRIVER_FAILED_SLEEP                                                = 633, 
    	// The system file %1 has become corrupt and has been replaced.
    	CORRUPT_SYSTEM_FILE                                                = 634, 
    	// {Virtual Memory Minimum Too Low} Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see Help.
    	COMMITMENT_MINIMUM                                                 = 635, 
    	// A device was removed so enumeration must be restarted.
    	PNP_RESTART_ENUMERATION                                            = 636, 
    	// {Fatal System Error} The system image %s is not properly signed. The file has been replaced with the signed file. The system has been shut down.
    	SYSTEM_IMAGE_BAD_SIGNATURE                                         = 637, 
    	// Device will not start without a reboot.
    	PNP_REBOOT_REQUIRED                                                = 638, 
    	// There is not enough power to complete the requested operation.
    	INSUFFICIENT_POWER                                                 = 639, 
    	// MULTIPLE_FAULT_VIOLATION = , = 0x281,
    	MULTIPLE_FAULT_VIOLATION                                           = 640,   // The system is in the process of shutting down.
    	// An attempt to remove a processes DebugPort was made, but a port was not already associated with the process.
    	PORT_NOT_SET                                                       = 642, 
    	// This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller.
    	DS_VERSION_CHECK_FAILURE                                           = 643, 
    	// The specified range could not be found in the range list.
    	RANGE_NOT_FOUND                                                    = 644, 
    	// The driver was not loaded because the system is booting into safe mode.
    	NOT_SAFE_MODE_DRIVER                                               = 646, 
    	// The driver was not loaded because it failed its initialization call.
    	FAILED_DRIVER_ENTRY                                                = 647, 
    	// The "%hs" encountered an error while applying power or reading the device configuration. This may be caused by a failure of your hardware or by a poor connection.
    	DEVICE_ENUMERATION_ERROR                                           = 648, 
    	// The create operation failed because the name contained at least one mount point which resolves to a volume to which the specified device object is not attached.
    	MOUNT_POINT_NOT_RESOLVED                                           = 649, 
    	// The device object parameter is either not a valid device object or is not attached to the volume specified by the file name.
    	INVALID_DEVICE_OBJECT_PARAMETER                                    = 650, 
    	// A Machine Check Error has occurred. Please check the system eventlog for additional information.
    	MCA_OCCURED                                                        = 651, 
    	// There was error [%2] processing the driver database.
    	DRIVER_DATABASE_ERROR                                              = 652, 
    	// System hive size has exceeded its limit.
    	SYSTEM_HIVE_TOO_LARGE                                              = 653, 
    	// The driver could not be loaded because a previous version of the driver is still in memory.
    	DRIVER_FAILED_PRIOR_UNLOAD                                         = 654, 
    	// {Volume Shadow Copy Service} Please wait while the Volume Shadow Copy Service prepares volume %hs for hibernation.
    	VOLSNAP_PREPARE_HIBERNATE                                          = 655, 
    	// The system has failed to hibernate (The error code is %hs). Hibernation will be disabled until the system is restarted.
    	HIBERNATION_FAILURE                                                = 656, 
    	// The password provided is too long to meet the policy of your user account. Please choose a shorter password.
    	PWD_TOO_LONG                                                       = 657, 
    	// The requested operation could not be completed due to a file system limitation.
    	FILE_SYSTEM_LIMITATION                                             = 665, 
    	// An assertion failure has occurred.
    	ASSERTION_FAILURE                                                  = 668, 
    	// An error occurred in the ACPI subsystem.
    	ACPI_ERROR                                                         = 669, 
    	// WOW Assertion Error.
    	WOW_ASSERTION                                                      = 670, 
    	// A device is missing in the system BIOS MPS table. This device will not be used. Please contact your system vendor for system BIOS update.
    	PNP_BAD_MPS_TABLE                                                  = 671, 
    	// A translator failed to translate resources.
    	PNP_TRANSLATION_FAILED                                             = 672, 
    	// A IRQ translator failed to translate resources.
    	PNP_IRQ_TRANSLATION_FAILED                                         = 673, 
    	// Driver %2 returned invalid ID for a child device (%3).
    	PNP_INVALID_ID                                                     = 674, 
    	// {Kernel Debugger Awakened} the system debugger was awakened by an interrupt.
    	WAKE_SYSTEM_DEBUGGER                                               = 675, 
    	// {Handles Closed} Handles to objects have been automatically closed as a result of the requested operation.
    	HANDLES_CLOSED                                                     = 676, 
    	// {Too Much Information} The specified access control list (ACL) contained more information than was expected.
    	EXTRANEOUS_INFORMATION                                             = 677, 
    	// This warning level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has NOT been completed, but has not been rolled back either (so it may still be committed if desired).
    	RXACT_COMMIT_NECESSARY                                             = 678, 
    	// {Media Changed} The media may have changed.
    	MEDIA_CHECK                                                        = 679, 
    	// {GUID Substitution} During the translation of a global identifier (GUID) to a Windows security ID SID, no administratively-defined GUID prefix was found. A substitute prefix was used, which will not compromise system security. However, this may provide a more restrictive access than intended.
    	GUID_SUBSTITUTION_MADE                                             = 680, 
    	// The create operation stopped after reaching a symbolic link.
    	STOPPED_ON_SYMLINK                                                 = 681, 
    	// A long jump has been executed.
    	LONGJUMP                                                           = 682, 
    	// The Plug and Play query operation was not successful.
    	PLUGPLAY_QUERY_VETOED                                              = 683, 
    	// A frame consolidation has been executed.
    	UNWIND_CONSOLIDATE                                                 = 684, 
    	// {Registry Hive Recovered} Registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.
    	REGISTRY_HIVE_RECOVERED                                            = 685, 
    	// The application is attempting to run executable code from the module %hs. This may be insecure. An alternative, %hs, is available. Should the application use the secure module %hs?
    	DLL_MIGHT_BE_INSECURE                                              = 686, 
    	// The application is loading executable code from the module %hs. This is secure, but may be incompatible with previous releases of the operating system. An alternative, %hs, is available. Should the application use the secure module %hs?
    	DLL_MIGHT_BE_INCOMPATIBLE                                          = 687, 
    	// Debugger did not handle the exception.
    	DBG_EXCEPTION_NOT_HANDLED                                          = 688, 
    	// Debugger will reply later.
    	DBG_REPLY_LATER                                                    = 689, 
    	// Debugger cannot provide handle.
    	DBG_UNABLE_TO_PROVIDE_HANDLE                                       = 690, 
    	// Debugger terminated thread.
    	DBG_TERMINATE_THREAD                                               = 691, 
    	// Debugger terminated process.
    	DBG_TERMINATE_PROCESS                                              = 692, 
    	// Debugger got control C.
    	DBG_CONTROL_C                                                      = 693, 
    	// Debugger printed exception on control C.
    	DBG_PRINTEXCEPTION_C                                               = 694, 
    	// Debugger received RIP exception.
    	DBG_RIPEXCEPTION                                                   = 695, 
    	// Debugger received control break.
    	DBG_CONTROL_BREAK                                                  = 696, 
    	// Debugger command communication exception.
    	DBG_COMMAND_EXCEPTION                                              = 697, 
    	// {Object Exists} An attempt was made to create an object and the object name already existed.
    	OBJECT_NAME_EXISTS                                                 = 698, 
    	// {Thread Suspended} A thread termination occurred while the thread was suspended. The thread was resumed, and termination proceeded.
    	THREAD_WAS_SUSPENDED                                               = 699, 
    	// {Image Relocated} An image file could not be mapped at the address specified in the image file. Local fixups must be performed on this image.
    	IMAGE_NOT_AT_BASE                                                  = 700, 
    	// This informational level status indicates that a specified registry sub-tree transaction state did not yet exist and had to be created.
    	RXACT_STATE_CREATED                                                = 701, 
    	// {Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image. An exception is raised so a debugger can load, unload or track symbols and breakpoints within these 16-bit segments.
    	SEGMENT_NOTIFICATION                                               = 702, 
    	// {Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set current directory to %hs, or select CANCEL to exit.
    	BAD_CURRENT_DIRECTORY                                              = 703, 
    	// {Redundant Read} To satisfy a read request, the NT fault-tolerant file system successfully read the requested data from a redundant copy. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was unable to reassign the failing area of the device.
    	FT_READ_RECOVERY_FROM_BACKUP                                       = 704, 
    	// {Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
    	FT_WRITE_RECOVERY                                                  = 705, 
    	// {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load.
    	IMAGE_MACHINE_TYPE_MISMATCH                                        = 706, 
    	// {Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.
    	RECEIVE_PARTIAL                                                    = 707, 
    	// {Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.
    	RECEIVE_EXPEDITED                                                  = 708, 
    	// {Partial Expedited Data Received} The network transport returned partial data to its client and this data was marked as expedited by the remote system. The remaining data will be sent later.
    	RECEIVE_PARTIAL_EXPEDITED                                          = 709, 
    	// {TDI Event Done} The TDI indication has completed successfully.
    	EVENT_DONE                                                         = 710, 
    	// {TDI Event Pending} The TDI indication has entered the pending state.
    	EVENT_PENDING                                                      = 711, 
    	// Checking file system on %wZ.
    	CHECKING_FILE_SYSTEM                                               = 712, 
    	// {Fatal Application Exit} %hs.
    	FATAL_APP_EXIT                                                     = 713, 
    	// The specified registry key is referenced by a predefined handle.
    	PREDEFINED_HANDLE                                                  = 714, 
    	// {Page Unlocked} The page protection of a locked page was changed to 'No Access' and the page was unlocked from memory and from the process.
    	WAS_UNLOCKED                                                       = 715, 
    	// %hs
    	SERVICE_NOTIFICATION                                               = 716, 
    	// {Page Locked} One of the pages to lock was already locked.
    	WAS_LOCKED                                                         = 717, 
    	// Application popup: %1 : %2
    	LOG_HARD_ERROR                                                     = 718, 
    	// ALREADY_WIN32 = , = 0x2D0,
    	ALREADY_WIN32                                                      = 719,   // {Machine Type Mismatch} The image file %hs is valid, but is for a machine type other than the current machine.
    	// A yield execution was performed and no thread was available to run.
    	NO_YIELD_PERFORMED                                                 = 721, 
    	// The resumable flag to a timer API was ignored.
    	TIMER_RESUME_IGNORED                                               = 722, 
    	// The arbiter has deferred arbitration of these resources to its parent.
    	ARBITRATION_UNHANDLED                                              = 723, 
    	// The inserted CardBus device cannot be started because of a configuration error on "%hs".
    	CARDBUS_NOT_SUPPORTED                                              = 724, 
    	// The CPUs in this multiprocessor system are not all the same revision level. To use all processors the operating system restricts itself to the features of the least capable processor in the system. Should problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.
    	MP_PROCESSOR_MISMATCH                                              = 725, 
    	// The system was put into hibernation.
    	HIBERNATED                                                         = 726, 
    	// The system was resumed from hibernation.
    	RESUME_HIBERNATION                                                 = 727, 
    	// Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].
    	FIRMWARE_UPDATED                                                   = 728, 
    	// A device driver is leaking locked I/O pages causing system degradation. The system has automatically enabled tracking code in order to try and catch the culprit.
    	DRIVERS_LEAKING_LOCKED_PAGES                                       = 729, 
    	// The system has awoken.
    	WAKE_SYSTEM                                                        = 730, 
    	// WAIT_1 = , = 0x2DC,
    	WAIT_1                                                             = 731,   // WAIT_2 = , = 0x2DD, // WAIT_3 = , = 0x2DE, // WAIT_63 = , = 0x2DF, // ABANDONED_WAIT_0 = , = 0x2E0, // ABANDONED_WAIT_63 = , = 0x2E1, // USER_APC = , = 0x2E2, // KERNEL_APC = , = 0x2E3, // ALERTED = , = 0x2E4, // The requested operation requires elevation.
    	// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
    	REPARSE                                                            = 741, 
    	// An open/create operation completed while an oplock break is underway.
    	OPLOCK_BREAK_IN_PROGRESS                                           = 742, 
    	// A new volume has been mounted by a file system.
    	VOLUME_MOUNTED                                                     = 743, 
    	// This success level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has now been completed.
    	RXACT_COMMITTED                                                    = 744, 
    	// This indicates that a notify change request has been completed due to closing the handle which made the notify change request.
    	NOTIFY_CLEANUP                                                     = 745, 
    	// {Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed. The computer WAS able to connect on a secondary transport.
    	PRIMARY_TRANSPORT_CONNECT_FAILED                                   = 746, 
    	// Page fault was a transition fault.
    	PAGE_FAULT_TRANSITION                                              = 747, 
    	// Page fault was a demand zero fault.
    	PAGE_FAULT_DEMAND_ZERO                                             = 748, 
    	// Page fault was a demand zero fault.
    	PAGE_FAULT_COPY_ON_WRITE                                           = 749, 
    	// Page fault was a demand zero fault.
    	PAGE_FAULT_GUARD_PAGE                                              = 750, 
    	// Page fault was satisfied by reading from a secondary storage device.
    	PAGE_FAULT_PAGING_FILE                                             = 751, 
    	// Cached page was locked during operation.
    	CACHE_PAGE_LOCKED                                                  = 752, 
    	// Crash dump exists in paging file.
    	CRASH_DUMP                                                         = 753, 
    	// Specified buffer contains all zeros.
    	BUFFER_ALL_ZEROS                                                   = 754, 
    	// A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link.
    	REPARSE_OBJECT                                                     = 755, 
    	// The device has succeeded a query-stop and its resource requirements have changed.
    	RESOURCE_REQUIREMENTS_CHANGED                                      = 756, 
    	// The translator has translated these resources into the global space and no further translations should be performed.
    	TRANSLATION_COMPLETE                                               = 757, 
    	// A process being terminated has no threads to terminate.
    	NOTHING_TO_TERMINATE                                               = 758, 
    	// The specified process is not part of a job.
    	PROCESS_NOT_IN_JOB                                                 = 759, 
    	// The specified process is part of a job.
    	PROCESS_IN_JOB                                                     = 760, 
    	// {Volume Shadow Copy Service} The system is now ready for hibernation.
    	VOLSNAP_HIBERNATE_READY                                            = 761, 
    	// A file system or file system filter driver has successfully completed an FsFilter operation.
    	FSFILTER_OP_COMPLETED_SUCCESSFULLY                                 = 762, 
    	// The specified interrupt vector was already connected.
    	INTERRUPT_VECTOR_ALREADY_CONNECTED                                 = 763, 
    	// The specified interrupt vector is still connected.
    	INTERRUPT_STILL_CONNECTED                                          = 764, 
    	// An operation is blocked waiting for an oplock.
    	WAIT_FOR_OPLOCK                                                    = 765, 
    	// Debugger handled exception.
    	DBG_EXCEPTION_HANDLED                                              = 766, 
    	// Debugger continued.
    	DBG_CONTINUE                                                       = 767, 
    	// An exception occurred in a user mode callback and the kernel callback frame should be removed.
    	CALLBACK_POP_STACK                                                 = 768, 
    	// Compression is disabled for this volume.
    	COMPRESSION_DISABLED                                               = 769, 
    	// The data provider cannot fetch backwards through a result set.
    	CANTFETCHBACKWARDS                                                 = 770, 
    	// The data provider cannot scroll backwards through a result set.
    	CANTSCROLLBACKWARDS                                                = 771, 
    	// The data provider requires that previously fetched data is released before asking for more data.
    	ROWSNOTRELEASED                                                    = 772, 
    	// The data provider was not able to interpret the flags set for a column binding in an accessor.
    	BAD_ACCESSOR_FLAGS                                                 = 773, 
    	// One or more errors occurred while processing the request.
    	ERRORS_ENCOUNTERED                                                 = 774, 
    	// The implementation is not capable of performing the request.
    	NOT_CAPABLE                                                        = 775, 
    	// The client of a component requested an operation which is not valid given the state of the component instance.
    	REQUEST_OUT_OF_SEQUENCE                                            = 776, 
    	// A version number could not be parsed.
    	VERSION_PARSE_ERROR                                                = 777, 
    	// The iterator's start position is invalid.
    	BADSTARTPOSITION                                                   = 778, 
    	// The hardware has reported an uncorrectable memory error.
    	MEMORY_HARDWARE                                                    = 779, 
    	// The attempted operation required self healing to be enabled.
    	DISK_REPAIR_DISABLED                                               = 780, 
    	// The Desktop heap encountered an error while allocating session memory. There is more information in the system event log.
    	INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE            = 781, 
    	// The system power state is transitioning from %2 to %3.
    	SYSTEM_POWERSTATE_TRANSITION                                       = 782, 
    	// The system power state is transitioning from %2 to %3 but could enter %4.
    	SYSTEM_POWERSTATE_COMPLEX_TRANSITION                               = 783, 
    	// A thread is getting dispatched with MCA EXCEPTION because of MCA.
    	MCA_EXCEPTION                                                      = 784, 
    	// Access to %1 is monitored by policy rule %2.
    	ACCESS_AUDIT_BY_POLICY                                             = 785, 
    	// Access to %1 has been restricted by your Administrator by policy rule %2.
    	ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY                              = 786, 
    	// A valid hibernation file has been invalidated and should be abandoned.
    	ABANDON_HIBERFILE                                                  = 787, 
    	// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused by network connectivity issues. Please try to save this file elsewhere.
    	LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED                         = 788, 
    	// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error was returned by the server on which the file exists. Please try to save this file elsewhere.
    	LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR                         = 789, 
    	// {Delayed Write Failed} Windows was unable to save all the data for the file %hs; the data has been lost. This error may be caused if the device has been removed or the media is write-protected.
    	LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR                             = 790, 
    	// The resources required for this device conflict with the MCFG table.
    	BAD_MCFG_TABLE                                                     = 791, 
    	// The volume repair could not be performed while it is online. Please schedule to take the volume offline so that it can be repaired.
    	DISK_REPAIR_REDIRECTED                                             = 792, 
    	// The volume repair was not successful.
    	DISK_REPAIR_UNSUCCESSFUL                                           = 793, 
    	// One of the volume corruption logs is full. Further corruptions that may be detected won't be logged.
    	CORRUPT_LOG_OVERFULL                                               = 794, 
    	// One of the volume corruption logs is internally corrupted and needs to be recreated. The volume may contain undetected corruptions and must be scanned.
    	CORRUPT_LOG_CORRUPTED                                              = 795, 
    	// One of the volume corruption logs is unavailable for being operated on.
    	CORRUPT_LOG_UNAVAILABLE                                            = 796, 
    	// One of the volume corruption logs was deleted while still having corruption records in them. The volume contains detected corruptions and must be scanned.
    	CORRUPT_LOG_DELETED_FULL                                           = 797, 
    	// One of the volume corruption logs was cleared by chkdsk and no longer contains real corruptions.
    	CORRUPT_LOG_CLEARED                                                = 798, 
    	// Orphaned files exist on the volume but could not be recovered because no more new names could be created in the recovery directory. Files must be moved from the recovery directory.
    	ORPHAN_NAME_EXHAUSTED                                              = 799, 
    	// The oplock that was associated with this handle is now associated with a different handle.
    	OPLOCK_SWITCHED_TO_NEW_HANDLE                                      = 800, 
    	// An oplock of the requested level cannot be granted. An oplock of a lower level may be available.
    	CANNOT_GRANT_REQUESTED_OPLOCK                                      = 801, 
    	// The operation did not complete successfully because it would cause an oplock to be broken. The caller has requested that existing oplocks not be broken.
    	CANNOT_BREAK_OPLOCK                                                = 802, 
    	// The handle with which this oplock was associated has been closed. The oplock is now broken.
    	OPLOCK_HANDLE_CLOSED                                               = 803, 
    	// The specified access control entry (ACE) does not contain a condition.
    	NO_ACE_CONDITION                                                   = 804, 
    	// The specified access control entry (ACE) contains an invalid condition.
    	INVALID_ACE_CONDITION                                              = 805, 
    	// Access to the specified file handle has been revoked.
    	FILE_HANDLE_REVOKED                                                = 806, 
    	// An image file was mapped at a different address from the one specified in the image file but fixups will still be automatically performed on the image.
    	IMAGE_AT_DIFFERENT_BASE                                            = 807, 
    	// Access to the extended attribute was denied.
    	EA_ACCESS_DENIED                                                   = 994, 
    	// The I/O operation has been aborted because of either a thread exit or an application request.
    	OPERATION_ABORTED                                                  = 995, 
    	// Overlapped I/O event is not in a signaled state.
    	IO_INCOMPLETE                                                      = 996, 
    	// Overlapped I/O operation is in progress.
    	IO_PENDING                                                         = 997, 
    	// Invalid access to memory location.
    	NOACCESS                                                           = 998, 
    	// Error performing inpage operation.
    	SWAPERROR                                                          = 999, 
    	// Recursion too deep; the stack overflowed.
    	STACK_OVERFLOW                                                     = 1001, 
    	// The window cannot act on the sent message.
    	INVALID_MESSAGE                                                    = 1002, 
    	// Cannot complete this function.
    	CAN_NOT_COMPLETE                                                   = 1003, 
    	// Invalid flags.
    	INVALID_FLAGS                                                      = 1004, 
    	// The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted.
    	UNRECOGNIZED_VOLUME                                                = 1005, 
    	// The volume for a file has been externally altered so that the opened file is no longer valid.
    	FILE_INVALID                                                       = 1006, 
    	// The requested operation cannot be performed in full-screen mode.
    	FULLSCREEN_MODE                                                    = 1007, 
    	// An attempt was made to reference a token that does not exist.
    	NO_TOKEN                                                           = 1008, 
    	// The configuration registry database is corrupt.
    	BADDB                                                              = 1009, 
    	// The configuration registry key is invalid.
    	BADKEY                                                             = 1010, 
    	// The configuration registry key could not be opened.
    	CANTOPEN                                                           = 1011, 
    	// The configuration registry key could not be read.
    	CANTREAD                                                           = 1012, 
    	// The configuration registry key could not be written.
    	CANTWRITE                                                          = 1013, 
    	// One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful.
    	REGISTRY_RECOVERED                                                 = 1014, 
    	// The registry is corrupted. The structure of one of the files containing registry data is corrupted, or the system's memory image of the file is corrupted, or the file could not be recovered because the alternate copy or log was absent or corrupted.
    	REGISTRY_CORRUPT                                                   = 1015, 
    	// An I/O operation initiated by the registry failed unrecoverably. The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry.
    	REGISTRY_IO_FAILED                                                 = 1016, 
    	// The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
    	NOT_REGISTRY_FILE                                                  = 1017, 
    	// Illegal operation attempted on a registry key that has been marked for deletion.
    	KEY_DELETED                                                        = 1018, 
    	// System could not allocate the required space in a registry log.
    	NO_LOG_SPACE                                                       = 1019, 
    	// Cannot create a symbolic link in a registry key that already has subkeys or values.
    	KEY_HAS_CHILDREN                                                   = 1020, 
    	// Cannot create a stable subkey under a volatile parent key.
    	CHILD_MUST_BE_VOLATILE                                             = 1021, 
    	// A notify change request is being completed and the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes.
    	NOTIFY_ENUM_DIR                                                    = 1022, 
    	// A stop control has been sent to a service that other running services are dependent on.
    	DEPENDENT_SERVICES_RUNNING                                         = 1051, 
    	// The requested control is not valid for this service.
    	INVALID_SERVICE_CONTROL                                            = 1052, 
    	// The service did not respond to the start or control request in a timely fashion.
    	SERVICE_REQUEST_TIMEOUT                                            = 1053, 
    	// A thread could not be created for the service.
    	SERVICE_NO_THREAD                                                  = 1054, 
    	// The service database is locked.
    	SERVICE_DATABASE_LOCKED                                            = 1055, 
    	// An instance of the service is already running.
    	SERVICE_ALREADY_RUNNING                                            = 1056, 
    	// The account name is invalid or does not exist, or the password is invalid for the account name specified.
    	INVALID_SERVICE_ACCOUNT                                            = 1057, 
    	// The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
    	SERVICE_DISABLED                                                   = 1058, 
    	// Circular service dependency was specified.
    	CIRCULAR_DEPENDENCY                                                = 1059, 
    	// The specified service does not exist as an installed service.
    	SERVICE_DOES_NOT_EXIST                                             = 1060, 
    	// The service cannot accept control messages at this time.
    	SERVICE_CANNOT_ACCEPT_CTRL                                         = 1061, 
    	// The service has not been started.
    	SERVICE_NOT_ACTIVE                                                 = 1062, 
    	// The service process could not connect to the service controller.
    	FAILED_SERVICE_CONTROLLER_CONNECT                                  = 1063, 
    	// An exception occurred in the service when handling the control request.
    	EXCEPTION_IN_SERVICE                                               = 1064, 
    	// The database specified does not exist.
    	DATABASE_DOES_NOT_EXIST                                            = 1065, 
    	// The service has returned a service-specific error code.
    	SERVICE_SPECIFIC_ERROR                                             = 1066, 
    	// The process terminated unexpectedly.
    	PROCESS_ABORTED                                                    = 1067, 
    	// The dependency service or group failed to start.
    	SERVICE_DEPENDENCY_FAIL                                            = 1068, 
    	// The service did not start due to a logon failure.
    	SERVICE_LOGON_FAILED                                               = 1069, 
    	// After starting, the service hung in a start-pending state.
    	SERVICE_START_HANG                                                 = 1070, 
    	// The specified service database lock is invalid.
    	INVALID_SERVICE_LOCK                                               = 1071, 
    	// The specified service has been marked for deletion.
    	SERVICE_MARKED_FOR_DELETE                                          = 1072, 
    	// The specified service already exists.
    	SERVICE_EXISTS                                                     = 1073, 
    	// The system is currently running with the last-known-good configuration.
    	ALREADY_RUNNING_LKG                                                = 1074, 
    	// The dependency service does not exist or has been marked for deletion.
    	SERVICE_DEPENDENCY_DELETED                                         = 1075, 
    	// The current boot has already been accepted for use as the last-known-good control set.
    	BOOT_ALREADY_ACCEPTED                                              = 1076, 
    	// No attempts to start the service have been made since the last boot.
    	SERVICE_NEVER_STARTED                                              = 1077, 
    	// The name is already in use as either a service name or a service display name.
    	DUPLICATE_SERVICE_NAME                                             = 1078, 
    	// The account specified for this service is different from the account specified for other services running in the same process.
    	DIFFERENT_SERVICE_ACCOUNT                                          = 1079, 
    	// Failure actions can only be set for Win32 services, not for drivers.
    	CANNOT_DETECT_DRIVER_FAILURE                                       = 1080, 
    	// This service runs in the same process as the service control manager. Therefore, the service control manager cannot take action if this service's process terminates unexpectedly.
    	CANNOT_DETECT_PROCESS_ABORT                                        = 1081, 
    	// No recovery program has been configured for this service.
    	NO_RECOVERY_PROGRAM                                                = 1082, 
    	// The executable program that this service is configured to run in does not implement the service.
    	SERVICE_NOT_IN_EXE                                                 = 1083, 
    	// This service cannot be started in Safe Mode.
    	NOT_SAFEBOOT_SERVICE                                               = 1084, 
    	// The physical end of the tape has been reached.
    	END_OF_MEDIA                                                       = 1100, 
    	// A tape access reached a filemark.
    	FILEMARK_DETECTED                                                  = 1101, 
    	// The beginning of the tape or a partition was encountered.
    	BEGINNING_OF_MEDIA                                                 = 1102, 
    	// A tape access reached the end of a set of files.
    	SETMARK_DETECTED                                                   = 1103, 
    	// No more data is on the tape.
    	NO_DATA_DETECTED                                                   = 1104, 
    	// Tape could not be partitioned.
    	PARTITION_FAILURE                                                  = 1105, 
    	// When accessing a new tape of a multivolume partition, the current block size is incorrect.
    	INVALID_BLOCK_LENGTH                                               = 1106, 
    	// Tape partition information could not be found when loading a tape.
    	DEVICE_NOT_PARTITIONED                                             = 1107, 
    	// Unable to lock the media eject mechanism.
    	UNABLE_TO_LOCK_MEDIA                                               = 1108, 
    	// Unable to unload the media.
    	UNABLE_TO_UNLOAD_MEDIA                                             = 1109, 
    	// The media in the drive may have changed.
    	MEDIA_CHANGED                                                      = 1110, 
    	// The I/O bus was reset.
    	BUS_RESET                                                          = 1111, 
    	// No media in drive.
    	NO_MEDIA_IN_DRIVE                                                  = 1112, 
    	// No mapping for the Unicode character exists in the target multi-byte code page.
    	NO_UNICODE_TRANSLATION                                             = 1113, 
    	// A dynamic link library (DLL) initialization routine failed.
    	DLL_INIT_FAILED                                                    = 1114, 
    	// A system shutdown is in progress.
    	SHUTDOWN_IN_PROGRESS                                               = 1115, 
    	// Unable to abort the system shutdown because no shutdown was in progress.
    	NO_SHUTDOWN_IN_PROGRESS                                            = 1116, 
    	// The request could not be performed because of an I/O device error.
    	IO_DEVICE                                                          = 1117, 
    	// No serial device was successfully initialized. The serial driver will unload.
    	SERIAL_NO_DEVICE                                                   = 1118, 
    	// Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened.
    	IRQ_BUSY                                                           = 1119, 
    	// A serial I/O operation was completed by another write to the serial port. The IOCTL_SERIAL_XOFF_COUNTER reached zero.)
    	MORE_WRITES                                                        = 1120, 
    	// A serial I/O operation completed because the timeout period expired. The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.)
    	COUNTER_TIMEOUT                                                    = 1121, 
    	// No ID address mark was found on the floppy disk.
    	FLOPPY_ID_MARK_NOT_FOUND                                           = 1122, 
    	// Mismatch between the floppy disk sector ID field and the floppy disk controller track address.
    	FLOPPY_WRONG_CYLINDER                                              = 1123, 
    	// The floppy disk controller reported an error that is not recognized by the floppy disk driver.
    	FLOPPY_UNKNOWN_ERROR                                               = 1124, 
    	// The floppy disk controller returned inconsistent results in its registers.
    	FLOPPY_BAD_REGISTERS                                               = 1125, 
    	// While accessing the hard disk, a recalibrate operation failed, even after retries.
    	DISK_RECALIBRATE_FAILED                                            = 1126, 
    	// While accessing the hard disk, a disk operation failed even after retries.
    	DISK_OPERATION_FAILED                                              = 1127, 
    	// While accessing the hard disk, a disk controller reset was needed, but even that failed.
    	DISK_RESET_FAILED                                                  = 1128, 
    	// Physical end of tape encountered.
    	EOM_OVERFLOW                                                       = 1129, 
    	// Not enough server storage is available to process this command.
    	NOT_ENOUGH_SERVER_MEMORY                                           = 1130, 
    	// A potential deadlock condition has been detected.
    	POSSIBLE_DEADLOCK                                                  = 1131, 
    	// The base address or the file offset specified does not have the proper alignment.
    	MAPPED_ALIGNMENT                                                   = 1132, 
    	// An attempt to change the system power state was vetoed by another application or driver.
    	SET_POWER_STATE_VETOED                                             = 1140, 
    	// The system BIOS failed an attempt to change the system power state.
    	SET_POWER_STATE_FAILED                                             = 1141, 
    	// An attempt was made to create more links on a file than the file system supports.
    	TOO_MANY_LINKS                                                     = 1142, 
    	// The specified program requires a newer version of Windows.
    	OLD_WIN_VERSION                                                    = 1150, 
    	// The specified program is not a Windows or MS-DOS program.
    	APP_WRONG_OS                                                       = 1151, 
    	// Cannot start more than one instance of the specified program.
    	SINGLE_INSTANCE_APP                                                = 1152, 
    	// The specified program was written for an earlier version of Windows.
    	RMODE_APP                                                          = 1153, 
    	// One of the library files needed to run this application is damaged.
    	INVALID_DLL                                                        = 1154, 
    	// No application is associated with the specified file for this operation.
    	NO_ASSOCIATION                                                     = 1155, 
    	// An error occurred in sending the command to the application.
    	DDE_FAIL                                                           = 1156, 
    	// One of the library files needed to run this application cannot be found.
    	DLL_NOT_FOUND                                                      = 1157, 
    	// The current process has used all of its system allowance of handles for Window Manager objects.
    	NO_MORE_USER_HANDLES                                               = 1158, 
    	// The message can be used only with synchronous operations.
    	MESSAGE_SYNC_ONLY                                                  = 1159, 
    	// The indicated source element has no media.
    	SOURCE_ELEMENT_EMPTY                                               = 1160, 
    	// The indicated destination element already contains media.
    	DESTINATION_ELEMENT_FULL                                           = 1161, 
    	// The indicated element does not exist.
    	ILLEGAL_ELEMENT_ADDRESS                                            = 1162, 
    	// The indicated element is part of a magazine that is not present.
    	MAGAZINE_NOT_PRESENT                                               = 1163, 
    	// The indicated device requires reinitialization due to hardware errors.
    	DEVICE_REINITIALIZATION_NEEDED                                     = 1164, 
    	// The device has indicated that cleaning is required before further operations are attempted.
    	DEVICE_REQUIRES_CLEANING                                           = 1165, 
    	// The device has indicated that its door is open.
    	DEVICE_DOOR_OPEN                                                   = 1166, 
    	// The device is not connected.
    	DEVICE_NOT_CONNECTED                                               = 1167, 
    	// Element not found.
    	NOT_FOUND                                                          = 1168, 
    	// There was no match for the specified key in the index.
    	NO_MATCH                                                           = 1169, 
    	// The property set specified does not exist on the object.
    	SET_NOT_FOUND                                                      = 1170, 
    	// The point passed to GetMouseMovePoints is not in the buffer.
    	POINT_NOT_FOUND                                                    = 1171, 
    	// The tracking (workstation) service is not running.
    	NO_TRACKING_SERVICE                                                = 1172, 
    	// The Volume ID could not be found.
    	NO_VOLUME_ID                                                       = 1173, 
    	// Unable to remove the file to be replaced.
    	UNABLE_TO_REMOVE_REPLACED                                          = 1175, 
    	// Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name.
    	UNABLE_TO_MOVE_REPLACEMENT                                         = 1176, 
    	// Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name.
    	UNABLE_TO_MOVE_REPLACEMENT_2                                       = 1177, 
    	// The volume change journal is being deleted.
    	JOURNAL_DELETE_IN_PROGRESS                                         = 1178, 
    	// The volume change journal is not active.
    	JOURNAL_NOT_ACTIVE                                                 = 1179, 
    	// A file was found, but it may not be the correct file.
    	POTENTIAL_FILE_FOUND                                               = 1180, 
    	// The journal entry has been deleted from the journal.
    	JOURNAL_ENTRY_DELETED                                              = 1181, 
    	// A system shutdown has already been scheduled.
    	SHUTDOWN_IS_SCHEDULED                                              = 1190, 
    	// The system shutdown cannot be initiated because there are other users logged on to the computer.
    	SHUTDOWN_USERS_LOGGED_ON                                           = 1191, 
    	// The specified device name is invalid.
    	BAD_DEVICE                                                         = 1200, 
    	// The device is not currently connected but it is a remembered connection.
    	CONNECTION_UNAVAIL                                                 = 1201, 
    	// The local device name has a remembered connection to another network resource.
    	DEVICE_ALREADY_REMEMBERED                                          = 1202, 
    	// The network path was either typed incorrectly, does not exist, or the network provider is not currently available. Please try retyping the path or contact your network administrator.
    	NO_NET_OR_BAD_PATH                                                 = 1203, 
    	// The specified network provider name is invalid.
    	BAD_PROVIDER                                                       = 1204, 
    	// Unable to open the network connection profile.
    	CANNOT_OPEN_PROFILE                                                = 1205, 
    	// The network connection profile is corrupted.
    	BAD_PROFILE                                                        = 1206, 
    	// Cannot enumerate a noncontainer.
    	NOT_CONTAINER                                                      = 1207, 
    	// An extended error has occurred.
    	EXTENDED_ERROR                                                     = 1208, 
    	// The format of the specified group name is invalid.
    	INVALID_GROUPNAME                                                  = 1209, 
    	// The format of the specified computer name is invalid.
    	INVALID_COMPUTERNAME                                               = 1210, 
    	// The format of the specified event name is invalid.
    	INVALID_EVENTNAME                                                  = 1211, 
    	// The format of the specified domain name is invalid.
    	INVALID_DOMAINNAME                                                 = 1212, 
    	// The format of the specified service name is invalid.
    	INVALID_SERVICENAME                                                = 1213, 
    	// The format of the specified network name is invalid.
    	INVALID_NETNAME                                                    = 1214, 
    	// The format of the specified share name is invalid.
    	INVALID_SHARENAME                                                  = 1215, 
    	// The format of the specified password is invalid.
    	INVALID_PASSWORDNAME                                               = 1216, 
    	// The format of the specified message name is invalid.
    	INVALID_MESSAGENAME                                                = 1217, 
    	// The format of the specified message destination is invalid.
    	INVALID_MESSAGEDEST                                                = 1218, 
    	// Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
    	SESSION_CREDENTIAL_CONFLICT                                        = 1219, 
    	// An attempt was made to establish a session to a network server, but there are already too many sessions established to that server.
    	REMOTE_SESSION_LIMIT_EXCEEDED                                      = 1220, 
    	// The workgroup or domain name is already in use by another computer on the network.
    	DUP_DOMAINNAME                                                     = 1221, 
    	// The network is not present or not started.
    	NO_NETWORK                                                         = 1222, 
    	// The operation was canceled by the user.
    	CANCELLED                                                          = 1223, 
    	// The requested operation cannot be performed on a file with a user-mapped section open.
    	USER_MAPPED_FILE                                                   = 1224, 
    	// The remote computer refused the network connection.
    	CONNECTION_REFUSED                                                 = 1225, 
    	// The network connection was gracefully closed.
    	GRACEFUL_DISCONNECT                                                = 1226, 
    	// The network transport endpoint already has an address associated with it.
    	ADDRESS_ALREADY_ASSOCIATED                                         = 1227, 
    	// An address has not yet been associated with the network endpoint.
    	ADDRESS_NOT_ASSOCIATED                                             = 1228, 
    	// An operation was attempted on a nonexistent network connection.
    	CONNECTION_INVALID                                                 = 1229, 
    	// An invalid operation was attempted on an active network connection.
    	CONNECTION_ACTIVE                                                  = 1230, 
    	// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
    	NETWORK_UNREACHABLE                                                = 1231, 
    	// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
    	HOST_UNREACHABLE                                                   = 1232, 
    	// The network location cannot be reached. For information about network troubleshooting, see Windows Help.
    	PROTOCOL_UNREACHABLE                                               = 1233, 
    	// No service is operating at the destination network endpoint on the remote system.
    	PORT_UNREACHABLE                                                   = 1234, 
    	// The request was aborted.
    	REQUEST_ABORTED                                                    = 1235, 
    	// The network connection was aborted by the local system.
    	CONNECTION_ABORTED                                                 = 1236, 
    	// The operation could not be completed. A retry should be performed.
    	RETRY                                                              = 1237, 
    	// A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached.
    	CONNECTION_COUNT_LIMIT                                             = 1238, 
    	// Attempting to log in during an unauthorized time of day for this account.
    	LOGIN_TIME_RESTRICTION                                             = 1239, 
    	// The account is not authorized to log in from this station.
    	LOGIN_WKSTA_RESTRICTION                                            = 1240, 
    	// The network address could not be used for the operation requested.
    	INCORRECT_ADDRESS                                                  = 1241, 
    	// The service is already registered.
    	ALREADY_REGISTERED                                                 = 1242, 
    	// The specified service does not exist.
    	SERVICE_NOT_FOUND                                                  = 1243, 
    	// The operation being requested was not performed because the user has not been authenticated.
    	NOT_AUTHENTICATED                                                  = 1244, 
    	// The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
    	NOT_LOGGED_ON                                                      = 1245, 
    	// Continue with work in progress.
    	CONTINUE                                                           = 1246, 
    	// An attempt was made to perform an initialization operation when initialization has already been completed.
    	ALREADY_INITIALIZED                                                = 1247, 
    	// No more local devices.
    	NO_MORE_DEVICES                                                    = 1248, 
    	// The specified site does not exist.
    	NO_SUCH_SITE                                                       = 1249, 
    	// A domain controller with the specified name already exists.
    	DOMAIN_CONTROLLER_EXISTS                                           = 1250, 
    	// This operation is supported only when you are connected to the server.
    	ONLY_IF_CONNECTED                                                  = 1251, 
    	// The group policy framework should call the extension even if there are no changes.
    	OVERRIDE_NOCHANGES                                                 = 1252, 
    	// The specified user does not have a valid profile.
    	BAD_USER_PROFILE                                                   = 1253, 
    	// This operation is not supported on a computer running Windows Server 2003 for Small Business Server.
    	NOT_SUPPORTED_ON_SBS                                               = 1254, 
    	// The server machine is shutting down.
    	SERVER_SHUTDOWN_IN_PROGRESS                                        = 1255, 
    	// The remote system is not available. For information about network troubleshooting, see Windows Help.
    	HOST_DOWN                                                          = 1256, 
    	// The security identifier provided is not from an account domain.
    	NON_ACCOUNT_SID                                                    = 1257, 
    	// The security identifier provided does not have a domain component.
    	NON_DOMAIN_SID                                                     = 1258, 
    	// AppHelp dialog canceled thus preventing the application from starting.
    	APPHELP_BLOCK                                                      = 1259, 
    	// This program is blocked by group policy. For more information, contact your system administrator.
    	ACCESS_DISABLED_BY_POLICY                                          = 1260, 
    	// A program attempt to use an invalid register value. Normally caused by an uninitialized register. This error is Itanium specific.
    	REG_NAT_CONSUMPTION                                                = 1261, 
    	// The share is currently offline or does not exist.
    	CSCSHARE_OFFLINE                                                   = 1262, 
    	// The Kerberos protocol encountered an error while validating the KDC certificate during smartcard logon. There is more information in the system event log.
    	PKINIT_FAILURE                                                     = 1263, 
    	// The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
    	SMARTCARD_SUBSYSTEM_FAILURE                                        = 1264, 
    	// The system cannot contact a domain controller to service the authentication request. Please try again later.
    	DOWNGRADE_DETECTED                                                 = 1265, 
    	// The machine is locked and cannot be shut down without the force option.
    	MACHINE_LOCKED                                                     = 1271, 
    	// An application-defined callback gave invalid data when called.
    	CALLBACK_SUPPLIED_INVALID_DATA                                     = 1273, 
    	// The group policy framework should call the extension in the synchronous foreground policy refresh.
    	SYNC_FOREGROUND_REFRESH_REQUIRED                                   = 1274, 
    	// This driver has been blocked from loading.
    	DRIVER_BLOCKED                                                     = 1275, 
    	// A dynamic link library (DLL) referenced a module that was neither a DLL nor the process's executable image.
    	INVALID_IMPORT_OF_NON_DLL                                          = 1276, 
    	// Windows cannot open this program since it has been disabled.
    	ACCESS_DISABLED_WEBBLADE                                           = 1277, 
    	// Windows cannot open this program because the license enforcement system has been tampered with or become corrupted.
    	ACCESS_DISABLED_WEBBLADE_TAMPER                                    = 1278, 
    	// A transaction recover failed.
    	RECOVERY_FAILURE                                                   = 1279, 
    	// The current thread has already been converted to a fiber.
    	ALREADY_FIBER                                                      = 1280, 
    	// The current thread has already been converted from a fiber.
    	ALREADY_THREAD                                                     = 1281, 
    	// The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
    	STACK_BUFFER_OVERRUN                                               = 1282, 
    	// Data present in one of the parameters is more than the function can operate on.
    	PARAMETER_QUOTA_EXCEEDED                                           = 1283, 
    	// An attempt to do an operation on a debug object failed because the object is in the process of being deleted.
    	DEBUGGER_INACTIVE                                                  = 1284, 
    	// An attempt to delay-load a .dll or get a function address in a delay-loaded .dll failed.
    	DELAY_LOAD_FAILED                                                  = 1285, 
    	// %1 is a 16-bit application. You do not have permissions to execute 16-bit applications. Check your permissions with your system administrator.
    	VDM_DISALLOWED                                                     = 1286, 
    	// Insufficient information exists to identify the cause of failure.
    	UNIDENTIFIED_ERROR                                                 = 1287, 
    	// The parameter passed to a C runtime function is incorrect.
    	INVALID_CRUNTIME_PARAMETER                                         = 1288, 
    	// The operation occurred beyond the valid data length of the file.
    	BEYOND_VDL                                                         = 1289, 
    	// The service start failed since one or more services in the same process have an incompatible service SID type setting. A service with restricted service SID type can only coexist in the same process with other services with a restricted SID type. If the service SID type for this service was just configured, the hosting process must be restarted in order to start this service.
    	// On Windows Server 2003 and Windows XP, an unrestricted service cannot coexist in the same process with other services. The service with the unrestricted service SID type must be moved to an owned process in order to start this service.
    	INCOMPATIBLE_SERVICE_SID_TYPE                                      = 1290, 
    	// The process hosting the driver for this device has been terminated.
    	DRIVER_PROCESS_TERMINATED                                          = 1291, 
    	// An operation attempted to exceed an implementation-defined limit.
    	IMPLEMENTATION_LIMIT                                               = 1292, 
    	// Either the target process, or the target thread's containing process, is a protected process.
    	PROCESS_IS_PROTECTED                                               = 1293, 
    	// The service notification client is lagging too far behind the current state of services in the machine.
    	SERVICE_NOTIFY_CLIENT_LAGGING                                      = 1294, 
    	// The requested file operation failed because the storage quota was exceeded. To free up disk space, move files to a different location or delete unnecessary files. For more information, contact your system administrator.
    	DISK_QUOTA_EXCEEDED                                                = 1295, 
    	// The requested file operation failed because the storage policy blocks that type of file. For more information, contact your system administrator.
    	CONTENT_BLOCKED                                                    = 1296, 
    	// A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration.
    	INCOMPATIBLE_SERVICE_PRIVILEGE                                     = 1297, 
    	// A thread involved in this operation appears to be unresponsive.
    	APP_HANG                                                           = 1298, 
    	// Indicates a particular Security ID may not be assigned as the label of an object.
    	INVALID_LABEL                                                      = 1299, 
    	// Not all privileges or groups referenced are assigned to the caller.
    	NOT_ALL_ASSIGNED                                                   = 1300, 
    	// Some mapping between account names and security IDs was not done.
    	SOME_NOT_MAPPED                                                    = 1301, 
    	// No system quota limits are specifically set for this account.
    	NO_QUOTAS_FOR_ACCOUNT                                              = 1302, 
    	// No encryption key is available. A well-known encryption key was returned.
    	LOCAL_USER_SESSION_KEY                                             = 1303, 
    	// The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string.
    	NULL_LM_PASSWORD                                                   = 1304, 
    	// The revision level is unknown.
    	UNKNOWN_REVISION                                                   = 1305, 
    	// Indicates two revision levels are incompatible.
    	REVISION_MISMATCH                                                  = 1306, 
    	// This security ID may not be assigned as the owner of this object.
    	INVALID_OWNER                                                      = 1307, 
    	// This security ID may not be assigned as the primary group of an object.
    	INVALID_PRIMARY_GROUP                                              = 1308, 
    	// An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
    	NO_IMPERSONATION_TOKEN                                             = 1309, 
    	// The group may not be disabled.
    	CANT_DISABLE_MANDATORY                                             = 1310, 
    	// There are currently no logon servers available to service the logon request.
    	NO_LOGON_SERVERS                                                   = 1311, 
    	// A specified logon session does not exist. It may already have been terminated.
    	NO_SUCH_LOGON_SESSION                                              = 1312, 
    	// A specified privilege does not exist.
    	NO_SUCH_PRIVILEGE                                                  = 1313, 
    	// A required privilege is not held by the client.
    	PRIVILEGE_NOT_HELD                                                 = 1314, 
    	// The name provided is not a properly formed account name.
    	INVALID_ACCOUNT_NAME                                               = 1315, 
    	// The specified account already exists.
    	USER_EXISTS                                                        = 1316, 
    	// The specified account does not exist.
    	NO_SUCH_USER                                                       = 1317, 
    	// The specified group already exists.
    	GROUP_EXISTS                                                       = 1318, 
    	// The specified group does not exist.
    	NO_SUCH_GROUP                                                      = 1319, 
    	// Either the specified user account is already a member of the specified group, or the specified group cannot be deleted because it contains a member.
    	MEMBER_IN_GROUP                                                    = 1320, 
    	// The specified user account is not a member of the specified group account.
    	MEMBER_NOT_IN_GROUP                                                = 1321, 
    	// This operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on.
    	LAST_ADMIN                                                         = 1322, 
    	// Unable to update the password. The value provided as the current password is incorrect.
    	WRONG_PASSWORD                                                     = 1323, 
    	// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.
    	ILL_FORMED_PASSWORD                                                = 1324, 
    	// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
    	PASSWORD_RESTRICTION                                               = 1325, 
    	// The user name or password is incorrect.
    	LOGON_FAILURE                                                      = 1326, 
    	// Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
    	ACCOUNT_RESTRICTION                                                = 1327, 
    	// Your account has time restrictions that keep you from signing in right now.
    	INVALID_LOGON_HOURS                                                = 1328, 
    	// This user isn't allowed to sign in to this computer.
    	INVALID_WORKSTATION                                                = 1329, 
    	// The password for this account has expired.
    	PASSWORD_EXPIRED                                                   = 1330, 
    	// This user can't sign in because this account is currently disabled.
    	ACCOUNT_DISABLED                                                   = 1331, 
    	// No mapping between account names and security IDs was done.
    	NONE_MAPPED                                                        = 1332, 
    	// Too many local user identifiers (LUIDs) were requested at one time.
    	TOO_MANY_LUIDS_REQUESTED                                           = 1333, 
    	// No more local user identifiers (LUIDs) are available.
    	LUIDS_EXHAUSTED                                                    = 1334, 
    	// The subauthority part of a security ID is invalid for this particular use.
    	INVALID_SUB_AUTHORITY                                              = 1335, 
    	// The access control list (ACL) structure is invalid.
    	INVALID_ACL                                                        = 1336, 
    	// The security ID structure is invalid.
    	INVALID_SID                                                        = 1337, 
    	// The security descriptor structure is invalid.
    	INVALID_SECURITY_DESCR                                             = 1338, 
    	// The inherited access control list (ACL) or access control entry (ACE) could not be built.
    	BAD_INHERITANCE_ACL                                                = 1340, 
    	// The server is currently disabled.
    	SERVER_DISABLED                                                    = 1341, 
    	// The server is currently enabled.
    	SERVER_NOT_DISABLED                                                = 1342, 
    	// The value provided was an invalid value for an identifier authority.
    	INVALID_ID_AUTHORITY                                               = 1343, 
    	// No more memory is available for security information updates.
    	ALLOTTED_SPACE_EXCEEDED                                            = 1344, 
    	// The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
    	INVALID_GROUP_ATTRIBUTES                                           = 1345, 
    	// Either a required impersonation level was not provided, or the provided impersonation level is invalid.
    	BAD_IMPERSONATION_LEVEL                                            = 1346, 
    	// Cannot open an anonymous level security token.
    	CANT_OPEN_ANONYMOUS                                                = 1347, 
    	// The validation information class requested was invalid.
    	BAD_VALIDATION_CLASS                                               = 1348, 
    	// The type of the token is inappropriate for its attempted use.
    	BAD_TOKEN_TYPE                                                     = 1349, 
    	// Unable to perform a security operation on an object that has no associated security.
    	NO_SECURITY_ON_OBJECT                                              = 1350, 
    	// Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
    	CANT_ACCESS_DOMAIN_INFO                                            = 1351, 
    	// The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
    	INVALID_SERVER_STATE                                               = 1352, 
    	// The domain was in the wrong state to perform the security operation.
    	INVALID_DOMAIN_STATE                                               = 1353, 
    	// This operation is only allowed for the Primary Domain Controller of the domain.
    	INVALID_DOMAIN_ROLE                                                = 1354, 
    	// The specified domain either does not exist or could not be contacted.
    	NO_SUCH_DOMAIN                                                     = 1355, 
    	// The specified domain already exists.
    	DOMAIN_EXISTS                                                      = 1356, 
    	// An attempt was made to exceed the limit on the number of domains per server.
    	DOMAIN_LIMIT_EXCEEDED                                              = 1357, 
    	// Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
    	INTERNAL_DB_CORRUPTION                                             = 1358, 
    	// An internal error occurred.
    	INTERNAL_ERROR                                                     = 1359, 
    	// Generic access types were contained in an access mask which should already be mapped to nongeneric types.
    	GENERIC_NOT_MAPPED                                                 = 1360, 
    	// A security descriptor is not in the right format (absolute or self-relative).
    	BAD_DESCRIPTOR_FORMAT                                              = 1361, 
    	// The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.
    	NOT_LOGON_PROCESS                                                  = 1362, 
    	// Cannot start a new logon session with an ID that is already in use.
    	LOGON_SESSION_EXISTS                                               = 1363, 
    	// A specified authentication package is unknown.
    	NO_SUCH_PACKAGE                                                    = 1364, 
    	// The logon session is not in a state that is consistent with the requested operation.
    	BAD_LOGON_SESSION_STATE                                            = 1365, 
    	// The logon session ID is already in use.
    	LOGON_SESSION_COLLISION                                            = 1366, 
    	// A logon request contained an invalid logon type value.
    	INVALID_LOGON_TYPE                                                 = 1367, 
    	// Unable to impersonate using a named pipe until data has been read from that pipe.
    	CANNOT_IMPERSONATE                                                 = 1368, 
    	// The transaction state of a registry subtree is incompatible with the requested operation.
    	RXACT_INVALID_STATE                                                = 1369, 
    	// An internal security database corruption has been encountered.
    	RXACT_COMMIT_FAILURE                                               = 1370, 
    	// Cannot perform this operation on built-in accounts.
    	SPECIAL_ACCOUNT                                                    = 1371, 
    	// Cannot perform this operation on this built-in special group.
    	SPECIAL_GROUP                                                      = 1372, 
    	// Cannot perform this operation on this built-in special user.
    	SPECIAL_USER                                                       = 1373, 
    	// The user cannot be removed from a group because the group is currently the user's primary group.
    	MEMBERS_PRIMARY_GROUP                                              = 1374, 
    	// The token is already in use as a primary token.
    	TOKEN_ALREADY_IN_USE                                               = 1375, 
    	// The specified local group does not exist.
    	NO_SUCH_ALIAS                                                      = 1376, 
    	// The specified account name is not a member of the group.
    	MEMBER_NOT_IN_ALIAS                                                = 1377, 
    	// The specified account name is already a member of the group.
    	MEMBER_IN_ALIAS                                                    = 1378, 
    	// The specified local group already exists.
    	ALIAS_EXISTS                                                       = 1379, 
    	// Logon failure: the user has not been granted the requested logon type at this computer.
    	LOGON_NOT_GRANTED                                                  = 1380, 
    	// The maximum number of secrets that may be stored in a single system has been exceeded.
    	TOO_MANY_SECRETS                                                   = 1381, 
    	// The length of a secret exceeds the maximum length allowed.
    	SECRET_TOO_LONG                                                    = 1382, 
    	// The local security authority database contains an internal inconsistency.
    	INTERNAL_DB_ERROR                                                  = 1383, 
    	// During a logon attempt, the user's security context accumulated too many security IDs.
    	TOO_MANY_CONTEXT_IDS                                               = 1384, 
    	// Logon failure: the user has not been granted the requested logon type at this computer.
    	LOGON_TYPE_NOT_GRANTED                                             = 1385, 
    	// A cross-encrypted password is necessary to change a user password.
    	NT_CROSS_ENCRYPTION_REQUIRED                                       = 1386, 
    	// A member could not be added to or removed from the local group because the member does not exist.
    	NO_SUCH_MEMBER                                                     = 1387, 
    	// A new member could not be added to a local group because the member has the wrong account type.
    	INVALID_MEMBER                                                     = 1388, 
    	// Too many security IDs have been specified.
    	TOO_MANY_SIDS                                                      = 1389, 
    	// A cross-encrypted password is necessary to change this user password.
    	LM_CROSS_ENCRYPTION_REQUIRED                                       = 1390, 
    	// Indicates an ACL contains no inheritable components.
    	NO_INHERITANCE                                                     = 1391, 
    	// The file or directory is corrupted and unreadable.
    	FILE_CORRUPT                                                       = 1392, 
    	// The disk structure is corrupted and unreadable.
    	DISK_CORRUPT                                                       = 1393, 
    	// There is no user session key for the specified logon session.
    	NO_USER_SESSION_KEY                                                = 1394, 
    	// The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept.
    	LICENSE_QUOTA_EXCEEDED                                             = 1395, 
    	// The target account name is incorrect.
    	WRONG_TARGET_NAME                                                  = 1396, 
    	// Mutual Authentication failed. The server's password is out of date at the domain controller.
    	MUTUAL_AUTH_FAILED                                                 = 1397, 
    	// There is a time and/or date difference between the client and server.
    	TIME_SKEW                                                          = 1398, 
    	// This operation cannot be performed on the current domain.
    	CURRENT_DOMAIN_NOT_ALLOWED                                         = 1399, 
    	// Invalid window handle.
    	INVALID_WINDOW_HANDLE                                              = 1400, 
    	// Invalid menu handle.
    	INVALID_MENU_HANDLE                                                = 1401, 
    	// Invalid cursor handle.
    	INVALID_CURSOR_HANDLE                                              = 1402, 
    	// Invalid accelerator table handle.
    	INVALID_ACCEL_HANDLE                                               = 1403, 
    	// Invalid hook handle.
    	INVALID_HOOK_HANDLE                                                = 1404, 
    	// Invalid handle to a multiple-window position structure.
    	INVALID_DWP_HANDLE                                                 = 1405, 
    	// Cannot create a top-level child window.
    	TLW_WITH_WSCHILD                                                   = 1406, 
    	// Cannot find window class.
    	CANNOT_FIND_WND_CLASS                                              = 1407, 
    	// Invalid window; it belongs to other thread.
    	WINDOW_OF_OTHER_THREAD                                             = 1408, 
    	// Hot key is already registered.
    	HOTKEY_ALREADY_REGISTERED                                          = 1409, 
    	// Class already exists.
    	CLASS_ALREADY_EXISTS                                               = 1410, 
    	// Class does not exist.
    	CLASS_DOES_NOT_EXIST                                               = 1411, 
    	// Class still has open windows.
    	CLASS_HAS_WINDOWS                                                  = 1412, 
    	// Invalid index.
    	INVALID_INDEX                                                      = 1413, 
    	// Invalid icon handle.
    	INVALID_ICON_HANDLE                                                = 1414, 
    	// Using private DIALOG window words.
    	PRIVATE_DIALOG_INDEX                                               = 1415, 
    	// The list box identifier was not found.
    	LISTBOX_ID_NOT_FOUND                                               = 1416, 
    	// No wildcards were found.
    	NO_WILDCARD_CHARACTERS                                             = 1417, 
    	// Thread does not have a clipboard open.
    	CLIPBOARD_NOT_OPEN                                                 = 1418, 
    	// Hot key is not registered.
    	HOTKEY_NOT_REGISTERED                                              = 1419, 
    	// The window is not a valid dialog window.
    	WINDOW_NOT_DIALOG                                                  = 1420, 
    	// Control ID not found.
    	CONTROL_ID_NOT_FOUND                                               = 1421, 
    	// Invalid message for a combo box because it does not have an edit control.
    	INVALID_COMBOBOX_MESSAGE                                           = 1422, 
    	// The window is not a combo box.
    	WINDOW_NOT_COMBOBOX                                                = 1423, 
    	// Height must be less than 256.
    	INVALID_EDIT_HEIGHT                                                = 1424, 
    	// Invalid device context (DC) handle.
    	DC_NOT_FOUND                                                       = 1425, 
    	// Invalid hook procedure type.
    	INVALID_HOOK_FILTER                                                = 1426, 
    	// Invalid hook procedure.
    	INVALID_FILTER_PROC                                                = 1427, 
    	// Cannot set nonlocal hook without a module handle.
    	HOOK_NEEDS_HMOD                                                    = 1428, 
    	// This hook procedure can only be set globally.
    	GLOBAL_ONLY_HOOK                                                   = 1429, 
    	// The journal hook procedure is already installed.
    	JOURNAL_HOOK_SET                                                   = 1430, 
    	// The hook procedure is not installed.
    	HOOK_NOT_INSTALLED                                                 = 1431, 
    	// Invalid message for single-selection list box.
    	INVALID_LB_MESSAGE                                                 = 1432, 
    	// LB_SETCOUNT sent to non-lazy list box.
    	SETCOUNT_ON_BAD_LB                                                 = 1433, 
    	// This list box does not support tab stops.
    	LB_WITHOUT_TABSTOPS                                                = 1434, 
    	// Cannot destroy object created by another thread.
    	DESTROY_OBJECT_OF_OTHER_THREAD                                     = 1435, 
    	// Child windows cannot have menus.
    	CHILD_WINDOW_MENU                                                  = 1436, 
    	// The window does not have a system menu.
    	NO_SYSTEM_MENU                                                     = 1437, 
    	// Invalid message box style.
    	INVALID_MSGBOX_STYLE                                               = 1438, 
    	// Invalid system-wide (SPI_*) parameter.
    	INVALID_SPI_VALUE                                                  = 1439, 
    	// Screen already locked.
    	SCREEN_ALREADY_LOCKED                                              = 1440, 
    	// All handles to windows in a multiple-window position structure must have the same parent.
    	HWNDS_HAVE_DIFF_PARENT                                             = 1441, 
    	// The window is not a child window.
    	NOT_CHILD_WINDOW                                                   = 1442, 
    	// Invalid GW_* command.
    	INVALID_GW_COMMAND                                                 = 1443, 
    	// Invalid thread identifier.
    	INVALID_THREAD_ID                                                  = 1444, 
    	// Cannot process a message from a window that is not a multiple document interface (MDI) window.
    	NON_MDICHILD_WINDOW                                                = 1445, 
    	// Popup menu already active.
    	POPUP_ALREADY_ACTIVE                                               = 1446, 
    	// The window does not have scroll bars.
    	NO_SCROLLBARS                                                      = 1447, 
    	// Scroll bar range cannot be greater than MAXLONG.
    	INVALID_SCROLLBAR_RANGE                                            = 1448, 
    	// Cannot show or remove the window in the way specified.
    	INVALID_SHOWWIN_COMMAND                                            = 1449, 
    	// Insufficient system resources exist to complete the requested service.
    	NO_SYSTEM_RESOURCES                                                = 1450, 
    	// Insufficient system resources exist to complete the requested service.
    	NONPAGED_SYSTEM_RESOURCES                                          = 1451, 
    	// Insufficient system resources exist to complete the requested service.
    	PAGED_SYSTEM_RESOURCES                                             = 1452, 
    	// Insufficient quota to complete the requested service.
    	WORKING_SET_QUOTA                                                  = 1453, 
    	// Insufficient quota to complete the requested service.
    	PAGEFILE_QUOTA                                                     = 1454, 
    	// The paging file is too small for this operation to complete.
    	COMMITMENT_LIMIT                                                   = 1455, 
    	// A menu item was not found.
    	MENU_ITEM_NOT_FOUND                                                = 1456, 
    	// Invalid keyboard layout handle.
    	INVALID_KEYBOARD_HANDLE                                            = 1457, 
    	// Hook type not allowed.
    	HOOK_TYPE_NOT_ALLOWED                                              = 1458, 
    	// This operation requires an interactive window station.
    	REQUIRES_INTERACTIVE_WINDOWSTATION                                 = 1459, 
    	// This operation returned because the timeout period expired.
    	TIMEOUT                                                            = 1460, 
    	// Invalid monitor handle.
    	INVALID_MONITOR_HANDLE                                             = 1461, 
    	// Incorrect size argument.
    	INCORRECT_SIZE                                                     = 1462, 
    	// The symbolic link cannot be followed because its type is disabled.
    	SYMLINK_CLASS_DISABLED                                             = 1463, 
    	// This application does not support the current operation on symbolic links.
    	SYMLINK_NOT_SUPPORTED                                              = 1464, 
    	// Windows was unable to parse the requested XML data.
    	XML_PARSE_ERROR                                                    = 1465, 
    	// An error was encountered while processing an XML digital signature.
    	XMLDSIG_ERROR                                                      = 1466, 
    	// This application must be restarted.
    	RESTART_APPLICATION                                                = 1467, 
    	// The caller made the connection request in the wrong routing compartment.
    	WRONG_COMPARTMENT                                                  = 1468, 
    	// There was an AuthIP failure when attempting to connect to the remote host.
    	AUTHIP_FAILURE                                                     = 1469, 
    	// Insufficient NVRAM resources exist to complete the requested service. A reboot might be required.
    	NO_NVRAM_RESOURCES                                                 = 1470, 
    	// Unable to finish the requested operation because the specified process is not a GUI process.
    	NOT_GUI_PROCESS                                                    = 1471, 
    	// The event log file is corrupted.
    	EVENTLOG_FILE_CORRUPT                                              = 1500, 
    	// No event log file could be opened, so the event logging service did not start.
    	EVENTLOG_CANT_START                                                = 1501, 
    	// The event log file is full.
    	LOG_FILE_FULL                                                      = 1502, 
    	// The event log file has changed between read operations.
    	EVENTLOG_FILE_CHANGED                                              = 1503, 
    	// The specified task name is invalid.
    	INVALID_TASK_NAME                                                  = 1550, 
    	// The specified task index is invalid.
    	INVALID_TASK_INDEX                                                 = 1551, 
    	// The specified thread is already joining a task.
    	THREAD_ALREADY_IN_TASK                                             = 1552, 
    	// The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
    	INSTALL_SERVICE_FAILURE                                            = 1601, 
    	// User cancelled installation.
    	INSTALL_USEREXIT                                                   = 1602, 
    	// Fatal error during installation.
    	INSTALL_FAILURE                                                    = 1603, 
    	// Installation suspended, incomplete.
    	INSTALL_SUSPEND                                                    = 1604, 
    	// This action is only valid for products that are currently installed.
    	UNKNOWN_PRODUCT                                                    = 1605, 
    	// Feature ID not registered.
    	UNKNOWN_FEATURE                                                    = 1606, 
    	// Component ID not registered.
    	UNKNOWN_COMPONENT                                                  = 1607, 
    	// Unknown property.
    	UNKNOWN_PROPERTY                                                   = 1608, 
    	// Handle is in an invalid state.
    	INVALID_HANDLE_STATE                                               = 1609, 
    	// The configuration data for this product is corrupt. Contact your support personnel.
    	BAD_CONFIGURATION                                                  = 1610, 
    	// Component qualifier not present.
    	INDEX_ABSENT                                                       = 1611, 
    	// The installation source for this product is not available. Verify that the source exists and that you can access it.
    	INSTALL_SOURCE_ABSENT                                              = 1612, 
    	// This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
    	INSTALL_PACKAGE_VERSION                                            = 1613, 
    	// Product is uninstalled.
    	PRODUCT_UNINSTALLED                                                = 1614, 
    	// SQL query syntax invalid or unsupported.
    	BAD_QUERY_SYNTAX                                                   = 1615, 
    	// Record field does not exist.
    	INVALID_FIELD                                                      = 1616, 
    	// The device has been removed.
    	DEVICE_REMOVED                                                     = 1617, 
    	// Another installation is already in progress. Complete that installation before proceeding with this install.
    	INSTALL_ALREADY_RUNNING                                            = 1618, 
    	// This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
    	INSTALL_PACKAGE_OPEN_FAILED                                        = 1619, 
    	// This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
    	INSTALL_PACKAGE_INVALID                                            = 1620, 
    	// There was an error starting the Windows Installer service user interface. Contact your support personnel.
    	INSTALL_UI_FAILURE                                                 = 1621, 
    	// Error opening installation log file. Verify that the specified log file location exists and that you can write to it.
    	INSTALL_LOG_FAILURE                                                = 1622, 
    	// The language of this installation package is not supported by your system.
    	INSTALL_LANGUAGE_UNSUPPORTED                                       = 1623, 
    	// Error applying transforms. Verify that the specified transform paths are valid.
    	INSTALL_TRANSFORM_FAILURE                                          = 1624, 
    	// This installation is forbidden by system policy. Contact your system administrator.
    	INSTALL_PACKAGE_REJECTED                                           = 1625, 
    	// Function could not be executed.
    	FUNCTION_NOT_CALLED                                                = 1626, 
    	// Function failed during execution.
    	FUNCTION_FAILED                                                    = 1627, 
    	// Invalid or unknown table specified.
    	INVALID_TABLE                                                      = 1628, 
    	// Data supplied is of wrong type.
    	DATATYPE_MISMATCH                                                  = 1629, 
    	// Data of this type is not supported.
    	UNSUPPORTED_TYPE                                                   = 1630, 
    	// The Windows Installer service failed to start. Contact your support personnel.
    	CREATE_FAILED                                                      = 1631, 
    	// The Temp folder is on a drive that is full or is inaccessible. Free up space on the drive or verify that you have write permission on the Temp folder.
    	INSTALL_TEMP_UNWRITABLE                                            = 1632, 
    	// This installation package is not supported by this processor type. Contact your product vendor.
    	INSTALL_PLATFORM_UNSUPPORTED                                       = 1633, 
    	// Component not used on this computer.
    	INSTALL_NOTUSED                                                    = 1634, 
    	// This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
    	PATCH_PACKAGE_OPEN_FAILED                                          = 1635, 
    	// This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package.
    	PATCH_PACKAGE_INVALID                                              = 1636, 
    	// This update package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
    	PATCH_PACKAGE_UNSUPPORTED                                          = 1637, 
    	// Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
    	PRODUCT_VERSION                                                    = 1638, 
    	// Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
    	INVALID_COMMAND_LINE                                               = 1639, 
    	// Only administrators have permission to add, remove, or configure server software during a Terminal services remote session. If you want to install or configure software on the server, contact your network administrator.
    	INSTALL_REMOTE_DISALLOWED                                          = 1640, 
    	// The requested operation completed successfully. The system will be restarted so the changes can take effect.
    	SUCCESS_REBOOT_INITIATED                                           = 1641, 
    	// The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
    	PATCH_TARGET_NOT_FOUND                                             = 1642, 
    	// The update package is not permitted by software restriction policy.
    	PATCH_PACKAGE_REJECTED                                             = 1643, 
    	// One or more customizations are not permitted by software restriction policy.
    	INSTALL_TRANSFORM_REJECTED                                         = 1644, 
    	// The Windows Installer does not permit installation from a Remote Desktop Connection.
    	INSTALL_REMOTE_PROHIBITED                                          = 1645, 
    	// Uninstallation of the update package is not supported.
    	PATCH_REMOVAL_UNSUPPORTED                                          = 1646, 
    	// The update is not applied to this product.
    	UNKNOWN_PATCH                                                      = 1647, 
    	// No valid sequence could be found for the set of updates.
    	PATCH_NO_SEQUENCE                                                  = 1648, 
    	// Update removal was disallowed by policy.
    	PATCH_REMOVAL_DISALLOWED                                           = 1649, 
    	// The XML update data is invalid.
    	INVALID_PATCH_XML                                                  = 1650, 
    	// Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.
    	PATCH_MANAGED_ADVERTISED_PRODUCT                                   = 1651, 
    	// The Windows Installer service is not accessible in Safe Mode. Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state.
    	INSTALL_SERVICE_SAFEBOOT                                           = 1652, 
    	// A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.
    	FAIL_FAST_EXCEPTION                                                = 1653, 
    	// The app that you are trying to run is not supported on this version of Windows.
    	INSTALL_REJECTED                                                   = 1654, 
    	// The string binding is invalid.
    	RPC_S_INVALID_STRING_BINDING                                       = 1700, 
    	// The binding handle is not the correct type.
    	RPC_S_WRONG_KIND_OF_BINDING                                        = 1701, 
    	// The binding handle is invalid.
    	RPC_S_INVALID_BINDING                                              = 1702, 
    	// The RPC protocol sequence is not supported.
    	RPC_S_PROTSEQ_NOT_SUPPORTED                                        = 1703, 
    	// The RPC protocol sequence is invalid.
    	RPC_S_INVALID_RPC_PROTSEQ                                          = 1704, 
    	// The string universal unique identifier (UUID) is invalid.
    	RPC_S_INVALID_STRING_UUID                                          = 1705, 
    	// The endpoint format is invalid.
    	RPC_S_INVALID_ENDPOINT_FORMAT                                      = 1706, 
    	// The network address is invalid.
    	RPC_S_INVALID_NET_ADDR                                             = 1707, 
    	// No endpoint was found.
    	RPC_S_NO_ENDPOINT_FOUND                                            = 1708, 
    	// The timeout value is invalid.
    	RPC_S_INVALID_TIMEOUT                                              = 1709, 
    	// The object universal unique identifier (UUID) was not found.
    	RPC_S_OBJECT_NOT_FOUND                                             = 1710, 
    	// The object universal unique identifier (UUID) has already been registered.
    	RPC_S_ALREADY_REGISTERED                                           = 1711, 
    	// The type universal unique identifier (UUID) has already been registered.
    	RPC_S_TYPE_ALREADY_REGISTERED                                      = 1712, 
    	// The RPC server is already listening.
    	RPC_S_ALREADY_LISTENING                                            = 1713, 
    	// No protocol sequences have been registered.
    	RPC_S_NO_PROTSEQS_REGISTERED                                       = 1714, 
    	// The RPC server is not listening.
    	RPC_S_NOT_LISTENING                                                = 1715, 
    	// The manager type is unknown.
    	RPC_S_UNKNOWN_MGR_TYPE                                             = 1716, 
    	// The interface is unknown.
    	RPC_S_UNKNOWN_IF                                                   = 1717, 
    	// There are no bindings.
    	RPC_S_NO_BINDINGS                                                  = 1718, 
    	// There are no protocol sequences.
    	RPC_S_NO_PROTSEQS                                                  = 1719, 
    	// The endpoint cannot be created.
    	RPC_S_CANT_CREATE_ENDPOINT                                         = 1720, 
    	// Not enough resources are available to complete this operation.
    	RPC_S_OUT_OF_RESOURCES                                             = 1721, 
    	// The RPC server is unavailable.
    	RPC_S_SERVER_UNAVAILABLE                                           = 1722, 
    	// The RPC server is too busy to complete this operation.
    	RPC_S_SERVER_TOO_BUSY                                              = 1723, 
    	// The network options are invalid.
    	RPC_S_INVALID_NETWORK_OPTIONS                                      = 1724, 
    	// There are no remote procedure calls active on this thread.
    	RPC_S_NO_CALL_ACTIVE                                               = 1725, 
    	// The remote procedure call failed.
    	RPC_S_CALL_FAILED                                                  = 1726, 
    	// The remote procedure call failed and did not execute.
    	RPC_S_CALL_FAILED_DNE                                              = 1727, 
    	// A remote procedure call (RPC) protocol error occurred.
    	RPC_S_PROTOCOL_ERROR                                               = 1728, 
    	// Access to the HTTP proxy is denied.
    	RPC_S_PROXY_ACCESS_DENIED                                          = 1729, 
    	// The transfer syntax is not supported by the RPC server.
    	RPC_S_UNSUPPORTED_TRANS_SYN                                        = 1730, 
    	// The universal unique identifier (UUID) type is not supported.
    	RPC_S_UNSUPPORTED_TYPE                                             = 1732, 
    	// The tag is invalid.
    	RPC_S_INVALID_TAG                                                  = 1733, 
    	// The array bounds are invalid.
    	RPC_S_INVALID_BOUND                                                = 1734, 
    	// The binding does not contain an entry name.
    	RPC_S_NO_ENTRY_NAME                                                = 1735, 
    	// The name syntax is invalid.
    	RPC_S_INVALID_NAME_SYNTAX                                          = 1736, 
    	// The name syntax is not supported.
    	RPC_S_UNSUPPORTED_NAME_SYNTAX                                      = 1737, 
    	// No network address is available to use to construct a universal unique identifier (UUID).
    	RPC_S_UUID_NO_ADDRESS                                              = 1739, 
    	// The endpoint is a duplicate.
    	RPC_S_DUPLICATE_ENDPOINT                                           = 1740, 
    	// The authentication type is unknown.
    	RPC_S_UNKNOWN_AUTHN_TYPE                                           = 1741, 
    	// The maximum number of calls is too small.
    	RPC_S_MAX_CALLS_TOO_SMALL                                          = 1742, 
    	// The string is too long.
    	RPC_S_STRING_TOO_LONG                                              = 1743, 
    	// The RPC protocol sequence was not found.
    	RPC_S_PROTSEQ_NOT_FOUND                                            = 1744, 
    	// The procedure number is out of range.
    	RPC_S_PROCNUM_OUT_OF_RANGE                                         = 1745, 
    	// The binding does not contain any authentication information.
    	RPC_S_BINDING_HAS_NO_AUTH                                          = 1746, 
    	// The authentication service is unknown.
    	RPC_S_UNKNOWN_AUTHN_SERVICE                                        = 1747, 
    	// The authentication level is unknown.
    	RPC_S_UNKNOWN_AUTHN_LEVEL                                          = 1748, 
    	// The security context is invalid.
    	RPC_S_INVALID_AUTH_IDENTITY                                        = 1749, 
    	// The authorization service is unknown.
    	RPC_S_UNKNOWN_AUTHZ_SERVICE                                        = 1750, 
    	// The entry is invalid.
    	EPT_S_INVALID_ENTRY                                                = 1751, 
    	// The server endpoint cannot perform the operation.
    	EPT_S_CANT_PERFORM_OP                                              = 1752, 
    	// There are no more endpoints available from the endpoint mapper.
    	EPT_S_NOT_REGISTERED                                               = 1753, 
    	// No interfaces have been exported.
    	RPC_S_NOTHING_TO_EXPORT                                            = 1754, 
    	// The entry name is incomplete.
    	RPC_S_INCOMPLETE_NAME                                              = 1755, 
    	// The version option is invalid.
    	RPC_S_INVALID_VERS_OPTION                                          = 1756, 
    	// There are no more members.
    	RPC_S_NO_MORE_MEMBERS                                              = 1757, 
    	// There is nothing to unexport.
    	RPC_S_NOT_ALL_OBJS_UNEXPORTED                                      = 1758, 
    	// The interface was not found.
    	RPC_S_INTERFACE_NOT_FOUND                                          = 1759, 
    	// The entry already exists.
    	RPC_S_ENTRY_ALREADY_EXISTS                                         = 1760, 
    	// The entry is not found.
    	RPC_S_ENTRY_NOT_FOUND                                              = 1761, 
    	// The name service is unavailable.
    	RPC_S_NAME_SERVICE_UNAVAILABLE                                     = 1762, 
    	// The network address family is invalid.
    	RPC_S_INVALID_NAF_ID                                               = 1763, 
    	// The requested operation is not supported.
    	RPC_S_CANNOT_SUPPORT                                               = 1764, 
    	// No security context is available to allow impersonation.
    	RPC_S_NO_CONTEXT_AVAILABLE                                         = 1765, 
    	// An internal error occurred in a remote procedure call (RPC).
    	RPC_S_INTERNAL_ERROR                                               = 1766, 
    	// The RPC server attempted an integer division by zero.
    	RPC_S_ZERO_DIVIDE                                                  = 1767, 
    	// An addressing error occurred in the RPC server.
    	RPC_S_ADDRESS_ERROR