Home
last modified time | relevance | path

Searched refs:d_handle (Results 1 – 1 of 1) sorted by relevance

/external/syslinux/win/
Dsyslinux.c292 HANDLE f_handle, d_handle; in main() local
364 d_handle = CreateFile(drive_name, GENERIC_READ | GENERIC_WRITE, in main()
368 if (d_handle == INVALID_HANDLE_VALUE) { in main()
376 if (!ReadFile(d_handle, sectbuf, SECTOR_SIZE, &bytes_read, NULL)) { in main()
474 fs = libfat_open(libfat_readfile, (intptr_t) d_handle); in main()
506 if (GetStorageDeviceNumberByHandle(d_handle, &sdn)) { in main()
574 SetFilePointer(d_handle, 0, NULL, FILE_BEGIN); in main()
575 WriteFile(d_handle, sectbuf, SECTOR_SIZE, &bytes_written, NULL); in main()
584 CloseHandle(d_handle); in main()