Platform SDK: DirectX |
The DIPROPDWORD is a generic structure used to access DWORD properties.
typedef struct DIPROPDWORD { DIPROPHEADER diph; DWORD dwData; } DIPROPDWORD, *LPDIPROPDWORD; typedef const DIPROPDWORD *LPCDIPROPDWORD;
Member | Value |
---|---|
dwSize | sizeof(DIPROPDWORD) |
dwHeaderSize | sizeof(DIPROPHEADER) |
dwObj | If the dwHow member is DIPH_DEVICE, this member must be 0.
If the dwHow member is DIPH_BYID, this member must be the identifier for the object whose property setting is to be set or retrieved. If the dwHow member is DIPH_BYOFFSET, this member must be a data format offset for the object whose property setting is to be set or retrieved. For example, if the c_dfDIMouse data format is selected, it must be one of the DIIMOFS_* values. |
dwHow | Specifies how the dwObj member should be interpreted. If dwObj is DIPROP_AXISMODE or DIPROP_BUFFERSIZE, dwHow should be DIPH_DEVICE. |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dinput.h.
IDirectInputDevice7::GetProperty, IDirectInputDevice7::SetProperty