1
0

copyfiles.h 646 B

123456789101112131415161718192021222324252627
  1. #ifndef NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <windows.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. void MLDisc_InitializeCopyData();
  11. void MLDisc_ReleaseCopyData();
  12. // use CoTaskMemAlloc/CoTackMemFree to allocate buffers and each string. pszFSize can be NULL. if return TRUE do not free data.
  13. BOOL MLDisc_CopyFiles(HWND hParent, LPWSTR *ppszFiles, ULONGLONG *pFSizes, INT count);
  14. BOOL MLDisc_IsDiscCopying(CHAR cLetter);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif // NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER