mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:56:00 +00:00
[FREELDR]
- Verify that Int 13 extensions are supported before trying to use them svn path=/trunk/; revision=47530
This commit is contained in:
parent
be344838ef
commit
0f49f63b63
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ BOOLEAN DiskGetExtendedDriveParameters(ULONG DriveNumber, PVOID Buffer, USHORT B
|
||||||
|
|
||||||
DPRINTM(DPRINT_DISK, "DiskGetExtendedDriveParameters()\n");
|
DPRINTM(DPRINT_DISK, "DiskGetExtendedDriveParameters()\n");
|
||||||
|
|
||||||
|
if (!DiskInt13ExtensionsSupported(DriveNumber))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
// Initialize transfer buffer
|
// Initialize transfer buffer
|
||||||
*Ptr = BufferSize;
|
*Ptr = BufferSize;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue