disknum (ULONG) - input
The value 0 means the current drive, 1 means drive A, 2 means drive B, 3 means drive C, and so on. The maximum possible value is 26, which corresponds to drive Z.
pBuf (PBYTE) - output
pcbBuf (PULONG) - in/out
Input
ulrc (APIRET) - returns
DosQueryCurrentDir returns one of the following values: