Leaked source code of windows server 2003
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.

40 lines
907 B

  1. #ifndef DRIVLIST_H
  2. #define DRIVLIST_H
  3. #ifndef DISKUTIL_H
  4. #include "diskutil.h"
  5. #endif
  6. /*
  7. * DEFINITIONS ________________________________________________________________
  8. *
  9. */
  10. typedef enum // Per-window extra bytes for DriveList
  11. {
  12. DL_COMBOWND = 0, // Far pointer to a ComboBox HWND.
  13. DL_COMBOPROC = 4, // Far pointer to original comboproc
  14. DL_UPDATES = 8 // ==0 if paints are OK
  15. } DriveWindLongs;
  16. #define szDriveListCLASS "DRIVELISTCLASS"
  17. #define DLN_SELCHANGE (WM_USER +110) // Sends WP=drive letter chosen
  18. #define DL_UPDATESBAD (WM_USER +111) // Don't refresh until later...
  19. #define DL_UPDATESOKAY (WM_USER +112) // ...later's here.
  20. #define STYLE_LISTBOX 0x000080000
  21. /*
  22. * PROTOTYPES _________________________________________________________________
  23. *
  24. */
  25. BOOL RegisterDriveList (HANDLE hInst);
  26. void ExitDriveList (void);
  27. #endif