◆ RecycleBinGenericEnum()
RecycleBinGenericEnum::RecycleBinGenericEnum |
( |
| ) |
|
◆ ~RecycleBinGenericEnum()
RecycleBinGenericEnum::~RecycleBinGenericEnum |
( |
| ) |
|
|
virtual |
◆ Next()
Definition at line 82 of file recyclebin_generic_enumerator.cpp.
83{
84 TRACE(
"(%p, %u, %p, %p)\n",
this, celt, rgelt, pceltFetched);
85
86 if (!rgelt)
88 if (!pceltFetched && celt > 1)
90
94 {
95
97 {
99 {
101 {
102 WCHAR szVolumeName[4];
103 szVolumeName[0] = (
WCHAR)(
L'A' +
i);
104 szVolumeName[1] =
L':';
105 szVolumeName[2] =
L'\\';
108 {
110 continue;
111 }
112
113 IRecycleBin *prb;
119
122
124 break;
125 }
126 }
127 }
128
130 {
131
132 if (pceltFetched)
133 *pceltFetched = fetched;
135 }
136
137
139 {
140 IRecycleBinFile *rbf;
143 rbf->Release();
145 break;
148 }
149
151 continue;
152
153
155 hr =
m_current->Next(celt - fetched, &rgelt[fetched], &newFetched);
157 fetched += newFetched;
158
160 {
163 }
166
167 if (fetched == celt)
168 {
169 if (pceltFetched)
170 *pceltFetched = fetched;
172 }
173 }
174
175
177}
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
◆ QueryInterface()
Definition at line 35 of file recyclebin_generic_enumerator.cpp.
36{
38
41
43 *
ppvObject =
static_cast<IRecycleBinEnumList *
>(
this);
44 else
45 {
48 }
49
52}
static ULONG WINAPI AddRef(IStream *iface)
#define IsEqualIID(riid1, riid2)
EXTERN_C const IID IID_IRecycleBinEnumList
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
◆ Reset()
◆ Skip()
◆ STDMETHODIMP_() [1/2]
RecycleBinGenericEnum::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
override |
◆ STDMETHODIMP_() [2/2]
RecycleBinGenericEnum::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
override |
◆ m_current
IRecycleBinEnumList* RecycleBinGenericEnum::m_current |
|
protected |
◆ m_dwLogicalDrives
DWORD RecycleBinGenericEnum::m_dwLogicalDrives |
|
protected |
◆ m_ref
LONG RecycleBinGenericEnum::m_ref |
|
protected |
◆ m_skip
SIZE_T RecycleBinGenericEnum::m_skip |
|
protected |
The documentation for this class was generated from the following file: