ReactOS  0.4.15-dev-4920-g5fa8403
recyclebin_private.h
Go to the documentation of this file.
1 #ifndef _RECYCLEBIN_PRIVATE_H_
2 #define _RECYCLEBIN_PRIVATE_H_
3 
4 #include <stdio.h>
5 
6 #define COBJMACROS
7 
8 #include <shlobj.h>
9 
10 #include "recyclebin.h"
11 #include "recyclebin_v5.h"
12 
13 #include <wine/debug.h>
14 WINE_DEFAULT_DEBUG_CHANNEL(recyclebin);
15 
16 /* Defines */
17 
18 #define RECYCLE_BIN_DIRECTORY_WITH_ACL L"RECYCLER"
19 #define RECYCLE_BIN_DIRECTORY_WITHOUT_ACL L"RECYCLED"
20 #define RECYCLE_BIN_FILE_NAME L"INFO2"
21 
22 #define ROUND_UP(N, S) ((( (N) + (S) - 1) / (S) ) * (S) )
23 
24 /* Structures on disk */
25 
26 #include <pshpack1.h>
27 
28 typedef struct _INFO2_HEADER
29 {
31  DWORD dwNumberOfEntries; /* unused */
36 
37 #include <poppack.h>
38 
39 /* Prototypes */
40 
41 /* recyclebin_generic.c */
42 
44 
45 /* recyclebin_generic_enumerator.c */
46 
47 HRESULT RecycleBinGenericEnum_Constructor(OUT IRecycleBinEnumList **pprbel);
48 
49 /* recyclebin_v5.c */
50 
51 HRESULT RecycleBin5_Constructor(IN LPCWSTR VolumePath, OUT IUnknown **ppUnknown);
52 
53 #endif /* _RECYCLEBIN_PRIVATE_H_ */
#define IN
Definition: typedefs.h:39
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT RecycleBinGenericEnum_Constructor(OUT IRecycleBinEnumList **pprbel)
DWORD dwHighestRecordUniqueId
WINE_DEFAULT_DEBUG_CHANNEL(recyclebin)
struct _INFO2_HEADER INFO2_HEADER
LONG HRESULT
Definition: typedefs.h:79
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT RecycleBin5_Constructor(IN LPCWSTR VolumePath, OUT IUnknown **ppUnknown)
HRESULT RecycleBinGeneric_Constructor(OUT IUnknown **ppUnknown)
#define OUT
Definition: typedefs.h:40
struct _INFO2_HEADER * PINFO2_HEADER