RtfwGetRTX64Devices
RtfwGetRTX64Devices enumerates RTX64-owned devices.
NOTE: This function is deprecated and will be removed from a future release. Use RtfwGetRTX64DevicesEx.
Syntax
bool RtfwGetRTX64Devices( RTFW_DEVICE * pRTX64Devices, size_t * pCountDevices );
Parameters
pRTX64Devices
Points to an array of RTFW_DEVICE structures that will be filled in, each representing one device owned by RTX64 at the time this function was called. The client must set member Size in each element of this array to sizeof(RTFW_DEVICE) prior to calling this function. If this value is NULL, the function fails, sets the last error value to ERROR_INSUFFICIENT_BUFFER, and the value pointed to by pCountDevices is set to the required number of array elements.
pCountDevices
Points to the number of elements in the array. If the array is not large enough, the function fails, sets the last error value to ERROR_INSUFFICIENT_BUFFER, and this value is set to the required number of array elements. This value cannot be NULL.
Return Value
If this function succeeds, it returns true and sets the value pointed to by pCountDevices to the number of elements of the array that contain valid device data. Otherwise, it returns false, sets the last error value, and leaves the array pointed to by pRTX64Devices with invalid data. Call GetLastError for additional error information.
Remarks
If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.
Requirements
Minimum Required Version | RTX64 3.4 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also: