DIPROPDWORD

The DIPROPDWORD is a generic structure used to access DWORD properties.

typedef struct DIPROPDWORD {

DIPROPHEADER diph;

DWORD dwData;

} DIPROPDWORD, *LPDIPROPDWORD;

typedef const DIPROPDWORD *LPCDIPROPDWORD;

Members

diph

A DIPROPHEADER structure that must be initialized as follows:

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.

dwData

The property-specific value being set or retrieved.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dinput.h.

See Also

DIPROPRANGE, IDirectInputDevice::GetProperty, IDirectInputDevice::SetProperty