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.

30 lines
1.3 KiB

  1. #ifndef _DRIVES_H_
  2. #define _DRIVES_H_
  3. // "Public" exports from drivex.c
  4. STDAPI_(UINT) CDrives_GetDriveType(int iDrive);
  5. STDAPI_(DWORD) CDrives_GetKeys(PCSTR pszDrive, HKEY *keys, UINT ckeys);
  6. STDAPI_(void) CDrives_Terminate(void);
  7. STDAPI CDrives_DFMCallBackBG(IShellFolder *psf, HWND hwnd, IDataObject *pdtobj, UINT uMsg, WPARAM wParam, LPARAM lParam);
  8. STDAPI CDrives_DFMCallBack(IShellFolder *psf, HWND hwnd, IDataObject *pdtobj, UINT uMsg, WPARAM wParam, LPARAM lParam);
  9. #define MAX_LABEL_NTFS 32 // not including the NULL
  10. #define MAX_LABEL_FAT 11 // not including the NULL
  11. STDAPI_(UINT) GetMountedVolumeIcon(LPCTSTR pszMountPoint, LPTSTR pszModule, DWORD cchModule);
  12. STDAPI SetDriveLabel(HWND hwnd, IUnknown* punkEnableModless, int iDrive, LPCTSTR pszDriveLabel);
  13. STDAPI GetDriveComment(int iDrive, LPTSTR pszComment, int cchComment);
  14. STDAPI_(BOOL) IsUnavailableNetDrive(int iDrive);
  15. STDAPI_(BOOL) DriveIOCTL(LPTSTR pszDrive, int cmd, void *pvIn, DWORD dwIn, void *pvOut, DWORD dwOut);
  16. STDAPI_(BOOL) ShowMountedVolumeProperties(LPCTSTR pszMountedVolume, HWND hwndParent);
  17. STDAPI SHCreateDrvExtIcon(LPCWSTR pszDrive, REFIID riid, void** ppvOut);
  18. // Globals from drivesx.c
  19. EXTERN_C const ICONMAP c_aicmpDrive[];
  20. EXTERN_C const int c_nicmpDrives;
  21. #endif // _DRIVES_H_