43 *
ppvObject =
static_cast<IRecycleBinEnumList *
>(
this);
55RecycleBinGenericEnum::AddRef()
58 TRACE(
"(%p)\n",
this);
64 TRACE(
"(%p)\n",
this);
71RecycleBinGenericEnum::Release()
73 TRACE(
"(%p)\n",
this);
84 TRACE(
"(%p, %u, %p, %p)\n",
this, celt, rgelt, pceltFetched);
88 if (!pceltFetched && celt > 1)
102 WCHAR szVolumeName[4];
103 szVolumeName[0] = (
WCHAR)(
L'A' +
i);
104 szVolumeName[1] =
L':';
105 szVolumeName[2] =
L'\\';
133 *pceltFetched = fetched;
140 IRecycleBinFile *rbf;
155 hr =
m_current->Next(celt - fetched, &rgelt[fetched], &newFetched);
157 fetched += newFetched;
170 *pceltFetched = fetched;
181 TRACE(
"(%p, %u)\n",
this, celt);
188 TRACE(
"(%p)\n",
this);
203 , m_dwLogicalDrives(0)
211 OUT IRecycleBinEnumList **pprbel)
217 *pprbel =
static_cast<IRecycleBinEnumList *
>(pThis);
218 return (*pprbel)->Reset();
#define InterlockedIncrement
#define InterlockedDecrement
STDMETHODIMP Reset() override
STDMETHODIMP QueryInterface(REFIID riid, void **ppvObject) override
virtual ~RecycleBinGenericEnum()
IRecycleBinEnumList * m_current
STDMETHODIMP_(ULONG) AddRef() override
STDMETHODIMP_(ULONG) Release() override
STDMETHODIMP Next(DWORD celt, IRecycleBinFile **rgelt, DWORD *pceltFetched) override
STDMETHODIMP Skip(DWORD celt) override
UINT WINAPI GetDriveTypeW(IN LPCWSTR lpRootPathName)
HRESULT WINAPI GetDefaultRecycleBin(IN LPCWSTR pszVolume OPTIONAL, OUT IRecycleBin **pprb)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static ULONG WINAPI AddRef(IStream *iface)
#define IsEqualIID(riid1, riid2)
EXTERN_C const IID IID_IRecycleBinEnumList
EXTERN_C HRESULT RecycleBinGenericEnum_Constructor(OUT IRecycleBinEnumList **pprbel)
DWORD WINAPI GetLogicalDrives(void)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject