A pointer to OS_FILESPEC will be passed as the arg to DEVICELIST_IOCTL routine when opcode is DeviceIOCtl_OSDeviceName. More...
#include "swdevice.h"
Data Fields | |
uint8 * | current_device |
"null terminated
string" cwdevice for the existing file | |
OS_FILESPEC_NAME | current_filename |
"string" filespec filename for the existing file | |
OS_FILESPEC_NAME | buffer |
"string" filespec filename | |
A pointer to OS_FILESPEC will be passed as the arg to DEVICELIST_IOCTL routine when opcode is DeviceIOCtl_OSDeviceName.
The filename specifies the name of a file for which an %os%
device filename is required.
On entry to DEVICELIST_IOCTL the buffer member must contain a pointer to and the length of the buffer to be written to. If the call is successful buffer.len will contain the byte count of the contents written into the buffer.