Home |
Function RTFRawSetMedia Function RTFRawGetDiskGeometry Function RTFRawCallAuxDriverFunction |
Function RTFRawSetMediaRTFRawSetMedia informs RTFiles-32 whether a specific device is available or not: int RTFRawSetMedia(int DeviceIndex, int Media); ParametersDeviceIndexThe zero-based index in RTFiles-32's device list. MediaWhen parameter Media is zero, all subsequent calls to any device driver function for this device will return RTF_MEDIA_CHANGED without attempting to actually access the device. Parameter Media not equal to 0 allows RTFiles-32 to physically access the device. return valueIf the function succeeds, it returns RTF_NO_ERROR. If it fails, the return value is a negative error code.
|