The DIPROPDWORD is a generic structure used to access DWORD properties.
typedef struct {
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 zero. |
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: Use version 5.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
DIPROPRANGE, IDirectInputDevice::GetProperty, IDirectInputDevice::SetProperty