Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
942 B

  1. /* File: _drives.h */
  2. /**************************************************************************/
  3. /***** DETECT COMPONENT - Disk Drive Detect Commands Internal Header
  4. /**************************************************************************/
  5. /* Size of drives list string */
  6. #define cbDrivesListMax 106
  7. /* Function pointer to BOOL drive commands */
  8. typedef BOOL ( APIENTRY *PFNBDC)(INT);
  9. #define pfnbdcNull ((PFNBDC)NULL)
  10. /* Function pointer to LONG drive commands */
  11. typedef LONG ( APIENTRY *PFNLDC)(INT);
  12. #define pfnldcNull ((PFNLDC)NULL)
  13. CB APIENTRY CbDriveCmd(PFNBDC, SZ, SZ, CB);
  14. CB APIENTRY CbDriveListCmd(PFNBDC, SZ, CB);
  15. CB APIENTRY CbDriveSpaceCmd(PFNLDC, SZ, SZ, CB);
  16. INT APIENTRY NDriveFromDriveStr(SZ);
  17. BOOL APIENTRY FIsLocalHardDrive(INT);
  18. BOOL APIENTRY FIsValidDrive(INT);
  19. BOOL APIENTRY FIsRemoteDrive(INT);
  20. LONG APIENTRY LcbTotalDrive(INT);
  21. LONG APIENTRY LcbFreeDrive(INT);
  22. INT APIENTRY NDrivePhysical(INT);