RTFW_DEVICEEX Structure

RTFW_DEVICEEX represents the properties of a device owned by RTX64. Use the Windows Device Manager to convert ownership of a device from Windows to RTX64.

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 hardware ID of the device.

InstanceID

Holds the instance ID of the device.

PCIBusLocation

Holds the PCI bus location of the device 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 Plug-and-Play friendly name string for the device.

Remarks

IMPORTANT! Do not call free or delete on the pointers in this structure or the array of these structures returned by RtfwGetRTX64DevicesEx. Instead, use RtfwFreeDeviceMemory to free everything.

Requirements

Minimum Required Version RTX64 4.2
Header RtfwAPI.h
Library RtfwAPI.lib

See Also: