windows-nt/Source/XPSP1/NT/base/win32/fusion/installer/includes/assemblyfile.h
2020-09-26 16:20:57 +08:00

62 lines
809 B
C++

#pragma once
class CAssemblyFileInfo : public IAssemblyFileInfo
{
public:
// IUnknown methods
STDMETHODIMP QueryInterface(REFIID riid,void ** ppv);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
STDMETHOD(Set)(
/* in */ DWORD dwId,
/* in */ LPCOLESTR pwzProperty);
STDMETHOD(Get)(
/* in */ DWORD dwId,
/* out */ LPOLESTR *ppwzProperty,
/* out */ LPDWORD pccProperty);
BOOL operator==( CAssemblyFileInfo& asmFIRHS );
CAssemblyFileInfo();
~CAssemblyFileInfo();
private:
struct FileInfo
{
LPWSTR pwzProperty;
DWORD ccProperty;
};
DWORD _dwSig;
DWORD _cRef;
HRESULT _hr;
FileInfo _fi[ASM_FILE_MAX];
};