core/sys/windows

sys_windows

Types

460

ASSOCCLASS

ASSOCCLASS :: enum c_int { SHELL_KEY = 0, PROGID_KEY = 1, PROGID_STR = 2, CLSID_KEY = 3, CLSID_STR = 4, APP_KEY = 5, APP_STR = 6, SYSTEM_STR = 7, FOLDER = 8, STAR = 9, FIXED_PROGID_STR = 10, PROTOCOL_STR = 11, }Source

ASSOCDATA

ASSOCDATA :: enum c_int { MSIDESCRIPTOR = 1, NOACTIVATEHANDLER = 2, UNUSED1 = 3, HASPERUSERASSOC = 4, EDITFLAGS = 5, VALUE = 6, MAX = 7, }Source

ASSOCF_Bits

ASSOCF_Bits :: enum c_int { INIT_NOREMAPCLSID = 0, INIT_BYEXENAME = 1, OPEN_BYEXENAME = 1, INIT_DEFAULTTOSTAR = 2, INIT_DEFAULTTOFOLDER = 3, NOUSERSETTINGS = 4, NOTRUNCATE = 5, VERIFY = 6, REMAPRUNDLL = 7, NOFIXUPS = 8, IGNOREBASECLASS = 9, INIT_IGNOREUNKNOWN = 10, INIT_FIXED_PROGID = 11, IS_PROTOCOL = 12, INIT_FOR_FILE = 13, IS_FULL_URI = 14, PER_MACHINE_ONLY = 15, APP_TO_APP = 16, }Source

ASSOCSTR

ASSOCSTR :: enum c_int { COMMAND = 1, EXECUTABLE = 2, FRIENDLYDOCNAME = 3, FRIENDLYAPPNAME = 4, NOOPEN = 5, SHELLNEWVALUE = 6, DDECOMMAND = 7, DDEIFEXEC = 8, DDEAPPLICATION = 9, DDETOPIC = 10, INFOTIP = 11, QUICKTIP = 12, TILEINFO = 13, CONTENTTYPE = 14, DEFAULTICON = 15, SHELLEXTENSION = 16, DROPTARGET = 17, DELEGATEEXECUTE = 18, SUPPORTED_URI_PROTOCOLS = 19, PROGID = 20, APPID = 21, APPPUBLISHER = 22, APPICONREFERENCE = 23, MAX = 24, }Source

COINIT

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

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

CONTEXT

CONTEXT :: struct { P1Home: DWORD64, P2Home: DWORD64, P3Home: DWORD64, P4Home: DWORD64, P5Home: DWORD64, P6Home: DWORD64, ContextFlags: DWORD, MxCsr: DWORD, SegCs: WORD, SegDs: WORD, SegEs: WORD, SegFs: WORD, SegGs: WORD, SegSs: WORD, EFlags: DWORD, Dr0: DWORD64, Dr1: DWORD64, Dr2: DWORD64, Dr3: DWORD64, Dr6: DWORD64, Dr7: DWORD64, Rax: DWORD64, Rcx: DWORD64, Rdx: DWORD64, Rbx: DWORD64, Rsp: DWORD64, Rbp: DWORD64, Rsi: DWORD64, Rdi: DWORD64, R8: DWORD64, R9: DWORD64, R10: DWORD64, R11: DWORD64, R12: DWORD64, R13: DWORD64, R14: DWORD64, R15: DWORD64, Rip: DWORD64, _: struct #raw_union { FltSave: XMM_SAVE_AREA32, Q: [16]NEON128, D: [32]ULONGLONG, _: struct { Header: [2]M128A, Legacy: [8]M128A, Xmm0: M128A, Xmm1: M128A, Xmm2: M128A, Xmm3: M128A, Xmm4: M128A, Xmm5: M128A, Xmm6: M128A, Xmm7: M128A, Xmm8: M128A, Xmm9: M128A, Xmm10: M128A, Xmm11: M128A, Xmm12: M128A, Xmm13: M128A, Xmm14: M128A, Xmm15: M128A, }, S: [32]DWORD, }, VectorRegister: [26]M128A, VectorControl: DWORD64, DebugControl: DWORD64, LastBranchToRip: DWORD64, LastBranchFromRip: DWORD64, LastExceptionToRip: DWORD64, LastExceptionFromRip: DWORD64, }Source

DEVMODEW

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

DNS_QUERY_OPTION

DNS_QUERY_OPTION :: enum DWORD { ACCEPT_TRUNCATED_RESPONSE = 0, DNS_QUERY_USE_TCP_ONLY = 1, NO_RECURSION = 2, BYPASS_CACHE = 3, NO_WIRE_QUERY = 4, NO_LOCAL_NAME = 5, NO_HOSTS_FILE = 6, NO_NETBT = 7, WIRE_ONLY = 8, RETURN_MESSAGE = 9, MULTICAST_ONLY = 10, NO_MULTICAST = 11, TREAT_AS_FQDN = 12, ADDRCONFIG = 13, DUAL_ADDR = 14, MULTICAST_WAIT = 17, MULTICAST_VERIFY = 18, DONT_RESET_TTL_VALUES = 20, DISABLE_IDN_ENCODING = 21, APPEND_MULTILABEL = 23, }Source

See https://learn.microsoft.com/en-us/windows/win32/dns/dns-constants

FILETYPEATTRIBUTEFLAG

FILETYPEATTRIBUTEFLAG :: enum DWORD { Exclude = 0, Show = 1, HasExtension = 2, NoEdit = 3, NoRemove = 4, NoNewVerb = 5, NoEditVerb = 6, NoRemoveVerb = 7, NoEditDesc = 8, NoEditIcon = 9, NoEditDflt = 10, NoEditVerbCmd = 11, NoEditVerbExe = 12, NoDDE = 13, NoEditMIME = 15, OpenIsSafe = 16, AlwaysUnsafe = 17, NoRecentDocs = 20, SafeForElevation = 21, AlwaysUseDirectInvoke = 22, }Source

FILE_INFO_BY_HANDLE_CLASS

FILE_INFO_BY_HANDLE_CLASS :: enum c_int { 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 = 21, }Source

GETPROPERTYSTOREFLAGS

GETPROPERTYSTOREFLAGS :: enum c_int { 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, }Source

IBindCtxVtbl

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

IEnumMonikerVtbl

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

IEnumShellItemsVtbl

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

IEnumStringVtbl

IEnumStringVtbl :: struct { IUnknownVtbl: IUnknownVtbl, Next: proc(this: ^IEnumString, celt: ULONG, rgelt: ^LPOLESTR, pceltFetched: ^ULONG) -> (HRESULT), this: ^IEnumString, IEnumString: ULONG, celt: ULONG, rgelt: ^LPOLESTR, LPOLESTR: ^ULONG, pceltFetched: ^ULONG, Skip: proc(this: ^IEnumString, celt: ULONG) -> (HRESULT), this: ^IEnumString, IEnumString: ULONG, celt: ULONG, Reset: proc(this: ^IEnumString) -> (HRESULT), this: ^IEnumString, Clone: proc(this: ^IEnumString, ppenum: ^^IEnumString) -> (HRESULT), this: ^IEnumString, IEnumString: ^^IEnumString, ppenum: ^^IEnumString, }Source

IFileDialogEventsVtbl

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

IFileDialogVtbl

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

IFileOperationProgressSinkVtbl

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

IFileSaveDialogVtbl

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

IMAGE_DOS_HEADER

IMAGE_DOS_HEADER :: struct { e_magic: WORD, e_cblp: WORD, e_cp: WORD, e_crlc: WORD, e_cparhdr: WORD, e_minalloc: WORD, e_maxalloc: WORD, e_ss: WORD, e_sp: WORD, e_csum: WORD, e_ip: WORD, e_cs: WORD, e_lfarlc: WORD, e_ovno: WORD, e_res_0: WORD, e_res_1: WORD, e_res_2: WORD, e_res_3: WORD, e_oemid: WORD, e_oeminfo: WORD, e_res2_0: WORD, e_res2_1: WORD, e_res2_2: WORD, e_res2_3: WORD, e_res2_4: WORD, e_res2_5: WORD, e_res2_6: WORD, e_res2_7: WORD, e_res2_8: WORD, e_res2_9: WORD, e_lfanew: DWORD, }Source

IMAGE_OPTIONAL_HEADER64

IMAGE_OPTIONAL_HEADER64 :: struct { Magic: WORD, MajorLinkerVersion: BYTE, MinorLinkerVersion: BYTE, SizeOfCode: DWORD, SizeOfInitializedData: DWORD, SizeOfUninitializedData: DWORD, AddressOfEntryPoint: DWORD, BaseOfCode: DWORD, ImageBase: QWORD, SectionAlignment: DWORD, FileAlignment: DWORD, MajorOperatingSystemVersion: WORD, MinorOperatingSystemVersion: WORD, MajorImageVersion: WORD, MinorImageVersion: WORD, MajorSubsystemVersion: WORD, MinorSubsystemVersion: WORD, Win32VersionValue: DWORD, SizeOfImage: DWORD, SizeOfHeaders: DWORD, CheckSum: DWORD, Subsystem: WORD, DllCharacteristics: WORD, SizeOfStackReserve: QWORD, SizeOfStackCommit: QWORD, SizeOfHeapReserve: QWORD, SizeOfHeapCommit: QWORD, LoaderFlags: DWORD, NumberOfRvaAndSizes: DWORD, 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, }Source

IMonikerVtbl

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

IPersistStreamVtbl

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

IPropertyStoreVtbl

IPropertyStoreVtbl :: struct { IUnknownVtbl: IUnknownVtbl, GetCount: proc(this: ^IPropertyStore, cProps: ^DWORD) -> (HRESULT), this: ^IPropertyStore, IPropertyStore: ^DWORD, cProps: ^DWORD, GetAt: proc(this: ^IPropertyStore, iProp: DWORD, pkey: ^PROPERTYKEY) -> (HRESULT), this: ^IPropertyStore, IPropertyStore: DWORD, iProp: DWORD, pkey: ^PROPERTYKEY, GetValue: proc(this: ^IPropertyStore, key: REFPROPERTYKEY, pv: ^PROPVARIANT) -> (HRESULT), this: ^IPropertyStore, IPropertyStore: REFPROPERTYKEY, key: REFPROPERTYKEY, pv: ^PROPVARIANT, SetValue: proc(this: ^IPropertyStore, key: REFPROPERTYKEY, propvar: REFPROPVARIANT) -> (HRESULT), this: ^IPropertyStore, IPropertyStore: REFPROPERTYKEY, key: REFPROPERTYKEY, propvar: REFPROPVARIANT, Commit: proc(this: ^IPropertyStore) -> (HRESULT), this: ^IPropertyStore, }Source

IQueryAssociationsVtbl

IQueryAssociationsVtbl :: struct { IUnknownVtbl: IUnknownVtbl, Init: proc(this: ^IQueryAssociations, flags: ASSOCF, pszAssoc: LPCWSTR, hkProgid: HKEY, hwnd: HWND) -> (HRESULT), this: ^IQueryAssociations, IQueryAssociations: ASSOCF, flags: ASSOCF, pszAssoc: LPCWSTR, hkProgid: HKEY, hwnd: HWND, GetString: proc( this: ^IQueryAssociations, flags: ASSOCF, str: ASSOCSTR, pszExtra: LPCWSTR, pszOut: LPWSTR, pcchOut: ^DWORD, ) -> (HRESULT), this: ^IQueryAssociations, IQueryAssociations: ASSOCF, flags: ASSOCF, str: ASSOCSTR, pszExtra: LPCWSTR, pszOut: LPWSTR, pcchOut: ^DWORD, GetKey: proc(this: ^IQueryAssociations, flags: ASSOCF, key: ASSOCKEY, pszExtra: LPCWSTR, phkeyOut: ^HKEY) -> (HRESULT), this: ^IQueryAssociations, IQueryAssociations: ASSOCF, flags: ASSOCF, key: ASSOCKEY, pszExtra: LPCWSTR, phkeyOut: ^HKEY, GetData: proc( this: ^IQueryAssociations, flags: ASSOCF, data: ASSOCDATA, pszExtra: LPCWSTR, pvOut: rawptr, pcbOut: ^DWORD, ) -> (HRESULT), this: ^IQueryAssociations, IQueryAssociations: ASSOCF, flags: ASSOCF, data: ASSOCDATA, pszExtra: LPCWSTR, pvOut: rawptr, pcbOut: ^DWORD, GetEnum: proc( this: ^IQueryAssociations, flags: ASSOCF, assocenum: ASSOCENUM, pszExtra: LPCWSTR, riid: REFIID, ppvOut: ^rawptr, ) -> (HRESULT), this: ^IQueryAssociations, IQueryAssociations: ASSOCF, flags: ASSOCF, assocenum: ASSOCENUM, pszExtra: LPCWSTR, riid: REFIID, ppvOut: ^rawptr, }Source

IRunningObjectTableVtbl

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

IShellItemArrayVtbl

IShellItemArrayVtbl :: struct { IUnknownVtbl: IUnknownVtbl, BindToHandler: proc(this: ^IShellItemArray, pbc: ^IBindCtx, bhid: REFGUID, riid: REFIID, ppvOut: ^rawptr) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: ^IBindCtx, pbc: ^IBindCtx, IBindCtx: REFGUID, bhid: REFGUID, riid: REFIID, ppvOut: ^rawptr, GetPropertyStore: proc(this: ^IShellItemArray, flags: GETPROPERTYSTOREFLAGS, riid: REFIID, ppv: ^rawptr) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: GETPROPERTYSTOREFLAGS, flags: GETPROPERTYSTOREFLAGS, riid: REFIID, ppv: ^rawptr, GetPropertyDescriptionList: proc(this: ^IShellItemArray, keyType: REFPROPERTYKEY, riid: REFIID, ppv: ^rawptr) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: REFPROPERTYKEY, keyType: REFPROPERTYKEY, riid: REFIID, ppv: ^rawptr, GetAttributes: proc(this: ^IShellItemArray, AttribFlags: SIATTRIBFLAGS, sfgaoMask: SFGAOF, psfgaoAttribs: ^SFGAOF) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: SIATTRIBFLAGS, AttribFlags: SIATTRIBFLAGS, sfgaoMask: SFGAOF, psfgaoAttribs: ^SFGAOF, GetCount: proc(this: ^IShellItemArray, pdwNumItems: ^DWORD) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: ^DWORD, pdwNumItems: ^DWORD, GetItemAt: proc(this: ^IShellItemArray, dwIndex: DWORD, ppsi: ^^IShellItem) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: DWORD, dwIndex: DWORD, ppsi: ^^IShellItem, EnumItems: proc(this: ^IShellItemArray, ppenumShellItems: ^^IEnumShellItems) -> (HRESULT), this: ^IShellItemArray, IShellItemArray: ^^IEnumShellItems, ppenumShellItems: ^^IEnumShellItems, }Source

IShellItemVtbl

IShellItemVtbl :: struct { IUnknownVtbl: IUnknownVtbl, BindToHandler: proc(this: ^IShellItem, pbc: ^IBindCtx, bhid: REFGUID, riid: REFIID, ppv: ^rawptr) -> (HRESULT), this: ^IShellItem, IShellItem: ^IBindCtx, pbc: ^IBindCtx, IBindCtx: REFGUID, bhid: REFGUID, riid: REFIID, ppv: ^rawptr, GetParent: proc(this: ^IShellItem, ppsiFolder: ^^IShellItem) -> (HRESULT), this: ^IShellItem, IShellItem: ^^IShellItem, ppsiFolder: ^^IShellItem, GetDisplayName: proc(this: ^IShellItem, sigdnName: SIGDN, ppszName: ^LPWSTR) -> (HRESULT), this: ^IShellItem, IShellItem: SIGDN, sigdnName: SIGDN, ppszName: ^LPWSTR, GetAttributes: proc(this: ^IShellItem, sfgaoMask: SFGAOF, psfgaoAttribs: ^SFGAOF) -> (HRESULT), this: ^IShellItem, IShellItem: SFGAOF, sfgaoMask: SFGAOF, psfgaoAttribs: ^SFGAOF, Compare: proc(this: ^IShellItem, psi: ^IShellItem, hint: SICHINTF, piOrder: ^c_int) -> (HRESULT), this: ^IShellItem, IShellItem: ^IShellItem, psi: ^IShellItem, IShellItem: SICHINTF, hint: SICHINTF, piOrder: ^c_int, }Source

IStreamVtbl

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

ITaskbarList3Vtbl

ITaskbarList3Vtbl :: struct { ITaskbarList2Vtbl: ITaskbarList2Vtbl, SetProgressValue: proc(this: ^ITaskbarList3, hwnd: HWND, ullCompleted: ULONGLONG, ullTotal: ULONGLONG) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, ullCompleted: ULONGLONG, ullTotal: ULONGLONG, SetProgressState: proc(this: ^ITaskbarList3, hwnd: HWND, tbpFlags: TBPFLAG) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, tbpFlags: TBPFLAG, RegisterTab: proc(this: ^ITaskbarList3, hwndTab: HWND, hwndMDI: HWND) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwndTab: HWND, hwndMDI: HWND, UnregisterTab: proc(this: ^ITaskbarList3, hwndTab: HWND) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwndTab: HWND, SetTabOrder: proc(this: ^ITaskbarList3, hwndTab: HWND, hwndInsertBefore: HWND) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwndTab: HWND, hwndInsertBefore: HWND, SetTabActive: proc(this: ^ITaskbarList3, hwndTab: HWND, hwndMDI: HWND, dwReserved: DWORD) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwndTab: HWND, hwndMDI: HWND, dwReserved: DWORD, ThumbBarAddButtons: proc(this: ^ITaskbarList3, hwnd: HWND, cButtons: UINT, pButton: LPTHUMBBUTTON) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, cButtons: UINT, pButton: LPTHUMBBUTTON, ThumbBarUpdateButtons: proc(this: ^ITaskbarList3, hwnd: HWND, cButtons: UINT, pButton: LPTHUMBBUTTON) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, cButtons: UINT, pButton: LPTHUMBBUTTON, ThumbBarSetImageList: proc(this: ^ITaskbarList3, hwnd: HWND, himl: HIMAGELIST) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, himl: HIMAGELIST, SetOverlayIcon: proc(this: ^ITaskbarList3, hwnd: HWND, hIcon: HICON, pszDescription: LPCWSTR) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, hIcon: HICON, pszDescription: LPCWSTR, SetThumbnailTooltip: proc(this: ^ITaskbarList3, hwnd: HWND, pszTip: LPCWSTR) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, pszTip: LPCWSTR, SetThumbnailClip: proc(this: ^ITaskbarList3, hwnd: HWND, prcClip: ^RECT) -> (HRESULT), this: ^ITaskbarList3, ITaskbarList3: HWND, hwnd: HWND, prcClip: ^RECT, }Source

ITaskbarListVtbl

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

LoadLibraryEx_Flag

LoadLibraryEx_Flag :: enum DWORD { LOAD_LIBRARY_AS_DATAFILE = 1, // 1 << 1: 0x0002, LOAD_WITH_ALTERED_SEARCH_PATH = 3, // 1 << 3: 0x0008, LOAD_IGNORE_CODE_AUTHZ_LEVEL = 4, // 1 << 4: 0x0010, LOAD_LIBRARY_AS_IMAGE_RESOURCE = 5, // 1 << 5: 0x0020, LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE = 6, // 1 << 6: 0x0040, LOAD_LIBRARY_REQUIRE_SIGNED_TARGET = 7, // 1 << 7: 0x0080, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR = 8, // 1 << 8: 0x0100, LOAD_LIBRARY_SEARCH_APPLICATION_DIR = 9, // 1 << 9: 0x0200, LOAD_LIBRARY_SEARCH_USER_DIRS = 10, // 1 << 10: 0x0400, LOAD_LIBRARY_SEARCH_SYSTEM32 = 11, // 1 << 11: 0x0800, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS = 12, // 1 << 12: 0x1000, LOAD_LIBRARY_SAFE_CURRENT_DIRS = 13, // 1 << 13: 0x2000, }Source

NET_API_STATUS

NET_API_STATUS :: enum DWORD { 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, }Source

PERCEIVED

PERCEIVED :: enum c_int { FIRST = -3, CUSTOM = -3, UNSPECIFIED = -2, FOLDER = -1, UNKNOWN = 0, TEXT = 1, IMAGE = 2, AUDIO = 3, VIDEO = 4, COMPRESSED = 5, DOCUMENT = 6, SYSTEM = 7, APPLICATION = 8, GAMEMEDIA = 9, CONTACTS = 10, LAST = 10, }Source

PIXELFORMATDESCRIPTOR

PIXELFORMATDESCRIPTOR :: struct { nSize: WORD, nVersion: WORD, dwFlags: DWORD, 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: DWORD, dwVisibleMask: DWORD, dwDamageMask: DWORD, }Source

SIGDN

SIGDN :: enum c_int { NORMALDISPLAY = 0, PARENTRELATIVEPARSING = -2147385343, // 0x80018001 DESKTOPABSOLUTEPARSING = -2147319808, // 0x80028000 PARENTRELATIVEEDITING = -2147282943, // 0x80031001 DESKTOPABSOLUTEEDITING = -2147172352, // 0x8004c000 FILESYSPATH = -2147123200, // 0x80058000 URL = -2147057664, // 0x80068000 PARENTRELATIVEFORADDRESSBAR = -2146975743, // 0x8007c001 PARENTRELATIVE = -2146959359, // 0x80080001 PARENTRELATIVEFORUI = -2146877439, // 0x80094001 }Source

SYSTEM_INFO

SYSTEM_INFO :: struct { _: struct #raw_union { dwOemID: DWORD, _: struct #raw_union { wProcessorArchitecture: WORD, wReserved: WORD, }, }, dwPageSize: DWORD, lpMinimumApplicationAddress: LPVOID, lpMaximumApplicationAddress: LPVOID, dwActiveProcessorMask: DWORD_PTR, dwNumberOfProcessors: DWORD, dwProcessorType: DWORD, dwAllocationGranularity: DWORD, wProcessorLevel: WORD, wProcessorRevision: WORD, }Source

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

USER_INFO_FLAG

USER_INFO_FLAG :: enum DWORD { Script = 0, // 1 << 0: 0x0001, AccountDisable = 1, // 1 << 1: 0x0002, HomeDir_Required = 3, // 1 << 3: 0x0008, Lockout = 4, // 1 << 4: 0x0010, Passwd_NotReqd = 5, // 1 << 5: 0x0020, Passwd_Cant_Change = 6, // 1 << 6: 0x0040, Encrypted_Text_Password_Allowed = 7, // 1 << 7: 0x0080, Temp_Duplicate_Account = 8, // 1 << 8: 0x0100, Normal_Account = 9, // 1 << 9: 0x0200, InterDomain_Trust_Account = 11, // 1 << 11: 0x0800, Workstation_Trust_Account = 12, // 1 << 12: 0x1000, Server_Trust_Account = 13, // 1 << 13: 0x2000, }Source

WSAPROTOCOL_INFO

WSAPROTOCOL_INFO :: struct { dwServiceFlags1: DWORD, dwServiceFlags2: DWORD, dwServiceFlags3: DWORD, dwServiceFlags4: DWORD, dwProviderFlags: DWORD, ProviderId: GUID, dwCatalogEntryId: DWORD, ProtocolChain: WSAPROTOCOLCHAIN, iVersion: c_int, iAddressFamily: c_int, iMaxSockAddr: c_int, iMinSockAddr: c_int, iSocketType: c_int, iProtocol: c_int, iProtocolMaxOffset: c_int, iNetworkByteOrder: c_int, iSecurityScheme: c_int, dwMessageSize: DWORD, dwProviderReserved: DWORD, szProtocol: [256]u16, }Source

Windows_Product_Type

Windows_Product_Type :: enum DWORD { BUSINESS = 6, // Business BUSINESS_N = 16, // Business N CLUSTER_SERVER = 18, // HPC Edition CLUSTER_SERVER_V = 64, // Server Hyper Core V CORE = 101, // Windows 10 Home CORE_COUNTRYSPECIFIC = 99, // Windows 10 Home China CORE_N = 98, // Windows 10 Home N CORE_SINGLELANGUAGE = 100, // Windows 10 Home Single Language DATACENTER_EVALUATION_SERVER = 80, // Server Datacenter (evaluation installation) DATACENTER_A_SERVER_CORE = 145, // Server Datacenter, Semi-Annual Channel (core installation) STANDARD_A_SERVER_CORE = 146, // Server Standard, Semi-Annual Channel (core installation) DATACENTER_SERVER = 8, // Server Datacenter (full installation. For Server Core installations of Windows Server 2012 and later, use the method, Determining whether Server Core is running.) DATACENTER_SERVER_CORE = 12, // Server Datacenter (core installation, Windows Server 2008 R2 and earlier) DATACENTER_SERVER_CORE_V = 39, // Server Datacenter without Hyper-V (core installation) DATACENTER_SERVER_V = 37, // Server Datacenter without Hyper-V (full installation) EDUCATION = 121, // Windows 10 Education EDUCATION_N = 122, // Windows 10 Education N ENTERPRISE = 4, // Windows 10 Enterprise ENTERPRISE_E = 70, // Windows 10 Enterprise E ENTERPRISE_EVALUATION = 72, // Windows 10 Enterprise Evaluation ENTERPRISE_N = 27, // Windows 10 Enterprise N ENTERPRISE_N_EVALUATION = 84, // Windows 10 Enterprise N Evaluation ENTERPRISE_S = 125, // Windows 10 Enterprise 2015 LTSB ENTERPRISE_S_EVALUATION = 129, // Windows 10 Enterprise 2015 LTSB Evaluation ENTERPRISE_S_N = 126, // Windows 10 Enterprise 2015 LTSB N ENTERPRISE_S_N_EVALUATION = 130, // Windows 10 Enterprise 2015 LTSB N Evaluation ENTERPRISE_SERVER = 10, // Server Enterprise (full installation) ENTERPRISE_SERVER_CORE = 14, // Server Enterprise (core installation) ENTERPRISE_SERVER_CORE_V = 41, // Server Enterprise without Hyper-V (core installation) ENTERPRISE_SERVER_IA64 = 15, // Server Enterprise for Itanium-based Systems ENTERPRISE_SERVER_V = 38, // Server Enterprise without Hyper-V (full installation) ESSENTIALBUSINESS_SERVER_ADDL = 60, // Windows Essential Server Solution Additional ESSENTIALBUSINESS_SERVER_ADDLSVC = 62, // Windows Essential Server Solution Additional SVC ESSENTIALBUSINESS_SERVER_MGMT = 59, // Windows Essential Server Solution Management ESSENTIALBUSINESS_SERVER_MGMTSVC = 61, // Windows Essential Server Solution Management SVC HOME_BASIC = 2, // Home Basic HOME_BASIC_E = 67, // Not supported HOME_BASIC_N = 5, // Home Basic N HOME_PREMIUM = 3, // Home Premium HOME_PREMIUM_E = 68, // Not supported HOME_PREMIUM_N = 26, // Home Premium N HOME_PREMIUM_SERVER = 34, // Windows Home Server 2011 HOME_SERVER = 19, // Windows Storage Server 2008 R2 Essentials HYPERV = 42, // Microsoft Hyper-V Server IOTENTERPRISE = 188, // Windows IoT Enterprise IOTENTERPRISE_S = 191, // Windows IoT Enterprise LTSC IOTUAP = 123, // Windows 10 IoT Core IOTUAPCOMMERCIAL = 131, // Windows 10 IoT Core Commercial MEDIUMBUSINESS_SERVER_MANAGEMENT = 30, // Windows Essential Business Server Management Server MEDIUMBUSINESS_SERVER_MESSAGING = 32, // Windows Essential Business Server Messaging Server MEDIUMBUSINESS_SERVER_SECURITY = 31, // Windows Essential Business Server Security Server MOBILE_CORE = 104, // Windows 10 Mobile MOBILE_ENTERPRISE = 133, // Windows 10 Mobile Enterprise MULTIPOINT_PREMIUM_SERVER = 77, // Windows MultiPoint Server Premium (full installation) MULTIPOINT_STANDARD_SERVER = 76, // Windows MultiPoint Server Standard (full installation) PRO_WORKSTATION = 161, // Windows 10 Pro for Workstations PRO_WORKSTATION_N = 162, // Windows 10 Pro for Workstations N PROFESSIONAL = 48, // Windows 10 Pro PROFESSIONAL_E = 69, // Not supported PROFESSIONAL_N = 49, // Windows 10 Pro N PROFESSIONAL_WMC = 103, // Professional with Media Center SB_SOLUTION_SERVER = 50, // Windows Small Business Server 2011 Essentials SB_SOLUTION_SERVER_EM = 54, // Server For SB Solutions EM SERVER_FOR_SB_SOLUTIONS = 51, // Server For SB Solutions SERVER_FOR_SB_SOLUTIONS_EM = 55, // Server For SB Solutions EM SERVER_FOR_SMALLBUSINESS = 24, // Windows Server 2008 for Windows Essential Server Solutions SERVER_FOR_SMALLBUSINESS_V = 35, // Windows Server 2008 without Hyper-V for Windows Essential Server Solutions SERVER_FOUNDATION = 33, // Server Foundation SMALLBUSINESS_SERVER = 9, // Windows Small Business Server SMALLBUSINESS_SERVER_PREMIUM = 25, // Small Business Server Premium SMALLBUSINESS_SERVER_PREMIUM_CORE = 63, // Small Business Server Premium (core installation) SOLUTION_EMBEDDEDSERVER = 56, // Windows MultiPoint Server STANDARD_EVALUATION_SERVER = 79, // Server Standard (evaluation installation) STANDARD_SERVER = 7, // Server Standard (full installation. For Server Core installations of Windows Server 2012 and later, use the method, Determining whether Server Core is running.) STANDARD_SERVER_CORE = 13, // Server Standard (core installation, Windows Server 2008 R2 and earlier) STANDARD_SERVER_CORE_V = 40, // Server Standard without Hyper-V (core installation) STANDARD_SERVER_V = 36, // Server Standard without Hyper-V STANDARD_SERVER_SOLUTIONS = 52, // Server Solutions Premium STANDARD_SERVER_SOLUTIONS_CORE = 53, // Server Solutions Premium (core installation) STARTER = 11, // Starter STARTER_E = 66, // Not supported STARTER_N = 47, // Starter N STORAGE_ENTERPRISE_SERVER = 23, // Storage Server Enterprise STORAGE_ENTERPRISE_SERVER_CORE = 46, // Storage Server Enterprise (core installation) STORAGE_EXPRESS_SERVER = 20, // Storage Server Express STORAGE_EXPRESS_SERVER_CORE = 43, // Storage Server Express (core installation) STORAGE_STANDARD_EVALUATION_SERVER = 96, // Storage Server Standard (evaluation installation) STORAGE_STANDARD_SERVER = 21, // Storage Server Standard STORAGE_STANDARD_SERVER_CORE = 44, // Storage Server Standard (core installation) STORAGE_WORKGROUP_EVALUATION_SERVER = 95, // Storage Server Workgroup (evaluation installation) STORAGE_WORKGROUP_SERVER = 22, // Storage Server Workgroup STORAGE_WORKGROUP_SERVER_CORE = 45, // Storage Server Workgroup (core installation) ULTIMATE = 1, // Ultimate ULTIMATE_E = 71, // Not supported ULTIMATE_N = 28, // Ultimate N UNDEFINED = 0, // An unknown product WEB_SERVER = 17, // Web Server (full installation) WEB_SERVER_CORE = 29, // Web Server (core installation) }Source

Constants

1,951

AI_PASSIVE

AI_PASSIVE :: 0x01Source

getaddrinfo flags https://learn.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-addrinfoa

DELETE

DELETE :: DWORD = 0x00010000Source

The following are masks for the predefined standard access types

IPPROTO_RM

IPPROTO_RM :: c_int = 113Source

AF_INET + SOCK_RDM [requires "Reliable Multicast Protocol" to be installed - see WSAEnumProtocols]

MSG_PEEK

MSG_PEEK :: c_int = 2Source

recv should not remove the data from the buffer. Only valid for non-overlapped operations.

SEE_MASK_FLAG_HINST_IS_SITE

SEE_MASK_FLAG_HINST_IS_SITE :: 0x08000000Source

When SEE_MASK_FLAG_HINST_IS_SITE is specified SHELLEXECUTEINFO.hInstApp is used as an _In_ parameter and specifies a IUnknown* to be used as a site pointer. The site pointer is used to provide services to shell execute, the handler binding process and the verb handlers once they are invoked.

SOCK_RDM

SOCK_RDM :: c_int = 4Source

Requires "Reliable Multicast Protocol" to be installed - see WSAEnumProtocols

SOMAXCONN

SOMAXCONN :: 128Source

The number of messages that can be queued in memory after being received; use 2-4 for Bluetooth.

UNLEN

UNLEN :: 256Source

For NetAPI32 https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/shared/lmerr.h https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/shared/LMaccess.h

WSAEACCES

WSAEACCES :: 10013Source

If you try to bind a Udp socket to the broadcast address without the socket option set.

WSAEFAULT

WSAEFAULT :: 10014Source

A pointer that was passed to a WSA function is invalid, such as a buffer size is smaller than you said it was

WSAENOBUFS

WSAENOBUFS :: 10055Source

No buffer space is available. The outgoing queue may be full in which case you should probably try again after a pause.

Variables

62

Procedures

1

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.