Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
STDAPI CreatePatchingUtil(IXMLDOMNode *pPatchNode, IPatchingUtil **ppPatchingInfo);
class CPatchingUtil : public IPatchingUtil { public: // IUnknown methods
STDMETHODIMP QueryInterface(REFIID riid, void ** ppv); STDMETHODIMP_(ULONG) AddRef(); STDMETHODIMP_(ULONG) Release();
STDMETHOD (Init)( /* in */ IXMLDOMNode *pPatchNode);
// Pre-download
STDMETHOD (MatchTarget)( /* in */ LPWSTR pwzTarget, /* out */ IManifestInfo **ppPatchInfo);
// Post-download
STDMETHOD (MatchPatch)( /* in */ LPWSTR pwzPatch, /* out */ IManifestInfo **ppPatchInfo); static HRESULT CreatePatchingInfo(IXMLDOMDocument2 *pXMLDOMDocument, IAssemblyCacheImport *pCacheImport, IManifestInfo **ppPatchingInfo);
CPatchingUtil(); ~CPatchingUtil();
private: DWORD _dwSig; DWORD _cRef; HRESULT _hr;
IXMLDOMNode *_pXMLPatchNode; };
|