Microsoft DirectX 8.1 (C++)

DIPROPHEADER

Serves as a header for 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 that specifies how the dwObj member should be interpreted. This value can be one of the following:
Value Meaning
DIPH_DEVICE The dwObj member must be 0.
DIPH_BYOFFSET The dwObj member is the offset into the current data format of the object whose property is being accessed.
DIPH_BYUSAGE The dwObj member is the HID usage page and usage values in packed form.
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 IDirectInputDevice8::EnumObjects member.

Requirements

  Windows NT/2000/XP: Requires Windows 2000.
  Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
  Header: Declared in Dinput.h.