DIPROPHEADER

DIPROPHEADER is a generic structure placed at the beginning of all property structures.

typedef struct DIPROPHEADER {

DWORD dwSize;

DWORD dwHeaderSize;

DWORD dwObj;

DWORD dwHow;

} DIPROPHEADER, *LPDIPROPHEADER;

typedef const DIPROPHEADER *LPCDIPROPHEADER;

Members

dwSize

Size of the enclosing structure. This member must be initialized before the structure is used.

dwHeaderSize

Size of the DIPROPHEADER structure.

dwObj

Object for which the property is to be accessed. The value set for this member depends on the value specified in the dwHow member.

dwHow

Value specifying how the dwObj member should be interpreted. This value can be one of the following:

Value Meaning
DIPH_DEVICE The dwObj member must be zero.
DIPH_BYOFFSET The dwObj member is the offset into the current data format of the object whose property is being accessed.
DIPH_BYID The dwObj member is the object type/instance identifier. This identifier is returned in the dwType member of the DIDEVICEOBJECTINSTANCE structure returned from a previous call to the IDirectInputDevice::EnumObjects member.

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.