The d3d11c Module

DirectPython constants module. Most constants are directly from SDK-headers. Certain prefixes are usually removed, for example D3D11_BLEND_ZERO in C-code would be BLEND_ZERO (the D3D11_-prefix is removed) in DirectPython. All .fx-files use the same notation.

This module is usually imported with from d3d11 import *, but you don’t have to if you don’t want to clutter your namespace. You can use import d3d11c and access them by their module name (d3d11c.BLEND_ZERO).

Constants

Direct3D 11 constants

Device driver type

MSDN: http://msdn.microsoft.com/en-gb/library/ff476328%28v=VS.85%29.aspx

DRIVER_TYPE_UNKNOWN
DRIVER_TYPE_HARDWARE
DRIVER_TYPE_REFERENCE
DRIVER_TYPE_NULL
DRIVER_TYPE_SOFTWARE
DRIVER_TYPE_WARP

Map

MSDN: http://msdn.microsoft.com/en-gb/library/ff476181%28v=VS.85%29.aspx

MAP_READ
MAP_WRITE
MAP_READ_WRITE
MAP_WRITE_DISCARD
MAP_WRITE_NO_OVERWRITE

Input description

INPUT_PER_VERTEX_DATA
INPUT_PER_INSTANCE_DATA
APPEND_ALIGNED_ELEMENT

Primitive topology

MSDN: http://msdn.microsoft.com/en-gb/library/ff476189%28v=VS.85%29.aspx

PRIMITIVE_TOPOLOGY_UNDEFINED
PRIMITIVE_TOPOLOGY_POINTLIST
PRIMITIVE_TOPOLOGY_LINELIST
PRIMITIVE_TOPOLOGY_LINESTRIP
PRIMITIVE_TOPOLOGY_TRIANGLELIST
PRIMITIVE_TOPOLOGY_TRIANGLESTRIP
PRIMITIVE_TOPOLOGY_LINELIST_ADJ
PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ
PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ
PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ
PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST
PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST

Feature level

FEATURE_LEVEL_9_1
FEATURE_LEVEL_9_2
FEATURE_LEVEL_9_3
FEATURE_LEVEL_10_0
FEATURE_LEVEL_10_1
FEATURE_LEVEL_11_0

Usage

MSDN: http://msdn.microsoft.com/en-gb/library/ff476259%28v=VS.85%29.aspx

USAGE_DEFAULT
USAGE_IMMUTABLE
USAGE_DYNAMIC
USAGE_STAGING

CPU access

MSDN: http://msdn.microsoft.com/en-gb/library/ff476106%28v=VS.85%29.aspx

CPU_ACCESS_WRITE
CPU_ACCESS_READ

Bind

MSDN: http://msdn.microsoft.com/en-gb/library/ff476085%28v=VS.85%29.aspx

BIND_VERTEX_BUFFER
BIND_INDEX_BUFFER
BIND_CONSTANT_BUFFER
BIND_SHADER_RESOURCE
BIND_STREAM_OUTPUT
BIND_RENDER_TARGET
BIND_DEPTH_STENCIL
BIND_UNORDERED_ACCESS

Resource misc flags

MSDN: http://msdn.microsoft.com/en-gb/library/ff476203%28v=VS.85%29.aspx

RESOURCE_MISC_GENERATE_MIPS
RESOURCE_MISC_SHARED
RESOURCE_MISC_TEXTURECUBE
RESOURCE_MISC_DRAWINDIRECT_ARGS
RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS
RESOURCE_MISC_BUFFER_STRUCTURED
RESOURCE_MISC_RESOURCE_CLAMP
RESOURCE_MISC_SHARED_KEYEDMUTEX
RESOURCE_MISC_GDI_COMPATIBLE

Filter

FILTER_MIN_MAG_MIP_POINT
FILTER_MIN_MAG_POINT_MIP_LINEAR
FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT
FILTER_MIN_POINT_MAG_MIP_LINEAR
FILTER_MIN_LINEAR_MAG_MIP_POINT
FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR
FILTER_MIN_MAG_LINEAR_MIP_POINT
FILTER_MIN_MAG_MIP_LINEAR
FILTER_ANISOTROPIC
FILTER_COMPARISON_MIN_MAG_MIP_POINT
FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR
FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT
FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR
FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT
FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR
FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT
FILTER_COMPARISON_MIN_MAG_MIP_LINEAR
FILTER_COMPARISON_ANISOTROPIC

Image filter

IMAGE_FILTER_NONE
IMAGE_FILTER_POINT
IMAGE_FILTER_LINEAR
IMAGE_FILTER_TRIANGLE
IMAGE_FILTER_BOX
IMAGE_FILTER_MIRROR_U
IMAGE_FILTER_MIRROR_V
IMAGE_FILTER_MIRROR_W
IMAGE_FILTER_MIRROR
IMAGE_FILTER_DITHER
IMAGE_FILTER_DITHER_DIFFUSION
IMAGE_FILTER_SRGB_IN
IMAGE_FILTER_SRGB_OUT
IMAGE_FILTER_SRGB

Blend

BLEND_ZERO
BLEND_ONE
BLEND_SRC_COLOR
BLEND_INV_SRC_COLOR
BLEND_SRC_ALPHA
BLEND_INV_SRC_ALPHA
BLEND_DEST_ALPHA
BLEND_INV_DEST_ALPHA
BLEND_DEST_COLOR
BLEND_INV_DEST_COLOR
BLEND_SRC_ALPHA_SAT
BLEND_BLEND_FACTOR
BLEND_INV_BLEND_FACTOR
BLEND_SRC1_COLOR
BLEND_INV_SRC1_COLOR
BLEND_SRC1_ALPHA
BLEND_INV_SRC1_ALPHA

Blending operation

BLEND_OP_ADD
BLEND_OP_SUBTRACT
BLEND_OP_REV_SUBTRACT
BLEND_OP_MIN
BLEND_OP_MAX

Color write

COLOR_WRITE_ENABLE_RED
COLOR_WRITE_ENABLE_GREEN
COLOR_WRITE_ENABLE_BLUE
COLOR_WRITE_ENABLE_ALPHA
COLOR_WRITE_ENABLE_ALL

Texture addressing

TEXTURE_ADDRESS_WRAP
TEXTURE_ADDRESS_MIRROR
TEXTURE_ADDRESS_CLAMP
TEXTURE_ADDRESS_BORDER
TEXTURE_ADDRESS_MIRROR_ONCE

Comparison functions

COMPARISON_NEVER
COMPARISON_LESS
COMPARISON_EQUAL
COMPARISON_LESS_EQUAL
COMPARISON_GREATER
COMPARISON_NOT_EQUAL
COMPARISON_GREATER_EQUAL
COMPARISON_ALWAYS

Stencil operation

STENCIL_OP_KEEP
STENCIL_OP_ZERO
STENCIL_OP_REPLACE
STENCIL_OP_INCR_SAT
STENCIL_OP_DECR_SAT
STENCIL_OP_INVERT
STENCIL_OP_INCR
STENCIL_OP_DECR

Depth write mask

DEPTH_WRITE_MASK_ZERO
DEPTH_WRITE_MASK_ALL

Fill mode

FILL_WIREFRAME
FILL_SOLID

Cull mode

CULL_NONE
CULL_FRONT
CULL_BACK

Format

MSDN: http://msdn.microsoft.com/en-gb/library/bb173059%28v=VS.85%29.aspx

DXGI_FORMAT_UNKNOWN
DXGI_FORMAT_R32G32B32A32_TYPELESS
DXGI_FORMAT_R32G32B32A32_FLOAT
DXGI_FORMAT_R32G32B32A32_UINT
DXGI_FORMAT_R32G32B32A32_SINT
DXGI_FORMAT_R32G32B32_TYPELESS
DXGI_FORMAT_R32G32B32_FLOAT
DXGI_FORMAT_R32G32B32_UINT
DXGI_FORMAT_R32G32B32_SINT
DXGI_FORMAT_R16G16B16A16_TYPELESS
DXGI_FORMAT_R16G16B16A16_FLOAT
DXGI_FORMAT_R16G16B16A16_UNORM
DXGI_FORMAT_R16G16B16A16_UINT
DXGI_FORMAT_R16G16B16A16_SNORM
DXGI_FORMAT_R16G16B16A16_SINT
DXGI_FORMAT_R32G32_TYPELESS
DXGI_FORMAT_R32G32_FLOAT
DXGI_FORMAT_R32G32_UINT
DXGI_FORMAT_R32G32_SINT
DXGI_FORMAT_R32G8X24_TYPELESS
DXGI_FORMAT_D32_FLOAT_S8X24_UINT
DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS
DXGI_FORMAT_X32_TYPELESS_G8X24_UINT
DXGI_FORMAT_R10G10B10A2_TYPELESS
DXGI_FORMAT_R10G10B10A2_UNORM
DXGI_FORMAT_R10G10B10A2_UINT
DXGI_FORMAT_R11G11B10_FLOAT
DXGI_FORMAT_R8G8B8A8_TYPELESS
DXGI_FORMAT_R8G8B8A8_UNORM
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
DXGI_FORMAT_R8G8B8A8_UINT
DXGI_FORMAT_R8G8B8A8_SNORM
DXGI_FORMAT_R8G8B8A8_SINT
DXGI_FORMAT_R16G16_TYPELESS
DXGI_FORMAT_R16G16_FLOAT
DXGI_FORMAT_R16G16_UNORM
DXGI_FORMAT_R16G16_UINT
DXGI_FORMAT_R16G16_SNORM
DXGI_FORMAT_R16G16_SINT
DXGI_FORMAT_R32_TYPELESS
DXGI_FORMAT_D32_FLOAT
DXGI_FORMAT_R32_FLOAT
DXGI_FORMAT_R32_UINT
DXGI_FORMAT_R32_SINT
DXGI_FORMAT_R24G8_TYPELESS
DXGI_FORMAT_D24_UNORM_S8_UINT
DXGI_FORMAT_R24_UNORM_X8_TYPELESS
DXGI_FORMAT_X24_TYPELESS_G8_UINT
DXGI_FORMAT_R8G8_TYPELESS
DXGI_FORMAT_R8G8_UNORM
DXGI_FORMAT_R8G8_UINT
DXGI_FORMAT_R8G8_SNORM
DXGI_FORMAT_R8G8_SINT
DXGI_FORMAT_R16_TYPELESS
DXGI_FORMAT_R16_FLOAT
DXGI_FORMAT_D16_UNORM
DXGI_FORMAT_R16_UNORM
DXGI_FORMAT_R16_UINT
DXGI_FORMAT_R16_SNORM
DXGI_FORMAT_R16_SINT
DXGI_FORMAT_R8_TYPELESS
DXGI_FORMAT_R8_UNORM
DXGI_FORMAT_R8_UINT
DXGI_FORMAT_R8_SNORM
DXGI_FORMAT_R8_SINT
DXGI_FORMAT_A8_UNORM
DXGI_FORMAT_R1_UNORM
DXGI_FORMAT_R9G9B9E5_SHAREDEXP
DXGI_FORMAT_R8G8_B8G8_UNORM
DXGI_FORMAT_G8R8_G8B8_UNORM
DXGI_FORMAT_BC1_TYPELESS
DXGI_FORMAT_BC1_UNORM
DXGI_FORMAT_BC1_UNORM_SRGB
DXGI_FORMAT_BC2_TYPELESS
DXGI_FORMAT_BC2_UNORM
DXGI_FORMAT_BC2_UNORM_SRGB
DXGI_FORMAT_BC3_TYPELESS
DXGI_FORMAT_BC3_UNORM
DXGI_FORMAT_BC3_UNORM_SRGB
DXGI_FORMAT_BC4_TYPELESS
DXGI_FORMAT_BC4_UNORM
DXGI_FORMAT_BC4_SNORM
DXGI_FORMAT_BC5_TYPELESS
DXGI_FORMAT_BC5_UNORM
DXGI_FORMAT_BC5_SNORM
DXGI_FORMAT_B5G6R5_UNORM
DXGI_FORMAT_B5G5R5A1_UNORM
DXGI_FORMAT_B8G8R8A8_UNORM
DXGI_FORMAT_B8G8R8X8_UNORM
DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
DXGI_FORMAT_B8G8R8A8_TYPELESS
DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
DXGI_FORMAT_B8G8R8X8_TYPELESS
DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
DXGI_FORMAT_BC6H_TYPELESS
DXGI_FORMAT_BC6H_UF16
DXGI_FORMAT_BC6H_SF16
DXGI_FORMAT_BC7_TYPELESS
DXGI_FORMAT_BC7_UNORM
DXGI_FORMAT_BC7_UNORM_SRGB

Image format

IFF_BMP
IFF_JPG
IFF_PNG
IFF_DDS
IFF_TIFF
IFF_GIF
IFF_WMP

Windows constants

Show window

MSDN: http://msdn.microsoft.com/en-us/library/ms633548%28VS.85%29.aspx

SW_HIDE
SW_SHOWNORMAL
SW_NORMAL
SW_SHOWMINIMIZED
SW_SHOWMAXIMIZED
SW_MAXIMIZE
SW_SHOWNOACTIVATE
SW_SHOW
SW_MINIMIZE
SW_SHOWMINNOACTIVE
SW_SHOWNA
SW_RESTORE
SW_SHOWDEFAULT
SW_FORCEMINIMIZE
SW_MAX
SW_PARENTCLOSING
SW_OTHERZOOM
SW_PARENTOPENING
SW_OTHERUNZOOM

Virtual keys

VK_LBUTTON
VK_RBUTTON
VK_CANCEL
VK_MBUTTON
VK_XBUTTON1
VK_XBUTTON2
VK_BACK
VK_TAB
VK_CLEAR
VK_RETURN
VK_SHIFT
VK_CONTROL
VK_MENU
VK_PAUSE
VK_CAPITAL
VK_KANA
VK_HANGEUL
VK_HANGUL
VK_JUNJA
VK_FINAL
VK_HANJA
VK_KANJI
VK_ESCAPE
VK_CONVERT
VK_NONCONVERT
VK_ACCEPT
VK_MODECHANGE
VK_SPACE
VK_PRIOR
VK_NEXT
VK_END
VK_HOME
VK_LEFT
VK_UP
VK_RIGHT
VK_DOWN
VK_SELECT
VK_PRINT
VK_EXECUTE
VK_SNAPSHOT
VK_INSERT
VK_DELETE
VK_HELP
VK_LWIN
VK_RWIN
VK_APPS
VK_SLEEP
VK_NUMPAD0
VK_NUMPAD1
VK_NUMPAD2
VK_NUMPAD3
VK_NUMPAD4
VK_NUMPAD5
VK_NUMPAD6
VK_NUMPAD7
VK_NUMPAD8
VK_NUMPAD9
VK_MULTIPLY
VK_ADD
VK_SEPARATOR
VK_SUBTRACT
VK_DECIMAL
VK_DIVIDE
VK_F1
VK_F2
VK_F3
VK_F4
VK_F5
VK_F6
VK_F7
VK_F8
VK_F9
VK_F10
VK_F11
VK_F12
VK_F13
VK_F14
VK_F15
VK_F16
VK_F17
VK_F18
VK_F19
VK_F20
VK_F21
VK_F22
VK_F23
VK_F24
VK_NUMLOCK
VK_SCROLL
VK_OEM_NEC_EQUAL
VK_OEM_FJ_JISHO
VK_OEM_FJ_MASSHOU
VK_OEM_FJ_TOUROKU
VK_OEM_FJ_LOYA
VK_OEM_FJ_ROYA
VK_LSHIFT
VK_RSHIFT
VK_LCONTROL
VK_RCONTROL
VK_LMENU
VK_RMENU
VK_BROWSER_BACK
VK_BROWSER_FORWARD
VK_BROWSER_REFRESH
VK_BROWSER_STOP
VK_BROWSER_FAVORITES
VK_BROWSER_HOME
VK_VOLUME_MUTE
VK_VOLUME_DOWN
VK_VOLUME_UP
VK_MEDIA_NEXT_TRACK
VK_MEDIA_PREV_TRACK
VK_MEDIA_STOP
VK_MEDIA_PLAY_PAUSE
VK_LAUNCH_MAIL
VK_LAUNCH_MEDIA_SELECT
VK_LAUNCH_APP1
VK_LAUNCH_APP2
VK_OEM_1
VK_OEM_PLUS
VK_OEM_COMMA
VK_OEM_MINUS
VK_OEM_PERIOD
VK_OEM_2
VK_OEM_3
VK_OEM_4
VK_OEM_5
VK_OEM_6
VK_OEM_7
VK_OEM_8
VK_OEM_AX
VK_OEM_102
VK_ICO_HELP
VK_ICO_00
VK_PROCESSKEY
VK_ICO_CLEAR
VK_PACKET
VK_OEM_RESET
VK_OEM_JUMP
VK_OEM_PA1
VK_OEM_PA2
VK_OEM_PA3
VK_OEM_WSCTRL
VK_OEM_CUSEL
VK_OEM_ATTN
VK_OEM_FINISH
VK_OEM_COPY
VK_OEM_AUTO
VK_OEM_ENLW
VK_OEM_BACKTAB
VK_ATTN
VK_CRSEL
VK_EXSEL
VK_EREOF
VK_PLAY
VK_ZOOM
VK_NONAME
VK_PA1
VK_OEM_CLEAR

Window messages

WM_NULL
WM_CREATE
WM_DESTROY
WM_MOVE
WM_SIZE
WM_ACTIVATE
WM_SETFOCUS
WM_KILLFOCUS
WM_ENABLE
WM_SETREDRAW
WM_SETTEXT
WM_GETTEXT
WM_GETTEXTLENGTH
WM_PAINT
WM_CLOSE
WM_QUERYENDSESSION
WM_QUERYOPEN
WM_ENDSESSION
WM_QUIT
WM_ERASEBKGND
WM_SYSCOLORCHANGE
WM_SHOWWINDOW
WM_WININICHANGE
WM_SETTINGCHANGE
WM_DEVMODECHANGE
WM_ACTIVATEAPP
WM_FONTCHANGE
WM_TIMECHANGE
WM_CANCELMODE
WM_SETCURSOR
WM_MOUSEACTIVATE
WM_CHILDACTIVATE
WM_QUEUESYNC
WM_GETMINMAXINFO
WM_PAINTICON
WM_ICONERASEBKGND
WM_NEXTDLGCTL
WM_SPOOLERSTATUS
WM_DRAWITEM
WM_MEASUREITEM
WM_DELETEITEM
WM_VKEYTOITEM
WM_CHARTOITEM
WM_SETFONT
WM_GETFONT
WM_SETHOTKEY
WM_GETHOTKEY
WM_QUERYDRAGICON
WM_COMPAREITEM
WM_GETOBJECT
WM_COMPACTING
WM_COMMNOTIFY
WM_WINDOWPOSCHANGING
WM_WINDOWPOSCHANGED
WM_POWER
WM_COPYDATA
WM_CANCELJOURNAL
WM_NOTIFY
WM_INPUTLANGCHANGEREQUEST
WM_INPUTLANGCHANGE
WM_TCARD
WM_HELP
WM_USERCHANGED
WM_NOTIFYFORMAT
WM_CONTEXTMENU
WM_STYLECHANGING
WM_STYLECHANGED
WM_DISPLAYCHANGE
WM_GETICON
WM_SETICON
WM_NCCREATE
WM_NCDESTROY
WM_NCCALCSIZE
WM_NCHITTEST
WM_NCPAINT
WM_NCACTIVATE
WM_GETDLGCODE
WM_SYNCPAINT
WM_NCMOUSEMOVE
WM_NCLBUTTONDOWN
WM_NCLBUTTONUP
WM_NCLBUTTONDBLCLK
WM_NCRBUTTONDOWN
WM_NCRBUTTONUP
WM_NCRBUTTONDBLCLK
WM_NCMBUTTONDOWN
WM_NCMBUTTONUP
WM_NCMBUTTONDBLCLK
WM_NCXBUTTONDOWN
WM_NCXBUTTONUP
WM_NCXBUTTONDBLCLK
WM_INPUT_DEVICE_CHANGE
WM_INPUT
WM_KEYFIRST
WM_KEYDOWN
WM_KEYUP
WM_CHAR
WM_DEADCHAR
WM_SYSKEYDOWN
WM_SYSKEYUP
WM_SYSCHAR
WM_SYSDEADCHAR
WM_UNICHAR
WM_KEYLAST
WM_IME_STARTCOMPOSITION
WM_IME_ENDCOMPOSITION
WM_IME_COMPOSITION
WM_IME_KEYLAST
WM_INITDIALOG
WM_COMMAND
WM_SYSCOMMAND
WM_TIMER
WM_HSCROLL
WM_VSCROLL
WM_INITMENU
WM_INITMENUPOPUP
WM_MENUSELECT
WM_MENUCHAR
WM_ENTERIDLE
WM_MENURBUTTONUP
WM_MENUDRAG
WM_MENUGETOBJECT
WM_UNINITMENUPOPUP
WM_MENUCOMMAND
WM_CHANGEUISTATE
WM_UPDATEUISTATE
WM_QUERYUISTATE
WM_CTLCOLORMSGBOX
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORBTN
WM_CTLCOLORDLG
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC
WM_MOUSEFIRST
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_LBUTTONUP
WM_LBUTTONDBLCLK
WM_RBUTTONDOWN
WM_RBUTTONUP
WM_RBUTTONDBLCLK
WM_MBUTTONDOWN
WM_MBUTTONUP
WM_MBUTTONDBLCLK
WM_MOUSEWHEEL
WM_XBUTTONDOWN
WM_XBUTTONUP
WM_XBUTTONDBLCLK
WM_MOUSEHWHEEL
WM_MOUSELAST
WM_PARENTNOTIFY
WM_ENTERMENULOOP
WM_EXITMENULOOP
WM_NEXTMENU
WM_SIZING
WM_CAPTURECHANGED
WM_MOVING
WM_POWERBROADCAST
WM_DEVICECHANGE
WM_MDICREATE
WM_MDIDESTROY
WM_MDIACTIVATE
WM_MDIRESTORE
WM_MDINEXT
WM_MDIMAXIMIZE
WM_MDITILE
WM_MDICASCADE
WM_MDIICONARRANGE
WM_MDIGETACTIVE
WM_MDISETMENU
WM_ENTERSIZEMOVE
WM_EXITSIZEMOVE
WM_DROPFILES
WM_MDIREFRESHMENU
WM_IME_SETCONTEXT
WM_IME_NOTIFY
WM_IME_CONTROL
WM_IME_COMPOSITIONFULL
WM_IME_SELECT
WM_IME_CHAR
WM_IME_REQUEST
WM_IME_KEYDOWN
WM_IME_KEYUP
WM_MOUSEHOVER
WM_MOUSELEAVE
WM_NCMOUSEHOVER
WM_NCMOUSELEAVE
WM_WTSSESSION_CHANGE
WM_TABLET_FIRST
WM_TABLET_LAST
WM_CUT
WM_COPY
WM_PASTE
WM_CLEAR
WM_UNDO
WM_RENDERFORMAT
WM_RENDERALLFORMATS
WM_DESTROYCLIPBOARD
WM_DRAWCLIPBOARD
WM_PAINTCLIPBOARD
WM_VSCROLLCLIPBOARD
WM_SIZECLIPBOARD
WM_ASKCBFORMATNAME
WM_CHANGECBCHAIN
WM_HSCROLLCLIPBOARD
WM_QUERYNEWPALETTE
WM_PALETTEISCHANGING
WM_PALETTECHANGED
WM_HOTKEY
WM_PRINT
WM_PRINTCLIENT
WM_APPCOMMAND
WM_THEMECHANGED
WM_CLIPBOARDUPDATE
WM_DWMCOMPOSITIONCHANGED
WM_DWMNCRENDERINGCHANGED
WM_DWMCOLORIZATIONCOLORCHANGED
WM_DWMWINDOWMAXIMIZEDCHANGE
WM_GETTITLEBARINFOEX
WM_HANDHELDFIRST
WM_HANDHELDLAST
WM_AFXFIRST
WM_AFXLAST
WM_PENWINFIRST
WM_PENWINLAST
WM_APP
WM_USER
SW_SCROLLCHILDREN
SW_INVALIDATE
SW_ERASE
SW_SMOOTHSCROLL
WM_DP_MEDIAEVENT
WM_DP_INVALID

Message box

MSDN: http://msdn.microsoft.com/en-us/library/ms645505%28VS.85%29.aspx

MB_OK
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_YESNOCANCEL
MB_YESNO
MB_RETRYCANCEL
MB_CANCELTRYCONTINUE
MB_ICONHAND
MB_ICONQUESTION
MB_ICONEXCLAMATION
MB_ICONASTERISK

Message box return values

MSDN: http://msdn.microsoft.com/en-us/library/ms645505%28VS.85%29.aspx

ID_OK
ID_CANCEL
ID_ABORT
ID_RETRY
ID_IGNORE
ID_YES
ID_NO
ID_CLOSE
ID_HELP
ID_TRYAGAIN
ID_CONTINUE

Cursors

IDC_ARROW
IDC_IBEAM
IDC_WAIT
IDC_CROSS
IDC_UPARROW
IDC_SIZENWSE
IDC_SIZENESW
IDC_SIZEWE
IDC_SIZENS
IDC_SIZEALL
IDC_NO
IDC_HAND
IDC_APPSTARTING
IDC_HELP