1 |
|
---|
2 | class Storage : public IStorage
|
---|
3 | {
|
---|
4 | HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, LPVOID FAR* ppvObj)
|
---|
5 | {
|
---|
6 | MUST_BE_IMPLEMENTED("QueryInterface")
|
---|
7 | }
|
---|
8 |
|
---|
9 | ULONG STDMETHODCALLTYPE AddRef()
|
---|
10 | {
|
---|
11 | return(1);
|
---|
12 | }
|
---|
13 |
|
---|
14 | ULONG STDMETHODCALLTYPE Release()
|
---|
15 | {
|
---|
16 | return(1);
|
---|
17 | }
|
---|
18 |
|
---|
19 | HRESULT STDMETHODCALLTYPE CreateStream( const WCHAR *pwcsName, DWORD grfMode, DWORD reserved1, DWORD reserved2, IStream **ppstm)
|
---|
20 | {
|
---|
21 | MUST_BE_IMPLEMENTED("CreateStream")
|
---|
22 | }
|
---|
23 |
|
---|
24 | HRESULT STDMETHODCALLTYPE OpenStream( const WCHAR * pwcsName, void *reserved1, DWORD grfMode, DWORD reserved2, IStream **ppstm)
|
---|
25 | {
|
---|
26 | MUST_BE_IMPLEMENTED("OpenStream")
|
---|
27 | }
|
---|
28 |
|
---|
29 | HRESULT STDMETHODCALLTYPE CreateStorage( const WCHAR *pwcsName, DWORD grfMode, DWORD reserved1, DWORD reserved2, IStorage **ppstg)
|
---|
30 | {
|
---|
31 | MUST_BE_IMPLEMENTED("CreateStorage")
|
---|
32 | }
|
---|
33 |
|
---|
34 | HRESULT STDMETHODCALLTYPE OpenStorage( const WCHAR * pwcsName, IStorage * pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstg)
|
---|
35 | {
|
---|
36 | MUST_BE_IMPLEMENTED("OpenStorage")
|
---|
37 | }
|
---|
38 |
|
---|
39 | HRESULT STDMETHODCALLTYPE CopyTo( DWORD ciidExclude, IID const *rgiidExclude, SNB snbExclude,IStorage *pstgDest)
|
---|
40 | {
|
---|
41 | MUST_BE_IMPLEMENTED("CopyTo")
|
---|
42 | }
|
---|
43 |
|
---|
44 | HRESULT STDMETHODCALLTYPE MoveElementTo( const OLECHAR *pwcsName,IStorage * pstgDest, const OLECHAR *pwcsNewName, DWORD grfFlags)
|
---|
45 | {
|
---|
46 | MUST_BE_IMPLEMENTED("MoveElementTo")
|
---|
47 | }
|
---|
48 |
|
---|
49 | HRESULT STDMETHODCALLTYPE Commit( DWORD grfCommitFlags)
|
---|
50 | {
|
---|
51 | MUST_BE_IMPLEMENTED("Commit")
|
---|
52 | }
|
---|
53 |
|
---|
54 | HRESULT STDMETHODCALLTYPE Revert()
|
---|
55 | {
|
---|
56 | MUST_BE_IMPLEMENTED("Revert")
|
---|
57 | }
|
---|
58 |
|
---|
59 | HRESULT STDMETHODCALLTYPE EnumElements( DWORD reserved1, void * reserved2, DWORD reserved3, IEnumSTATSTG ** ppenum)
|
---|
60 | {
|
---|
61 | MUST_BE_IMPLEMENTED("EnumElements")
|
---|
62 | }
|
---|
63 |
|
---|
64 | HRESULT STDMETHODCALLTYPE DestroyElement( const OLECHAR *pwcsName)
|
---|
65 | {
|
---|
66 | MUST_BE_IMPLEMENTED("DestroyElement")
|
---|
67 | }
|
---|
68 |
|
---|
69 | HRESULT STDMETHODCALLTYPE RenameElement( const WCHAR *pwcsOldName, const WCHAR *pwcsNewName)
|
---|
70 | {
|
---|
71 | MUST_BE_IMPLEMENTED("RenameElement")
|
---|
72 | }
|
---|
73 |
|
---|
74 | HRESULT STDMETHODCALLTYPE SetElementTimes( const WCHAR *pwcsName, FILETIME const *pctime, FILETIME const *patime, FILETIME const *pmtime)
|
---|
75 | {
|
---|
76 | MUST_BE_IMPLEMENTED("SetElementTimes")
|
---|
77 | }
|
---|
78 |
|
---|
79 | HRESULT STDMETHODCALLTYPE SetClass( REFCLSID clsid)
|
---|
80 | {
|
---|
81 | return(S_OK);
|
---|
82 | }
|
---|
83 |
|
---|
84 | HRESULT STDMETHODCALLTYPE SetStateBits( DWORD grfStateBits, DWORD grfMask)
|
---|
85 | {
|
---|
86 | MUST_BE_IMPLEMENTED("SetStateBits")
|
---|
87 | }
|
---|
88 |
|
---|
89 | HRESULT STDMETHODCALLTYPE Stat( STATSTG * pstatstg, DWORD grfStatFlag)
|
---|
90 | {
|
---|
91 | MUST_BE_IMPLEMENTED("Stat")
|
---|
92 | }
|
---|
93 |
|
---|
94 | };
|
---|