aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Library/ml_disc/copyfiles.h
blob: bd762f5311b38b7e3c86a8c9c1aaa7d16cae0640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER
#define NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include <windows.h>

#ifdef __cplusplus
extern "C" {
#endif


void MLDisc_InitializeCopyData();
void MLDisc_ReleaseCopyData();

// use CoTaskMemAlloc/CoTackMemFree to allocate buffers and each string. pszFSize can be NULL. if return TRUE do not free data.
BOOL MLDisc_CopyFiles(HWND hParent, LPWSTR *ppszFiles, ULONGLONG *pFSizes, INT count); 
BOOL MLDisc_IsDiscCopying(CHAR cLetter);
#ifdef __cplusplus
}
#endif



#endif // NULLOSFT_MEDIALIBRARY_MLDISC_COPYFILES_HEADER