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.

17 lines
517 B

  1. #ifndef FILEBROWSER_H
  2. #define FILEBROWSER_H
  3. #include <windows.h>
  4. const int BF_SELECTDIRECTORIES = 0x01;
  5. const int BF_SELECTFILES = 0x02;
  6. const int BF_HARDDRIVES = 0x04;
  7. const int BF_FLOPPYDRIVES = 0x08;
  8. const int BF_NETWORKDRIVES = 0x10;
  9. const int BF_CDROMDRIVES = 0x20;
  10. // Display browse dialog box, and return dir string. String does
  11. // not need to be freed, will be overwritten by subsequent calls.
  12. PTSTR BrowseForFolder(HWND hwnd, PTSTR szInitialPath, UINT uiFlags);
  13. #endif