Platform SDK: DirectX

DIPROPSTRING

The DIPROPSTRING structure is used to access string properties.

typedef struct {
    DIPROPHEADER diph;
    WCHAR wsz;
} DIPROPSTRING;

Members

diph
DIPROPHEADER structure that must be initialized as follows:
Member Value
dwSize sizeof(DIPROPSTRING)
dwHeaderSize sizeof(DIPROPHEADER)
dwObj Identifier of the object whose property is being retrieved or set.
dwHow How the dwObj member should be interpreted.

wsz
String itself. This is a Unicode string.

Remarks

The DIPROP_INSTANCENAME and DIPROP_PRODUCTNAME properties associated with the DIPROPSTRING structure allows advanced applications to perform operations on an HID that are not supported by DirectInput.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dinput.h.