SP_DEVICE_INTERFACE_DETAIL_DATA structure
An SP_DEVICE_INTERFACE_DETAIL_DATA structure contains the path for a device interface.
Syntax
typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA { DWORD cbSize; TCHAR DevicePath[ANYSIZE_ARRAY]; } SP_DEVICE_INTERFACE_DETAIL_DATA, *PSP_DEVICE_INTERFACE_DETAIL_DATA;
Members
- cbSize
-
The size, in bytes, of the SP_DEVICE_INTERFACE_DETAIL_DATA structure. For more information, see the following Remarks section.
- DevicePath
-
A NULL-terminated string that contains the device interface path. This path can be passed to Win32 functions such as CreateFile.
Remarks
An SP_DEVICE_INTERFACE_DETAIL_DATA structure identifies the path for a device interface in a device information set.
SetupDiXxx functions that take an SP_DEVICE_INTERFACE_DETAIL_DATA structure as a parameter verify that the cbSize member of the supplied structure is equal to the size, in bytes, of the structure. If the cbSize member is not set correctly for an input parameter, the function will fail and set an error code of ERROR_INVALID_PARAMETER. If the cbSize member is not set correctly for an output parameter, the function will fail and set an error code of ERROR_INVALID_USER_BUFFER.
Requirements
Header |
|
---|
See also
Send comments about this topic to Microsoft
Build date: 2/13/2014