summaryrefslogtreecommitdiff
path: root/library/Recycler/recycler.h
blob: 59bec9dca7c961f735a9a586a1e9f59a3d2af464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef RECYCLER_DLL_H
#define RECYCLER_DLL_H

#ifdef RECYCLER_DLL_EXPORTS
#define RECYCLER_DLL_API extern "C" __declspec(dllexport)
#else
#define RECYCLER_DLL_API extern "C" __declspec(dllimport)
#endif


namespace Utility
{
//COM needs to be initialized before calling any of these functions! CoInitializeEx/CoUninitialize

RECYCLER_DLL_API
bool moveToRecycleBin(const wchar_t* fileNames[],
                      size_t         fileNo, //size of fileNames array
                      wchar_t*		 errorMessage,
                      size_t         errorBufferLen);
}



#endif //RECYCLER_DLL_H
bgstack15