no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | en:docs:fapi:dosqcurdisk [2018/08/28 09:00] – created prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This call determines the current default drive for the requesting process. | ||
+ | |||
+ | ==Syntax== | ||
+ | | ||
+ | |||
+ | ==Parameters== | ||
+ | ; | ||
+ | ''' | ||
+ | | ||
+ | | ||
+ | | ||
+ | ; | ||
+ | ''' | ||
+ | | ||
+ | | ||
+ | |||
+ | ==Return Code== | ||
+ | rc (USHORT) - return | ||
+ | Return code description is: | ||
+ | * 0 NO_ERROR | ||
+ | |||
+ | ==Bindings== | ||
+ | ===C Binding=== | ||
+ | <PRE> | ||
+ | #define INCL_DOSFILEMGR | ||
+ | |||
+ | USHORT | ||
+ | PUSHORT DriveNumber; | ||
+ | PULONG | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | ===MASM Binding=== | ||
+ | <PRE> | ||
+ | EXTRN DosQCurDisk: | ||
+ | INCL_DOSFILEMGR | ||
+ | |||
+ | PUSH@ WORD DriveNumber | ||
+ | PUSH@ DWORD | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | Text based on http:// | ||
+ | |||
+ | {{page> | ||
+ | |||