ReactOS  0.4.14-dev-815-ge410a12
CFileSysBindData Class Reference
Inheritance diagram for CFileSysBindData:
Collaboration diagram for CFileSysBindData:

Public Member Functions

 CFileSysBindData ()
 
 ~CFileSysBindData ()
 
virtual HRESULT STDMETHODCALLTYPE SetFindData (const WIN32_FIND_DATAW *pfd)
 
virtual HRESULT STDMETHODCALLTYPE GetFindData (WIN32_FIND_DATAW *pfd)
 
virtual HRESULT STDMETHODCALLTYPE SetFindData (const WIN32_FIND_DATAW *pfd)
 
virtual HRESULT STDMETHODCALLTYPE GetFindData (WIN32_FIND_DATAW *pfd)
 
- Public Member Functions inherited from ATL::CComObjectRootEx< CComMultiThreadModelNoCS >
 ~CComObjectRootEx ()
 
ULONG InternalAddRef ()
 
ULONG InternalRelease ()
 
void Lock ()
 
void Unlock ()
 
HRESULT _AtlInitialConstruct ()
 
- Public Member Functions inherited from ATL::CComObjectRootBase
 CComObjectRootBase ()
 
 ~CComObjectRootBase ()
 
void SetVoid (void *)
 
HRESULT _AtlFinalConstruct ()
 
HRESULT FinalConstruct ()
 
void InternalFinalConstructAddRef ()
 
void InternalFinalConstructRelease ()
 
void FinalRelease ()
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Private Attributes

WIN32_FIND_DATAW findFile
 
WIN32_FIND_DATAW m_Data
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Static Public Member Functions inherited from ATL::CComObjectRootBase
static void WINAPI ObjectMain (bool)
 
static const struct _ATL_CATMAP_ENTRYGetCategoryMap ()
 
static HRESULT WINAPI InternalQueryInterface (void *pThis, const _ATL_INTMAP_ENTRY *pEntries, REFIID iid, void **ppvObject)
 
- Public Attributes inherited from ATL::CComObjectRootBase
LONG m_dwRef
 

Detailed Description

Definition at line 30 of file CFileSysBindData.cpp.

Constructor & Destructor Documentation

◆ CFileSysBindData()

CFileSysBindData::CFileSysBindData ( )

Definition at line 131 of file CFileSysBindData.cpp.

132 {
133  memset(&findFile, 0, sizeof(WIN32_FIND_DATAW));
134 }
WIN32_FIND_DATAW findFile
#define memset(x, y, z)
Definition: compat.h:39

◆ ~CFileSysBindData()

CFileSysBindData::~CFileSysBindData ( )

Definition at line 136 of file CFileSysBindData.cpp.

137 {
138  TRACE(" destroying ISFBindPidl(%p)\n", this);
139 }
#define TRACE(s)
Definition: solgame.cpp:4

Member Function Documentation

◆ GetFindData() [1/2]

virtual HRESULT STDMETHODCALLTYPE CFileSysBindData::GetFindData ( WIN32_FIND_DATAW pfd)
inlinevirtual

Implements IFileSystemBindData.

Definition at line 22 of file shelltest.cpp.

23  {
24  *pfd = m_Data;
25  return S_OK;
26  }
static PIXELFORMATDESCRIPTOR pfd
Definition: ssstars.c:67
WIN32_FIND_DATAW m_Data
Definition: shelltest.cpp:34
#define S_OK
Definition: intsafe.h:59

◆ GetFindData() [2/2]

HRESULT WINAPI CFileSysBindData::GetFindData ( WIN32_FIND_DATAW pfd)
virtual

Implements IFileSystemBindData.

Definition at line 141 of file CFileSysBindData.cpp.

142 {
143  TRACE("(%p), %p\n", this, pfd);
144 
145  if (!pfd)
146  return E_INVALIDARG;
147 
148  memcpy(pfd, &findFile, sizeof(WIN32_FIND_DATAW));
149  return S_OK;
150 }
#define E_INVALIDARG
Definition: ddrawi.h:101
WIN32_FIND_DATAW findFile
#define TRACE(s)
Definition: solgame.cpp:4
static PIXELFORMATDESCRIPTOR pfd
Definition: ssstars.c:67
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define S_OK
Definition: intsafe.h:59

◆ SetFindData() [1/2]

virtual HRESULT STDMETHODCALLTYPE CFileSysBindData::SetFindData ( const WIN32_FIND_DATAW pfd)
inlinevirtual

Implements IFileSystemBindData.

Definition at line 16 of file shelltest.cpp.

17  {
18  m_Data = *pfd;
19  return S_OK;
20  }
static PIXELFORMATDESCRIPTOR pfd
Definition: ssstars.c:67
WIN32_FIND_DATAW m_Data
Definition: shelltest.cpp:34
#define S_OK
Definition: intsafe.h:59

◆ SetFindData() [2/2]

HRESULT WINAPI CFileSysBindData::SetFindData ( const WIN32_FIND_DATAW pfd)
virtual

Implements IFileSystemBindData.

Definition at line 152 of file CFileSysBindData.cpp.

153 {
154  TRACE("(%p), %p\n", this, pfd);
155 
156  if (pfd)
157  memcpy(&findFile, pfd, sizeof(WIN32_FIND_DATAW));
158  else
159  memset(&findFile, 0, sizeof(WIN32_FIND_DATAW));
160  return S_OK;
161 }
WIN32_FIND_DATAW findFile
#define TRACE(s)
Definition: solgame.cpp:4
static PIXELFORMATDESCRIPTOR pfd
Definition: ssstars.c:67
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define S_OK
Definition: intsafe.h:59
#define memset(x, y, z)
Definition: compat.h:39

Member Data Documentation

◆ findFile

WIN32_FIND_DATAW CFileSysBindData::findFile
private

Definition at line 35 of file CFileSysBindData.cpp.

Referenced by CFileSysBindData(), GetFindData(), and SetFindData().

◆ m_Data

WIN32_FIND_DATAW CFileSysBindData::m_Data
private

Definition at line 34 of file shelltest.cpp.

Referenced by GetFindData(), and SetFindData().


The documentation for this class was generated from the following files: