DIHIDFFINITINFO structure (dinputd.h)

The DIHIDFFINITINFO structure is used by DirectInput to provide information to a HID force-feedback driver about the device it is being asked to control.

Syntax

typedef struct DIHIDFFINITINFO {
  DWORD  dwSize;
  LPWSTR pwszDeviceInterface;
  GUID   GuidInstance;
} DIHIDFFINITINFO, *LPDIHIDFFINITINFO;

Members

dwSize

Specifies the size of the structure in bytes. This member must be initialized before the structure is used.

pwszDeviceInterface

Points to a null-terminated Unicode string that identifies the device interface for the device. The driver can pass the device interface to the CreateFile function to obtain access to the device.

GuidInstance

Specifies a device instance GUID for this device.

Requirements

Requirement Value
Header dinputd.h