summaryrefslogtreecommitdiffstats
path: root/private/ole32/com/remote/dde/client/packmnkr.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ole32/com/remote/dde/client/packmnkr.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/ole32/com/remote/dde/client/packmnkr.h')
-rw-r--r--private/ole32/com/remote/dde/client/packmnkr.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/private/ole32/com/remote/dde/client/packmnkr.h b/private/ole32/com/remote/dde/client/packmnkr.h
new file mode 100644
index 000000000..bc312bfab
--- /dev/null
+++ b/private/ole32/com/remote/dde/client/packmnkr.h
@@ -0,0 +1,63 @@
+/*
+ packmnkr.h
+*/
+
+class CPackagerMoniker : public IMoniker
+{
+ public:
+ // *** IUnknown methods ***
+ STDMETHOD(QueryInterface) ( REFIID riid, LPVOID * ppvObj) ;
+ STDMETHOD_(ULONG,AddRef) () ;
+ STDMETHOD_(ULONG,Release) () ;
+
+ // *** IPersist methods ***
+ STDMETHOD(GetClassID) ( LPCLSID lpClassID) ;
+
+ // *** IPersistStream methods ***
+ STDMETHOD(IsDirty) () ;
+ STDMETHOD(Load) ( LPSTREAM pStm) ;
+ STDMETHOD(Save) ( LPSTREAM pStm,
+ BOOL fClearDirty) ;
+ STDMETHOD(GetSizeMax) ( ULARGE_INTEGER * pcbSize) ;
+
+ // *** IMoniker methods ***
+ STDMETHOD(BindToObject) ( LPBC pbc, LPMONIKER pmkToLeft,
+ REFIID riidResult, LPVOID * ppvResult) ;
+ STDMETHOD(BindToStorage) ( LPBC pbc, LPMONIKER pmkToLeft,
+ REFIID riid, LPVOID * ppvObj) ;
+ STDMETHOD(Reduce) ( LPBC pbc, DWORD dwReduceHowFar, LPMONIKER *
+ ppmkToLeft, LPMONIKER * ppmkReduced) ;
+ STDMETHOD(ComposeWith) ( LPMONIKER pmkRight, BOOL fOnlyIfNotGeneric,
+ LPMONIKER * ppmkComposite) ;
+ STDMETHOD(Enum) ( BOOL fForward, LPENUMMONIKER * ppenumMoniker)
+ ;
+ STDMETHOD(IsEqual) ( LPMONIKER pmkOtherMoniker) ;
+ STDMETHOD(Hash) ( LPDWORD pdwHash) ;
+ STDMETHOD(IsRunning) ( LPBC pbc, LPMONIKER pmkToLeft, LPMONIKER
+ pmkNewlyRunning) ;
+ STDMETHOD(GetTimeOfLastChange) ( LPBC pbc, LPMONIKER pmkToLeft,
+ FILETIME * pfiletime) ;
+ STDMETHOD(Inverse) ( LPMONIKER * ppmk) ;
+ STDMETHOD(CommonPrefixWith) ( LPMONIKER pmkOther, LPMONIKER *
+ ppmkPrefix) ;
+ STDMETHOD(RelativePathTo) ( LPMONIKER pmkOther, LPMONIKER *
+ ppmkRelPath) ;
+ STDMETHOD(GetDisplayName) ( LPBC pbc, LPMONIKER pmkToLeft,
+ LPOLESTR * lplpszDisplayName) ;
+ STDMETHOD(ParseDisplayName) ( LPBC pbc, LPMONIKER pmkToLeft,
+ LPOLESTR lpszDisplayName, ULONG * pchEaten,
+ LPMONIKER * ppmkOut) ;
+ STDMETHOD(IsSystemMoniker) ( LPDWORD pdwMksys) ;
+
+ static HRESULT Create ( LPOLESTR szFile, LPMONIKER * ppmk, BOOL fLink) ;
+
+ private:
+
+ ULONG m_refs;
+ LPOLESTR m_szFile;
+ LPMONIKER m_pmk;
+ BOOL m_fLink;
+
+
+};
+