RTFW_DEVICEEX Structure
RTFW_DEVICEEX represents the properties of a device owned by wRTOS. Use the Windows Device Manager to convert ownership of a device from Windows to wRTOS.
Syntax
typedef struct _RTFW_DEVICEEX(
size_t Size;
TCHAR* ClassGUID;
TCHAR* HardwareID;
TCHAR* InstanceID;
TCHAR* PCIBusLocation;
TCHAR* Description;
} RTFW_DEVICEEX, * PRTFW_DEVICEEX;
Members
Size
The size of this structure (in bytes). Client code must set this member to sizeof(RTFW_CONSOLE_CONFIGURATION) before passing this structure to any function.
ClassGUID
Holds the GUID identifying the device's class as a string of the form "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}", where each 'x' is a hexadecimal digit.
HardwareID
Holds the device's hardware ID.
InstanceID
Holds the device's instance ID.
PCIBusLocation
Holds the device's PCI bus location as a string of the form "X;Y;Z", where X, Y, and Z are non-negative integers identifying the bus, device, and function, respectively.
Description
Holds the device's Plug-and-Play friendly name string.
Remarks
IMPORTANT: Do not call free or delete on the pointers in this structure or the array of these structures returned by RtfwGetwRTOSDevices. Instead, use RtfwFreeDeviceMemory to free everything.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtfwApi.h |
RtfwApi.lib |
See Also: