ReactOS 0.4.16-dev-433-g6363f78
recyclebin_generic.cpp File Reference
Include dependency graph for recyclebin_generic.cpp:

Go to the source code of this file.

Classes

class  RecycleBinGeneric
 

Functions

 STDMETHODIMP_ (ULONG) RecycleBinGeneric
 
EXTERN_C HRESULT RecycleBinGeneric_Constructor (OUT IUnknown **ppUnknown)
 
EXTERN_C BOOL RecycleBinGeneric_IsEqualFileIdentity (const RECYCLEBINFILEIDENTITY *p1, const RECYCLEBINFILEIDENTITY *p2)
 

Function Documentation

◆ RecycleBinGeneric_Constructor()

EXTERN_C HRESULT RecycleBinGeneric_Constructor ( OUT IUnknown **  ppUnknown)

Definition at line 179 of file recyclebin_generic.cpp.

180{
181 /* This RecycleBin implementation was introduced to be able to manage all
182 * drives at once, and instanciate the 'real' implementations when needed */
184 if (!pThis)
185 return E_OUTOFMEMORY;
186
187 *ppUnknown = static_cast<IRecycleBin *>(pThis);
188 return S_OK;
189}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define S_OK
Definition: intsafe.h:52

Referenced by GetDefaultRecycleBin().

◆ RecycleBinGeneric_IsEqualFileIdentity()

EXTERN_C BOOL RecycleBinGeneric_IsEqualFileIdentity ( const RECYCLEBINFILEIDENTITY p1,
const RECYCLEBINFILEIDENTITY p2 
)

Definition at line 192 of file recyclebin_generic.cpp.

193{
197}
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
DWORD dwHighDateTime
Definition: mapidefs.h:66
DWORD dwLowDateTime
Definition: mapidefs.h:65

Referenced by RecycleBin5File::IsEqualIdentity().

◆ STDMETHODIMP_()

STDMETHODIMP_ ( ULONG  )

Definition at line 54 of file recyclebin_generic.cpp.

55{
56 ULONG refCount = InterlockedIncrement(&m_ref);
57 TRACE("(%p)\n", this);
58 return refCount;
59}
#define InterlockedIncrement
Definition: armddk.h:53
#define TRACE(s)
Definition: solgame.cpp:4
uint32_t ULONG
Definition: typedefs.h:59