The DIPROPGUIDANDPATH structure is used to access properties whose values represent a GUID and a path.
typedef struct {
DIPROPHEADER diph;
GUID guidClass;
WCHAR wszPath[MAX_PATH];
} DIPROPGUIDANDPATH, *LPDIPROPGUIDANDPATH;
dwSize | sizeof(DIPROPGUIDANDPATH) |
dwHeaderSize | sizeof(DIPROPHEADER) |
dwObj | Identifier of the object. For devices, must be zero |
dwHow | How the dwObj member should be interpreted. |
The DIPROP_GUIDANDPATH property associated with the DIPROPGUIDANDPATH structure allows advanced applications to perform operations on the device that are not supported by DirectInput.
The application calls the IDirectInputDevice::GetProperty method with DIPROP_GUIDANDPATH as the rguidProp parameter. The class GUID of the device is returned in the guidClass member of the DIPROPGUIDANDPATH structure, and the device interface path is returned in the wszPath member. The application can then call the CreateFile function on this path in order to access the device directly.
Most applications should have no need for this property structure.
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.