RTFW_DEVICE Structure

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

NOTE: This structure is deprecated and will be removed from a future release. Use RTFW_DEVICEEX.

Syntax

typedef struct _RTFW_DEVICE(
    size_t Size;
    TCHAR ClassGUID[RTFW_MAX_DEV_GUID_CHARS];
    TCHAR HardwareID[RTFW_MAX_DEV_HARDWAREID_CHARS];
    TCHAR InstanceID[RTFW_MAX_DEV_INSTANCEID_CHARS];
    TCHAR PCIBusLocation[RTFW_MAX_DEV_PCIBUSLOCATION_CHARS];
    TCHAR Description[RTFW_MAX_DEV_DESCRIPTION_CHARS];
} RTFW_DEVICE, * PRTFW_DEVICE;

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.

Requirements

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

See Also:

RtfwGetRTX64Devices