DevCase.Win32.Enums Namespace

 

Enumerations

ActiveDesktopApplyMode Specifies the changes to be applied for the active desktop.

For ApplyChanges(ActiveDesktopApplyMode) function.

AppbarMessages Specifies an edge of the screen.

For Edge field.

ApplicationRestartFlags Flags for RegisterApplicationRestart(String, ApplicationRestartFlags) function.
AppPolicyCreateFileAccess Indicates whether a process has full or restricted access to the I/O devices (file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe).
AppPolicyProcessTerminationMethod Indicates the method used to end a process.
AppPolicyShowDeveloperDiagnostic Indicates the method used for a process to surface developer information, such as asserts, to the user.
AppPolicyThreadInitializationType Indicates the kind of initialization that should be automatically performed for a process when beginthread[ex] creates a thread.
AssemblyInfoFlags Flags combination for flags parameter of QueryAssemblyInfo(QueryAssemblyInfoFlags, String, AssemblyInfo) function.
AssocF Provides information to the IQueryAssociations interface methods.
AssocStr Used by IQueryAssociations::GetString to define the type of string that is to be returned.
AutoCompleteFlags Flags for SHAutoComplete(IntPtr, AutoCompleteFlags) function.
BackgroundMode The background mode used by the SetBkMode(IntPtr, BackgroundMode) function.
BinaryType Indicate executable (.exe) types.

Used for GetBinaryType(String, BinaryType) function.

BroadcastSystemMessageFlags Specifies the broadcast options when calling BroadcastSystemMessage(BroadcastSystemMessageFlags, BroadcastSystemMessageInfo, WindowMessages, IntPtr, IntPtr) and BroadcastSystemMessageEx(BroadcastSystemMessageFlags, BroadcastSystemMessageInfo, WindowMessages, IntPtr, IntPtr, BroadcastSystemMessageExInfo) functions.
BroadcastSystemMessageInfo Specifies information about the recipients of a message when calling BroadcastSystemMessage(BroadcastSystemMessageFlags, BroadcastSystemMessageInfo, WindowMessages, IntPtr, IntPtr) and BroadcastSystemMessageEx(BroadcastSystemMessageFlags, BroadcastSystemMessageInfo, WindowMessages, IntPtr, IntPtr, BroadcastSystemMessageExInfo) functions.
ChangeDisplaySettingsFlags Flags combination for flags parameter of ChangeDisplaySettingsEx(String, DevMode, IntPtr, ChangeDisplaySettingsFlags, IntPtr) function.
ChangeWindowMessageFilterExAction Specifies the action to be performed by ChangeWindowMessageFilterEx(IntPtr, EditControlMessages, ChangeWindowMessageFilterExAction, ChangeFilter) function.
CharInfoAttributes Specifies the character attributes of a screen buffer character cell.
ClassLongValues Specifies the values used in GetClassLong(IntPtr, ClassLongValues) / GetClassLongPtr(IntPtr, ClassLongValues) and SetClassLong(IntPtr, ClassLongValues, UInt32) / SetClassLongPtr(IntPtr, ClassLongValues, IntPtr) functions to access or modify various attributes of a window class.
ClipBoxComplexity Specifies the meaning of the return value of GetClipBox(IntPtr, NativeRectangle) function.
CodePage Indicate the code page to use in performing a character conversion when calling the MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) or WideCharToMultiByte(CodePage, WideCharConversionType, String, Int32, StringBuilder, Int32, String, Boolean) functions.
ComputerNameFormat Specifies the name type for a computer name.

Used by SetComputerNameEx(ComputerNameFormat, String) function.

ConsoleDisplayMode Specifies the display mode of the console.

For SetConsoleDisplayMode(IntPtr, ConsoleDisplayMode, ConsoleCoordinate) function.

ContinueDebugEventFlags The options to continue the thread that reported the debugging event for ContinueDebugEvent(UInt32, UInt32, ContinueDebugEventFlags) function.
ControlPanelView Specifies a Control Panel view.

For Edge field.

CopyFileFlags Specifies options to use when copying a file with the CopyFileEx(String, String, DelegatesCopyProgressRoutine, IntPtr, Boolean, CopyFileFlags) function.
CopyFileProgressAction Specifies the action to take during a copy file progress when using DelegatesCopyProgressRoutine function.
CopyFileProgressCallbackReason Specifies the reason why DelegatesCopyProgressRoutine was called CopyFileEx(String, String, DelegatesCopyProgressRoutine, IntPtr, Boolean, CopyFileFlags) function.
CoWaitForMultipleHandlesFlags Specifies the behavior of the CoWaitForMultipleHandles(CoWaitForMultipleHandlesFlags, UInt32, UInt32, IntPtr, UInt32) function.
CreateFileFlags Specifies the file or device flags for the CreateFile(String, FileAccessRights, FileShare, IntPtr, FileMode, CreateFileFlags, IntPtr) function.

These flags can be combined with any value of the FileAttributes enumeration.

CreateIconFromResourceFlags Flags that determine how the icon is created by CreateIconFromResourceEx(Byte, UInt32, Boolean, UInt32, Int32, Int32, CreateIconFromResourceFlags) function.
CreateMutexFlags Flags for CreateMutexEx(SecurityAttributes, String, CreateMutexFlags, StandardAccessRights) function.
CreateProcessFlags Specifies the changes to be applied for the active desktop.

These flags are used by the CreateProcess(String, StringBuilder, SecurityAttributes, SecurityAttributes, Boolean, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation), CreateProcessAsUser(IntPtr, String, StringBuilder, SecurityAttributes, SecurityAttributes, Boolean, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation), CreateProcessWithLogon(String, String, String, ProcessLogonFlags, String, StringBuilder, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation), and CreateProcessWithToken(IntPtr, ProcessLogonFlags, String, StringBuilder, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation) functions.

CreateThreadFlags Specifies the flags that control the creation of a thread.
CredentialsDialogOptions Flags for CredUIPromptForCredentials(CredUiInfo, String, IntPtr, Win32ErrorCode, StringBuilder, Int32, StringBuilder, Int32, Boolean, CredentialsDialogOptions) and CredUICmdLinePromptForCredentials(String, IntPtr, Win32ErrorCode, StringBuilder, UInt32, StringBuilder, UInt32, Boolean, CredentialsDialogOptions) functions.
CredentialsPackFlags Specifies how a credential should be packed/unpacked when calling CredPackAuthenticationBuffer(CredentialsPackFlags, String, String, IntPtr, Int32) and CredUnPackAuthenticationBuffer(CredentialsPackFlags, IntPtr, Int32, IntPtr, Int32, IntPtr, Int32, IntPtr, Int32) functions.
CursorInfoFlags Specifies The cursor state for Flags field.
D3DKMDTVideoSignalStandard Contains constants that represent video signal standards.
DefineDosDeviceFlags Specifies the controllable aspects of the DefineDosDevice(DefineDosDeviceFlags, String, String) function.
DeviceEvents Specifies a change to the hardware configuration of a device.
DeviceModeDisplayOrientation Specifies the orientation at which images should be presented in a display device.

For DisplayOrientation field.

For ChangeDisplaySettingsEx(String, DevMode, IntPtr, ChangeDisplaySettingsFlags, IntPtr) function.

DeviceModeFields Specifies whether certain members of the DevMode structure have been initialized.

Flags combination for Fields field.

DeviceType Specifies a type of device.
DirectoryManagementControlCodes Specifies Directory Management Control Codes to use with the DeviceIoControl(SafeFileHandle, DirectoryManagementControlCodes, IntPtr, Int32, IntPtr, Int32, Int32, IntPtr) function.
DisplayConfigModeInfoType Specifies that the information that is contained within the DisplayConfigModeInfo structure is either source or target mode.
DisplayConfigPixelFormat Specifies pixel format in various bits per pixel (BPP) values.
DisplayConfigRotation Specifies the clockwise rotation of a display.
DisplayConfigScaling Specifies the scaling transformation applied to content displayed on a video present network (VidPN) present path.
DisplayConfigScanlineOrdering Specifies the method that the display uses to create an image on a screen.
DisplayConfigTopologyId Specifies the type of display topology.
DisplayConfigVideoOutputTechnology Specifies the connector type.
DisplayDeviceStateFlags Device state flags.

Flags combination for StateFlags field.

DisplaySettingsChange Specifies a result value of a call to ChangeDisplaySettingsEx(String, DevMode, IntPtr, ChangeDisplaySettingsFlags, IntPtr) function.
DpiAwareness Identifies the dots per inch (dpi) setting for a thread, process, or window.
DrawEdgeFlags Flags for specifying border behavior for DrawEdge(IntPtr, NativeRectangle, DrawEdgeType, DrawEdgeFlags) function.
DrawEdgeType Specifies 3D edge / border styles for DrawEdge(IntPtr, NativeRectangle, DrawEdgeType, DrawEdgeFlags) function.
DrawFrameControlButtonFlags Specifies the type of a button frame control to be drawn using DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlButtonFlags) function.
DrawFrameControlCaptionType Specifies the type of a caption or popup menu frame control to be drawn using DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlButtonFlags) function.
DrawFrameControlMenuType Specifies the type of a menu frame control to be drawn using DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlButtonFlags) function.
DrawFrameControlScrollFlags Specifies the type and flags of a scroll bar frame control to be drawn using DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlButtonFlags) function.
DrawFrameControlType Specifies the type of frame control to be drawn using DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlButtonFlags) function.
DuplicateHandleOptions Specifies optional actions for DuplicateHandle(IntPtr, IntPtr, IntPtr, IntPtr, GenericAccessRights, Boolean, DuplicateHandleOptions) function.
DwmBlurBehindFlags Flags used by the DwmBlurBehind structure to indicate which of its members contain valid information.
DwmIconicLivePreviewFlags Specifies the display options for the thumbnail set by DwmSetIconicLivePreviewBitmap(IntPtr, SafeBitmapHandle, NativePoint, DwmIconicLivePreviewFlags) function.
DwmIconicThumbnailFlags Specifies the display options for the thumbnail set by DwmSetIconicThumbnail(IntPtr, SafeBitmapHandle, DwmIconicThumbnailFlags) function.
DwmThumbnailPropertiesFlags Specifies flags used by the DwmThumbnailProperties structure to indicate which of its members contain valid information.
DwmWindowAttribute Specifies the attribute to set when calling the DwmSetWindowAttribute(IntPtr, DwmWindowAttribute, IntPtr, UInt32) function.
EAudioSessionDisconnectReason Defines constants that indicate the current state of an audio session.

The OnSessionDisconnected(EAudioSessionDisconnectReason) function use the constants defined in the EAudioSessionDisconnectReason enumeration.

EAudioSessionState Defines constants that indicate the current state of an audio session.

The GetState(EAudioSessionState) and OnStateChanged(EAudioSessionState) functions use the constants defined in the EAudioSessionState enumeration.

EDataFlow Defines constants that indicate the direction in which audio data flows between an audio endpoint device and an application.

The GetDefaultAudioEndpoint(EDataFlow, ERole, IMMDevice), IMMDeviceEnumerator.EnumAudioEndpoints, IMMEndpoint.GetDataFlow, and IMMNotificationClient.OnDefaultDeviceChanged methods use the constants defined in the EDataFlow enumeration.

EDeviceState Indicate the current state of an audio endpoint device.

The GetState(EDeviceState) function use the constants defined in the EDeviceState enumeration.

EditControlMessages The system sends or posts a message when it communicates with an edit-control.

An edit-control is an editable control such a TextBox.

EnumDisplaySettingsMode For modeNum parameter of EnumDisplaySettings(String, EnumDisplaySettingsMode, DevMode) function.
EnumProcessModulesFilter Filter for EnumProcessModulesEx(IntPtr, IntPtr, UInt32, UInt32, EnumProcessModulesFilter) function.
EnumSystemCodePagesFlags Flags specifying the locale identifiers to enumerate when calling EnumSystemCodePages(DelegatesEnumCodePagesProc, EnumSystemCodePagesFlags) function.
EnumSystemLocalesFlags Flags specifying the locale identifiers to enumerate when calling EnumSystemLocales(DelegatesEnumLocalesProc, EnumSystemLocalesFlags) function.
ERole Defines constants that indicate the role that the system has assigned to an audio endpoint device.

The GetDefaultAudioEndpoint(EDataFlow, ERole, IMMDevice) and IMMNotificationClient.OnDefaultDeviceChanged methods use the constants defined in the ERole enumeration.

EStgmAccess Defines constants that specifies whether to open a IPropertyStore in read mode, write mode, or read/write mode.

The OpenPropertyStore(EStgmAccess, IPropertyStore) function use the constants defined in the EStgmAccess enumeration.

EventAccessRights Specifies the access rights for an event object.
ExceptionFlags Specifies flags for a exception that occured in the calling thread.
ExecutionState Enables an application to inform the system that it is in use, thereby preventing the system from entering sleep or turning off the display while the application is running.
ExitwindowsExFlags Flags for uFlags parameter of ExitWindowsEx(ExitwindowsExFlags, ShutdownReason) function.
ExtTextOutOptions Specifies how to use the application-defined rectangle.

For ExtTextOut(IntPtr, Int32, Int32, ExtTextOutOptions, NativeRectangle, String, UInt32, Int32) function.

FiberFlags Flags used by ConvertThreadToFiberEx(IntPtr, FiberFlags) function.
FileAccessRights Specifies file-specific access rights.
FileOperationFlags Specifies the flags that control the file operation when calling SetOperationFlags(FileOperationFlags) function.
FindStreamInfoLevels Defines values that are used with the FindFirstStreamW(String, FindStreamInfoLevels, FindStreamData, UInt32) function to specify the information level of the returned data.
FindStreamType Defines the type of a stream data pointed by Type member.
FlashWindowFlags Specifies the flash status flags for a window.

Flags combination for DwFlags parameter of FlashWindowInfo structure.

FormatMessageFlags Specifies the formatting options for a message.

For FormatMessage(FormatMessageFlags, IntPtr, UInt32, UInt32, IntPtr, UInt32, String) function.

GenericAccessRights Specifies the generic access rights that correspond to operations specific to a securable object type.

Securable objects use an access mask format in which the four high-order bits specify generic access rights. Each type of securable object maps these bits to a set of its standard and object-specific access rights. For example, a Windows file object maps the Read bit to the ReadControl and Synchronize standard access rights and to the ReadData, ReadExtendedAttributes, and ReadAttributes object-specific access rights.

Other types of objects map the Read bit to whatever set of access rights is appropriate for that type of object.

You can use generic access rights to specify the type of access you need when you are opening a handle to an object. This is typically simpler than specifying all the corresponding standard and specific rights.

GetAncestorFlags Specifies the changes to be applied for the active desktop.

For GetAncestor(IntPtr, GetAncestorFlags) function.

GetDeviceCapsItem Specifies the item to be returned when calling the GetDeviceCaps(IntPtr, Int32) function.
GetDeviceLparam Specifies a type of input device event
GetGuiResourcesFlags Specifies the type of a GUI resource.

For GetGuiResources(IntPtr, GetGuiResourcesFlags) function.

GetIconLocationFlags Flags used by GetIconLocation(GetIconLocationFlags, StringBuilder, Int32, Int32, GetIconLocationResultFlags) and GetIconLocation(GetIconLocationFlags, StringBuilder, Int32, Int32, GetIconLocationResultFlags) functions.
GetIconLocationResultFlags Flags used by GetIconLocation(GetIconLocationFlags, StringBuilder, Int32, Int32, GetIconLocationResultFlags) and GetIconLocation(GetIconLocationFlags, StringBuilder, Int32, Int32, GetIconLocationResultFlags) functions.
GetModuleHandleExFlags Specifies the flags for GetModuleHandleEx(GetModuleHandleExFlags, String, IntPtr) function.
GetMouseMovePointsResolution Indicate how to retrieve mouse poitns when calling GetMouseMovePointsEx(UInt32, MouseMovePoint, MouseMovePoint, Int32, GetMouseMovePointsResolution) function.
GetNextWindowCmd Specifies whether the GetNextWindow(IntPtr, GetNextWindowCmd) function returns a handle to the next window, or the previous window.
GetPathFromIdListOption Determine the type of path returned by SHGetPathFromIDListEx(IntPtr, StringBuilder, UInt32, GetPathFromIdListOption) function.
GetRawInputDataCommand Values for uiCommand of GetRawInputData(IntPtr, GetRawInputDataCommand, IntPtr, UInt32, UInt32) function.
GetRawInputDeviceInfoCommand Values for uiCommand of GetRawInputDeviceInfo(IntPtr, GetRawInputDeviceInfoCommand, IntPtr, UInt32) function.
GetWindowCmd The relationship between the specified window and the window whose handle is to be retrieved.

gwCmd parameter of GetWindow(IntPtr, GetWindowCmd) function.

HandleFlags Indicates properties of an object handle.
HardErrorResponse Specifies the response when calling NtRaiseHardError(NTStatus, UInt32, UInt32, IntPtr, HardErrorResponseOption, HardErrorResponse) function.
HardErrorResponseOption Specifies the response option when calling NtRaiseHardError(NTStatus, UInt32, UInt32, IntPtr, HardErrorResponseOption, HardErrorResponse) function.
HeapFlags Flags for Heap functions
HeapInformationClass Specifies a class of heap information to be set or retrieved.
HookType Specifies a type of hook procedure to be installed.

hookType parameter of SetWindowsHookEx(HookType, DelegatesHookProc, IntPtr, UInt32) function.

HResult Specifies error conditions and warning conditions about the success or failure of a method or function call.
InitiateShutdownFlags Flags for dwShutdownFlags parameter of InitiateShutdown(String, String, Int32, UInt32, UInt32) function.
InputType The type of an input event.

For Type field.

IpStatsForwarding Specifies whether IP forwarding is enabled or disabled for a protocol (IPv4 or IPv6).
IShellItemImageFactoryGetImageFlags Specifies icon flags for GetImage(Size, IShellItemImageFactoryGetImageFlags, IntPtr) function.
IShellLinkGetPathFlags IShellLink.GetPath method flags that specify the type of path information to retrieve.
IShellLinkResolveFlags IShellLink.Resolve method action flags.
KeybdEventFlags Specifies key behavior for the KeybdEvent(VirtualKeys, Byte, KeybdEventFlags, UIntPtr) method.
KeyboardInputFlags Specifies various aspects of a keystroke.

Flags combination for Flags field.

KeyboardLayoutFlags Specifies how the input locale identifier is to be loaded when calling LoadKeyboardLayout(String, KeyboardLayoutFlags) function.
KeyboardLowLevelHookStructFlags An application can use the following values to test the keystroke flags of a keyboard low-level hook.

Flags combination for Flags field.

LayeredWindowAttributesFlags An action to be taken.

GetLayeredWindowAttributes(IntPtr, UInt32, Byte, LayeredWindowAttributesFlags) and SetLayeredWindowAttributes(IntPtr, UInt32, Int32, LayeredWindowAttributesFlags) function.

ListBoxMessages The system sends or posts a system-defined message when it communicates with an application.

It uses these messages to control the operations of applications and to provide input and other information for applications to process.

An application can also send or post system-defined messages.

Applications generally use these messages to control the operation of control windows created by using preregistered window classes.

ListViewMessages The system sends or posts a system-defined message when it communicates with an application.

It uses these messages to control the operations of applications and to provide input and other information for applications to process.

An application can also send or post system-defined messages.

Applications generally use these messages to control the operation of control windows created by using preregistered window classes.

LoadImageFlags Flags that determines how the image is loaded by LoadImage(IntPtr, String, LoadImageType, Int32, Int32, LoadImageFlags) function.
LoadImageType Specifies the type of image to be loaded by LoadImage(IntPtr, String, LoadImageType, Int32, Int32, LoadImageFlags) function.
LoadLibraryFlags Specifies the action to be taken when loading the module through the LoadLibraryEx(String, IntPtr, LoadLibraryFlags) function.
LParams Specifies additional message-specific information for various system-defined message.
MCICommands Specifies a command message to use with MciSendCommand(Int32, MCICommands, IntPtr, MciOpenParms) function.
MemoryAllocationType Specifies the type of memory allocation operation.
MemoryFreeType Specifies the type of a memory free operation.
MemoryProtectionOptions Specifies memory-protection options.

You must specify one of the following values when allocating or protecting a page in memory.

Protection attributes cannot be assigned to a portion of a page; they can only be assigned to a whole page

MemoryResourceNotificationType indicates the memory condition under which an object is to be signaled when calling CreateMemoryResourceNotification(MemoryResourceNotificationType) function.
MemoryState Specifies the state of the pages in the memory region.
MemoryType Specifies the type of pages in a memory region.
MenuItem Specifies a menu-item type for the Type field.
MenuItemMask Specifies a mask type for the Mask field.
MenuItemState Specifies a menu item state.
MenuItemType Specifies a menu-item type for the Type field.
MenuMask Specifies a mask type for the Mask field. Indicate the members to be retrieved or set (except for ApplyToSubmenus).
MenuPosition Specifies a menu position type.
MenuStyle Specifies a menu style for the Style field.
MessageFilterInfo Specifies additional information about a success call to ChangeWindowMessageFilterEx(IntPtr, EditControlMessages, ChangeWindowMessageFilterExAction, ChangeFilter) function.
MiniDumpType Specifies the type of MiniDump information to be generated.

For MiniDumpWriteDump(IntPtr, Int32, SafeHandle, MiniDumpType, MiniDumpExceptionInformation, IntPtr, IntPtr) function.

MonitorFromFlags Determines the function's return value when calling MonitorFromWindow(IntPtr, MonitorFromFlags), MonitorFromPoint(NativePoint, MonitorFromFlags) or MonitorFromRect(NativeRectangle, MonitorFromFlags) functions.
MonitorInfoFlags Specifies the attributes of a display monitor.

For GetMonitorInfo(IntPtr, MonitorInfo) function.

MouseEventFlags Specifies a mouse motion event.
MouseInputFlags A set of bit flags that specify various aspects of mouse motion and button clicks.

Flags combination for Flags field.

MouseLowLevelHookStructFlags An application can use the following values to test a mouse low-level flags.

Flags combination for Flags field.

MuiLanguageMode Specifies the language format to use for Multilingual User Interface (MUI) functions.
MultiByteCharConversionType Flags indicating the conversion type when calling MultiByteToWideChar(CodePage, MultiByteCharConversionType, Byte, Int32, Char, Int32) function.
MutexInformationClass  
NativeHotkeyModifiers Specifies a key-modifier to assign for a hotkey.
NativeWindowState Controls how a window is to be shown.
NcRenderingPolicyFlags Flags used by the DwmSetWindowAttribute(IntPtr, DwmWindowAttribute, IntPtr, UInt32) function to specify the non-client area rendering policy.
NetworkErrorCode Specifies a list of error codes for the network management functions of the Windows API. (eg. The NetUserGetInfo function)

These error codes are returned by the GetLastWin32Error function when a function fails.

NTStatus Specifies the NTSTATUS values.

Many kernel-mode standard driver routines and driver support routines use the NTStatus Enum for return values.

ObjectHandleAttributes Specifies flags for the Attributes field.
OfferVirtualMemoryPriority Specifies how important a offered virtual memory is to the application.

For OfferVirtualMemory(IntPtr, IntPtr, OfferVirtualMemoryPriority) function.

OpenAsInfoFlags Flags for Flags property.
OpenFolderFlags Flags for SHOpenFolderAndSelectItems(PIDL, UInt32, IntPtr, OpenFolderFlags) function.
PathOptions Flags that determine ho to construct a path.
PathResolveFlags Flags for PathResolve(StringBuilder, String, PathResolveFlags) function.
PeekMessageFlags Specifies how messages are to be handled when calling PeekMessage(NativeMessage, IntPtr, UInt32, UInt32, PeekMessageFlags) function.
PopupWindowPositionFlags Specifies how the CalculatePopupWindowPosition(NativePoint, NativeSize, PopupWindowPositionFlags, NativeRectangle, NativeSize) function positions the pop-up window horizontally and vertically.
PowerPlanAccess Specifies what will be enumerated by PowerEnumerate(IntPtr, IntPtr, IntPtr, PowerPlanAccess, UInt32, Guid, UInt32) function.
PrivilegeStates Specifies a privilege state.
ProcessAccessRights Specifies process-specific access rights.
ProcessErrorMode Specifies the error mode for a process.

Flags used by GetErrorMode and SetErrorMode(ProcessErrorMode) functions.

ProcessInformationClass Specifies the type of process information to be retrieved when calling NtQueryInformationProcess(IntPtr, ProcessInformationClass, ProcessBasicInformation, Int32, Int32) function.
ProcessLogonFlags Specifies how to log on when calling CreateProcessWithLogon(String, String, String, ProcessLogonFlags, String, StringBuilder, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation) and CreateProcessWithToken(IntPtr, ProcessLogonFlags, String, StringBuilder, CreateProcessFlags, IntPtr, String, ProcessStartupInfo, ProcessInformation) function.
ProcessNameFlags Specifies the format of a process-name path.
ProcessorArchitecture Specifies a processor feature.

For ProcessorArchitecture member.

ProcessorFeature Specifies a processor feature.

For IsProcessorFeaturePresent(ProcessorFeature) function.

ProcessPrivileges Specifies a process privilege.
ProcessStartupInfoFlags Flags for Flags member.
ProgressBarMessages The system sends or posts a system-defined message when it communicates with an application.

It uses these messages to control the operations of applications and to provide input and other information for applications to process.

An application can also send or post system-defined messages.

Applications generally use these messages to control the operation of control windows created by using preregistered window classes.

ProgressDialogFlags Flags that control the operation of the progress dialog box for StartProgressDialog(IntPtr, Object, ProgressDialogFlags, IntPtr) function.
ProgressDialogTimerFlags Flags that indicate the action to be taken by the timer of the progress dialog box for Timer(ProgressDialogTimerFlags, IntPtr) function.
PssCaptureFlags Specifies what information PssCaptureSnapshot(IntPtr, PssCaptureFlags, UInt32, IntPtr) function captures.
PssDuplicateFlags Duplication flags for use by PssDuplicateSnapshot(IntPtr, IntPtr, IntPtr, IntPtr, PssDuplicateFlags) function.
PssProcessFlags Flags that describe a process in a process snapshot (pss).

Used by Flags member.

PssQueryInformationClass Specifies what information PssQuerySnapshot(IntPtr, PssQueryInformationClass, IntPtr, UInt32) function returns.
QueryAssemblyInfoFlags Flags combination for flags parameter of QueryAssemblyInfo(QueryAssemblyInfoFlags, String, AssemblyInfo) function.
QueryDisplayConfigFlags Flags for QueryDisplayConfig(QueryDisplayConfigFlags, UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, DisplayConfigTopologyId) function.
QueryUserNotificationState Specifies the state of the machine for the current user in relation to the propriety of sending a notification.

Used by SHQueryUserNotificationState(QueryUserNotificationState) function.

QueueStatusFlags Specifies the types of messages for which to check when calling GetQueueStatus(QueueStatusFlags) function.
RawInputDeviceFlags Flags combinations for of Flags member.
RawKeyboardFlags Flags for raw keyboard input, Flags member.
RawMouseButtons The mouse buttons data for raw mouse input.
RawMouseFlags The mouse state for raw mouse data.
RedrawWindowFlags Specifies how a window must be redrawn by RedrawWindow(IntPtr, NativeRectangle, IntPtr, RedrawWindowFlags) function.
RegionCombineMode Inndicates how two regions will be combined when calling CombineRgn(IntPtr, IntPtr, IntPtr, RegionCombineMode) function.
RegionComplexity specifies the complexity of a region.
RegNotifyChangeFilter Specifies the changes that should be reported when calling RegNotifyChangeKeyValue(SafeRegistryHandle, Boolean, RegNotifyChangeFilter, IntPtr, Boolean) function.
ReparseDataBufferFlags Flags for the Flags member.
ReparsePointTags Specifies a predefined Microsoft reparse point tag, for the ReparseTag member.
ResourceType Specifies a resource type of a resource table.

Used by FindResource(SafeModuleHandle, IntPtr, ResourceType), FindResourceEx(SafeModuleHandle, ResourceType, IntPtr, UInt16) and UpdateResource(SafeModuleHandle, ResourceType, IntPtr, UInt16, IntPtr, UInt32) function.

ScrollBarOrientation Flags combination for bar parameter of GetScrollInfo(IntPtr, ScrollBarOrientation, ScrollInfo), SetScrollInfo(IntPtr, ScrollBarOrientation, ScrollInfo, Boolean) and ShowScrollBar(IntPtr, ScrollBarOrientation, Boolean) function.
ScrollInfoMask For Mask field.
SectionAccessRights Specifies access rights for section objects.
SectionAttributes Specifies the attributes for a section object.

A section object represents a section of memory that can be shared. A process can use a section object to share parts of its memory address space (memory sections) with other processes.

Section objects also provide the mechanism by which a process can map a file into its memory address space.

Each memory section has one or more corresponding views. A view of a section is a part of the section that is actually visible to a process. The act of creating a view for a section is known as mapping a view of the section.

Each process that is manipulating the contents of a section has its own view; a process can also have multiple views (to the same or different sections).

SectionInherit Specifies how the view of a section object is to be shared with child processes when calling NtMapViewOfSection(IntPtr, SafeProcessHandle, IntPtr, IntPtr, IntPtr, Int64, UIntPtr, SectionInherit, MemoryAllocationType, MemoryProtectionOptions) function.
SecurityImpersonationLevel Specifies security impersonation levels.

Security impersonation levels govern the degree to which a server process can act on behalf of a client process.

SecurityInformation Specifies the object-related security information being set or queried.
SendMessageTimeoutFlags Flags for fuFlags parameter of SendMessageTimeout(IntPtr, EditControlMessages, IntPtr, IntPtr, SendMessageTimeoutFlags, Int32, IntPtr) function.
SetDisplayConfigFlags Flags for SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) function.
SetForegroundWindowLockModes Specifies whether to enable or disable calls to SetForegroundWindow(IntPtr) function.
SetProcessWorkingSetSizeFlags Specifies the enforcement of the minimum and maximum working set sizes.

For SetProcessWorkingSetSizeEx(IntPtr, IntPtr, IntPtr, SetProcessWorkingSetSizeFlags) function.

SetupApiDeviceFiter Specifies control options that filter the device information elements that are added to the device information set.

For SetupDiGetClassDevs(IntPtr, String, IntPtr, SetupApiDeviceFiter) function.

SetWindowPosFlags The window sizing and positioning flags.

Flags combination for uFlags parameter of SetWindowPos(IntPtr, IntPtr, Int32, Int32, Int32, Int32, SetWindowPosFlags) function.

SHChangeNotifyEventID Flags for wEventId parameter of SHChangeNotify(SHChangeNotifyEventID, SHChangeNotifyFlags, IntPtr, IntPtr) method.
SHChangeNotifyFlags Flags for uFlags parameter of SHChangeNotify(SHChangeNotifyEventID, SHChangeNotifyFlags, IntPtr, IntPtr) method.
ShellAddToRecentDocsFlags Specifies the interpretation of the data passed by SHAddToRecentDocs(ShellAddToRecentDocsFlags, PIDL) function in its path parameter to identify the item whose usage statistics are being tracked.
ShellFolderEnumObjectsFlags Flags for EnumObjects(IntPtr, ShellFolderEnumObjectsFlags) method.
ShellFoldermGetDisplayName Defines the values used with the GetDisplayNameOf(PIDL, ShellFoldermGetDisplayName) and SetNameOf(IntPtr, PIDL, String, ShellFoldermGetDisplayName, PIDL) methods to specify the type of file or folder names used by those methods.
ShellItemAttributesMask Specifies the ttributes that can be retrieved on an item (file or folder) or set of items.
ShellItemCompareHint Used to determine how to compare two Shell items.

For Compare(IShellItem, ShellItemCompareHint) function.

ShellItemGetDisplayName Requests the form of an item's display name to retrieve through GetDisplayName(ShellItemGetDisplayName) and SHGetNameFromIDList(PIDL, ShellItemGetDisplayName, StringBuilder) functions.
ShellStateFlags Specifies which members of a ShellState structure should be set or retrived.

This enumeration is used with the SHGetSetSettings(ShellState, ShellStateFlags, Boolean) function.

SHEmptyRecycleBinFlags Specifies the Recycle Bin behavior when cleaning the bin.
SHGetFileInfoFlags Flags to use with the SHGetFileInfo(IntPtr, FileAttributes, ShellFileInfo, UInt32, SHGetFileInfoFlags) function.
SHGetNewLinkInfoFlags Flags for SHGetNewLinkInfo(String, String, StringBuilder, Boolean, SHGetNewLinkInfoFlags) function.
SHObjectPropertiesFlags Flags for SHObjectProperties(IntPtr, SHObjectPropertiesFlags, String, String) function.
SHUpdateImageFlags Specifies the icon attributes when calling SHUpdateImage(String, Int32, SHUpdateImageFlags, Int32) function.
ShutdownPlanning Flags combination for dwReason parameter of ExitWindowsEx(ExitwindowsExFlags, ShutdownReason) and InitiateShutdown(String, String, Int32, UInt32, UInt32) functions.
ShutdownReason Flags for reason parameter of ExitWindowsEx(ExitwindowsExFlags, ShutdownReason) function.
SpecialWindowHandles A handle to the window to precede the positioned window in the Z order.

hwndInsertAfter parameter of SetWindowPos(IntPtr, IntPtr, Int32, Int32, Int32, Int32, SetWindowPosFlags) function.

StandardAccessRights Specifies the access rights that correspond to operations specific to a standard object type.
StandardDevice Specifies a standard device (standard input, standard output, or standard error).

For GetStdHandle(StandardDevice), SetStdHandle(StandardDevice, IntPtr) and SetStdHandleEx(StandardDevice, IntPtr, IntPtr) functions.

StockObjects Specifies the values used in GetClassLong(IntPtr, ClassLongValues) / GetClassLongPtr(IntPtr, ClassLongValues) and SetClassLong(IntPtr, ClassLongValues, UInt32) / SetClassLongPtr(IntPtr, ClassLongValues, IntPtr) functions to access or modify various attributes of a window class.
StorageModeFlags The STGM (Storage Mode) constants are flags that indicate conditions for creating and deleting the object and access modes for the object.

The STGM (Storage Mode) constants are included in the IStorage, IStream, and IPropertySetStorage interfaces and in the StgCreateDocfile, StgCreateStorageEx, StgCreateDocfileOnILockBytes, StgOpenStorage, and StgOpenStorageEx functions.

These elements are often combined using an OR operator. They are interpreted in groups as listed in the following table. It is not valid to use more than one element from a single group.

Use a flag from the creation group when creating an object, such as with StgCreateStorageEx or IStorage::CreateStream.

You can combine these flags, but you can only choose one flag from each group of related flags. Typically one flag from each of the access and sharing groups must be specified for all functions and methods which use these constants. Flags from other groups are optional.

StrFormatByteSizeFlags Specifies whether to round or truncate undisplayed digits when calling StrFormatByteSizeEx(UInt64, StrFormatByteSizeFlags, StringBuilder, UInt32) function.
SymbolicLinkFlags Indicates whether a symbolic link is a file or is a directory.
SymFlags Flags combination for Flags property.
SymLoadModuleFlags Flags combination for flags parameter of SymLoadModuleEx(IntPtr, IntPtr, String, String, UInt64, Int32, IntPtr, SymLoadModuleFlags) function.
SymOptionFlags Flags combination for symOptions parameter of SymSetOptions(SymOptionFlags) function.
SymTagEnum Flags combination for Tag property.
SystemCursorId Flags for fWinIni parameter of SetSystemCursor(IntPtr, SystemCursorId) function.
SystemParametersActionFlags Flags for uiAction parameter of SystemParametersInfo(SystemParametersActionFlags, Boolean, Boolean, SystemParametersWinIniFlags) function.
SystemParametersWinIniFlags Flags for fWinIni parameter of SystemParametersInfo(SystemParametersActionFlags, Boolean, Boolean, SystemParametersWinIniFlags) function.
TaskbarProgressBarState Specifies a thumbnail progress bar state.
TernaryRasterOperations Specifies a raster-operation code.

These codes define how the color data for the source rectangle is to be combined with the color data for the destination rectangle to achieve the final color.

ThreadAccessRights Specifies thread-specific access rights.
ThreadErrorMode Specifies a thread error mode.

Enumeration used by SetThreadErrorMode(ThreadErrorMode, ThreadErrorMode) function.

ThumbnailAlphaType Specifies the alpha channel type of a thumbnail image.
ThumbnailCacheFlags Specifies cache options for the extraction and display of a thumbnail image.

For GetThumbnail(IShellItem, UInt32, ThumbnailFlags, ISharedBitmap, ThumbnailCacheFlags, ThumbnailId) function.

ThumbnailFlags Specifies options for the extraction and display of a thumbnail image.

For GetThumbnail(IShellItem, UInt32, ThumbnailFlags, ISharedBitmap, ThumbnailCacheFlags, ThumbnailId) function.

TokenAccess Flags combination for desiredAccess parameter of OpenProcessToken(SafeProcessHandle, TokenAccess, IntPtr) function.
TokenInformationClass Specifies the type of information being assigned to or retrieved from an access token.

The GetTokenInformation(IntPtr, TokenInformationClass, IntPtr, Int32, Int32) function uses these values to indicate the type of token information to retrieve.

TokenType Contains values that differentiate between a primary token and an impersonation token.
ToolBarButtonInfoMask Specifies which members contain valid information.

For Mask and Mask members.

ToolbarButtonStates Specifies the states a toolbar button can have.
ToolbarMessages The system sends or posts a system-defined message when it communicates with an application.

It uses these messages to control the operations of applications and to provide input and other information for applications to process.

An application can also send or post system-defined messages.

Applications generally use these messages to control the operation of control windows created by using preregistered window classes.

TrackPopupMenuFlags Specifies the alignment, discovery and animations of the menu.

For TrackPopupMenu(IntPtr, TrackPopupMenuFlags, Int32, Int32, Int32, IntPtr, IntPtr) function.

TransferSourceFlags Flags used by methods of the ITransferSource, ITransferDestination and IFileOperation interfaces to control their file operations.
UpdateLayeredWindowflags For flags parameter of UpdateLayeredWindow(IntPtr, IntPtr, NativePoint, NativeSize, IntPtr, NativePoint, Int32, BlendFunction, UpdateLayeredWindowflags) function.
VirtualKeyMappingTypes Specifies a virtual key mapping type.

For MapVirtualKey(UInt32, VirtualKeyMappingTypes) and MapVirtualKeyEx(UInt32, VirtualKeyMappingTypes, IntPtr) functions.

VirtualKeys Virtual-key codes.
VolumeInformationFlags Specifies filesystem information flags for GetVolumeInformation(String, StringBuilder, Int32, UInt32, Int32, VolumeInformationFlags, StringBuilder, Int32) function.
WaitObjectResult Specifies the event that caused the functions WaitForSingleObject(IntPtr, UInt32) or WaitForSingleObjectEx(IntPtr, UInt32, Boolean) to return.
WerFaultReporting Flags for WerGetFlags(IntPtr, WerFaultReporting) and WerSetFlags(WerFaultReporting).
WerRegisterFileType Flags for WerRegisterFile(String, WerRegisterFileType, WerRegisterFileTypeFlags) function that specifies the file type.
WerRegisterFileTypeFlags Flags for WerRegisterFile(String, WerRegisterFileType, WerRegisterFileTypeFlags) that can be specified when adding a file to the report.
WideCharConversionType Flags indicating the conversion type when calling WideCharToMultiByte(CodePage, WideCharConversionType, String, Int32, StringBuilder, Int32, String, Boolean) function.
Win32ErrorCode Specifies system error codes for the Windows API functions.

These error codes are returned by the GetLastWin32Error function when a function fails.

WindowAnimation Specifies a window animation.
WindowHitTestRegions Specifies the position of the cursor hot spot.

Options available when a form is tested for mouse positions with WM_NchitTest message.

WindowLongValues Specifies the zero-based offset to the value to be get or set on a window.
WindowMessages The system sends or posts a system-defined message when it communicates with an application.

It uses these messages to control the operations of applications and to provide input and other information for applications to process.

An application can also send or post system-defined messages.

Applications generally use these messages to control the operation of control windows created by using preregistered window classes.

WindowsBeepType Specifies a sound to be played by MessageBeep(WindowsBeepType) method.
WindowsCredentialsDialogOptions Flags for CredUIPromptForWindowsCredentials(CredUiInfo, Win32ErrorCode, UInt32, IntPtr, UInt32, IntPtr, UInt32, Boolean, WindowsCredentialsDialogOptions) function.
WindowSkipOptions Specifies the child windows to be skipped when calling ChildWindowFromPointEx(IntPtr, NativePoint, WindowSkipOptions) function.
WindowStyles The following styles can be specified wherever a window style is required.

After the control has been created, these styles cannot be modified, except as noted.

WindowStylesEx Extended window styles.
WinMmResult Defines an error value for WaveOutGetVolume(IntPtr, UInt32) and WaveOutSetVolume(IntPtr, UInt32) functions.
WParams Specifies additional message-specific information for various system-defined messages.