Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d0040595
Commit
d0040595
authored
Oct 14, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the 16-bit storage interfaces out of the exported headers.
parent
a05696f3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
193 deletions
+60
-193
ifs.h
dlls/ole32/ifs.h
+60
-0
objbase.h
include/objbase.h
+0
-5
objidl.h
include/objidl.h
+0
-0
objidl.idl
include/objidl.idl
+0
-188
No files found.
dlls/ole32/ifs.h
View file @
d0040595
...
...
@@ -64,5 +64,65 @@ typedef struct ILockBytes16 *LPLOCKBYTES16, ILockBytes16;
ICOM_DEFINE
(
ILockBytes16
,
IUnknown
)
#undef INTERFACE
/**********************************************************************/
typedef
struct
tagSTATSTG16
{
LPOLESTR16
pwcsName
;
DWORD
type
;
ULARGE_INTEGER
cbSize
;
FILETIME
mtime
;
FILETIME
ctime
;
FILETIME
atime
;
DWORD
grfMode
;
DWORD
grfLocksSupported
;
CLSID
clsid
;
DWORD
grfStateBits
;
DWORD
reserved
;
}
STATSTG16
;
typedef
struct
IStream16
IStream16
,
*
LPSTREAM16
;
#define INTERFACE IStream16
#define IStream16_METHODS \
ISequentialStream_METHODS \
STDMETHOD(Seek)(THIS_ LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER* plibNewPosition) PURE; \
STDMETHOD(SetSize)(THIS_ ULARGE_INTEGER libNewSize) PURE; \
STDMETHOD(CopyTo)(THIS_ IStream16* pstm, ULARGE_INTEGER cb, ULARGE_INTEGER* pcbRead, ULARGE_INTEGER* pcbWritten) PURE; \
STDMETHOD(Commit)(THIS_ DWORD grfCommitFlags) PURE; \
STDMETHOD(Revert)(THIS) PURE; \
STDMETHOD(LockRegion)(THIS_ ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType) PURE; \
STDMETHOD(UnlockRegion)(THIS_ ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType) PURE; \
STDMETHOD(Stat)(THIS_ STATSTG* pstatstg, DWORD grfStatFlag) PURE; \
STDMETHOD(Clone)(THIS_ IStream16** ppstm) PURE;
ICOM_DEFINE
(
IStream16
,
ISequentialStream
)
#undef INTERFACE
/**********************************************************************/
typedef
OLECHAR16
**
SNB16
;
typedef
struct
IStorage16
IStorage16
,
*
LPSTORAGE16
;
#define INTERFACE IStorage16
#define IStorage16_METHODS \
IUnknown_METHODS \
STDMETHOD_(HRESULT,CreateStream)(THIS_ LPCOLESTR16 pwcsName, DWORD grfMode, DWORD reserved1, DWORD reserved2, IStream16** ppstm) PURE; \
STDMETHOD_(HRESULT,OpenStream)(THIS_ LPCOLESTR16 pwcsName, void* reserved1, DWORD grfMode, DWORD reserved2, IStream16** ppstm) PURE; \
STDMETHOD_(HRESULT,CreateStorage)(THIS_ LPCOLESTR16 pwcsName, DWORD grfMode, DWORD dwStgFmt, DWORD reserved2, IStorage16** ppstg) PURE; \
STDMETHOD_(HRESULT,OpenStorage)(THIS_ LPCOLESTR16 pwcsName, IStorage16* pstgPriority, DWORD grfMode, SNB16 snbExclude, DWORD reserved, IStorage16** ppstg) PURE; \
STDMETHOD_(HRESULT,CopyTo)(THIS_ DWORD ciidExclude, const IID* rgiidExclude, SNB16 snbExclude, IStorage16* pstgDest) PURE; \
STDMETHOD_(HRESULT,MoveElementTo)(THIS_ LPCOLESTR16 pwcsName, IStorage16* pstgDest, LPCOLESTR16 pwcsNewName, DWORD grfFlags) PURE; \
STDMETHOD_(HRESULT,Commit)(THIS_ DWORD grfCommitFlags) PURE; \
STDMETHOD_(HRESULT,Revert)(THIS) PURE; \
STDMETHOD_(HRESULT,EnumElements)(THIS_ DWORD reserved1, void* reserved2, DWORD reserved3, IEnumSTATSTG** ppenum) PURE; \
STDMETHOD_(HRESULT,DestroyElement)(THIS_ LPCOLESTR16 pwcsName) PURE; \
STDMETHOD_(HRESULT,RenameElement)(THIS_ LPCOLESTR16 pwcsOldName, LPCOLESTR16 pwcsNewName) PURE; \
STDMETHOD_(HRESULT,SetElementTimes)(THIS_ LPCOLESTR16 pwcsName, const FILETIME* pctime, const FILETIME* patime, const FILETIME* pmtime) PURE; \
STDMETHOD_(HRESULT,SetClass)(THIS_ REFCLSID clsid) PURE; \
STDMETHOD_(HRESULT,SetStateBits)(THIS_ DWORD grfStateBits, DWORD grfMask) PURE; \
STDMETHOD_(HRESULT,Stat)(THIS_ STATSTG* pstatstg, DWORD grfStatFlag) PURE;
ICOM_DEFINE
(
IStorage16
,
IUnknown
)
#undef INTERFACE
#endif
/* __WINE_OLE_IFS_H */
include/objbase.h
View file @
d0040595
...
...
@@ -505,14 +505,9 @@ HRESULT WINAPI GetRunningObjectTable16(DWORD reserved, LPRUNNINGOBJECTTABLE *ppr
#define STGM_NOSCRATCH 0x00100000
#define STGM_NOSNAPSHOT 0x00200000
HRESULT
WINAPI
StgCreateDocFile16
(
LPCOLESTR16
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgCreateDocfile
(
LPCOLESTR
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgIsStorageFile16
(
LPCOLESTR16
fn
);
HRESULT
WINAPI
StgIsStorageFile
(
LPCOLESTR
fn
);
HRESULT
WINAPI
StgIsStorageILockBytes
(
ILockBytes
*
plkbyt
);
HRESULT
WINAPI
StgOpenStorage16
(
const
OLECHAR16
*
pwcsName
,
IStorage16
*
pstgPriority
,
DWORD
grfMode
,
SNB16
snbExclude
,
DWORD
reserved
,
IStorage16
**
ppstgOpen
);
HRESULT
WINAPI
StgOpenStorage
(
const
OLECHAR
*
pwcsName
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
WriteClassStg
(
IStorage
*
pStg
,
REFCLSID
rclsid
);
...
...
include/objidl.h
View file @
d0040595
This diff is collapsed.
Click to expand it.
include/objidl.idl
View file @
d0040595
...
...
@@ -19,7 +19,6 @@
import
"unknwn.idl"
;
interface
IStream
;
interface
IStream16
;
interface
IEnumString
;
interface
IRunningObjectTable
;
interface
IMoniker
;
...
...
@@ -811,80 +810,6 @@ interface IStream : ISequentialStream
[
object,
pointer_default(unique)
]
interface IStream16 : ISequentialStream
{
typedef [unique] IStream16 *LPSTREAM16;
typedef struct tagSTATSTG16 {
LPOLESTR16 pwcsName;
DWORD type;
ULARGE_INTEGER cbSize;
FILETIME mtime;
FILETIME ctime;
FILETIME atime;
DWORD grfMode;
DWORD grfLocksSupported;
CLSID clsid;
DWORD grfStateBits;
DWORD reserved;
} STATSTG16;
[local]
HRESULT Seek(
[in] LARGE_INTEGER dlibMove,
[in] DWORD dwOrigin,
[out] ULARGE_INTEGER *plibNewPosition);
[call_as(Seek)]
HRESULT RemoteSeek(
[in] LARGE_INTEGER dlibMove,
[in] DWORD dwOrigin,
[out] ULARGE_INTEGER *plibNewPosition);
HRESULT SetSize(
[in] ULARGE_INTEGER libNewSize);
[local]
HRESULT CopyTo(
[in, unique] IStream16 *pstm,
[in] ULARGE_INTEGER cb,
[out] ULARGE_INTEGER *pcbRead,
[out] ULARGE_INTEGER *pcbWritten);
[call_as(CopyTo)]
HRESULT RemoteCopyTo(
[in, unique] IStream16 *pstm,
[in] ULARGE_INTEGER cb,
[out] ULARGE_INTEGER *pcbRead,
[out] ULARGE_INTEGER *pcbWritten);
HRESULT Commit(
[in] DWORD grfCommitFlags);
HRESULT Revert();
HRESULT LockRegion(
[in] ULARGE_INTEGER libOffset,
[in] ULARGE_INTEGER cb,
[in] DWORD dwLockType);
HRESULT UnlockRegion(
[in] ULARGE_INTEGER libOffset,
[in] ULARGE_INTEGER cb,
[in] DWORD dwLockType);
HRESULT Stat(
[out] STATSTG *pstatstg,
[in] DWORD grfStatFlag);
HRESULT Clone(
[out] IStream16 **ppstm);
}
[
object,
uuid(0000000d-0000-0000-C000-000000000046),
pointer_default(unique)
]
...
...
@@ -1031,119 +956,6 @@ interface IStorage : IUnknown
[
object,
pointer_default(unique)
]
interface IStorage16 : IUnknown
{
typedef [unique] IStorage16 *LPSTORAGE16;
typedef struct tagRemSNB16 {
unsigned long ulCntStr;
unsigned long ulCntChar;
[size_is(ulCntChar)] OLECHAR16 rgString[];
} RemSNB16;
typedef [unique] RemSNB16 *wireSNB16;
typedef [wire_marshal(wireSNB16)] OLECHAR16 **SNB16;
HRESULT CreateStream(
[in] LPCOLESTR16 pwcsName,
[in] DWORD grfMode,
[in] DWORD reserved1,
[in] DWORD reserved2,
[out] IStream16 **ppstm);
[local]
HRESULT OpenStream(
[in] LPCOLESTR16 pwcsName,
[in, unique] void *reserved1,
[in] DWORD grfMode,
[in] DWORD reserved2,
[out] IStream16 **ppstm);
[call_as(OpenStream)]
HRESULT RemoteOpenStream(
[in] LPCOLESTR16 pwcsName,
[in] unsigned long cbReserved1,
[in, unique, size_is(cbReserved1)] byte *reserved1,
[in] DWORD grfMode,
[in] DWORD reserved2,
[out] IStream16 **ppstm);
HRESULT CreateStorage(
[in] LPCOLESTR16 pwcsName,
[in] DWORD grfMode,
[in] DWORD dwStgFmt,
[in] DWORD reserved2,
[out] IStorage16 **ppstg);
HRESULT OpenStorage(
[in, unique] LPCOLESTR16 pwcsName,
[in, unique] IStorage16 *pstgPriority,
[in] DWORD grfMode,
[in, unique] SNB16 snbExclude,
[in] DWORD reserved,
[out] IStorage16 **ppstg);
HRESULT CopyTo(
[in] DWORD ciidExclude,
[in, unique, size_is(ciidExclude)] const IID *rgiidExclude,
[in, unique] SNB16 snbExclude,
[in, unique] IStorage16 *pstgDest);
HRESULT MoveElementTo(
[in] LPCOLESTR16 pwcsName,
[in, unique] IStorage16 *pstgDest,
[in] LPCOLESTR16 pwcsNewName,
[in] DWORD grfFlags);
HRESULT Commit(
[in] DWORD grfCommitFlags);
HRESULT Revert();
[local]
HRESULT EnumElements(
[in] DWORD reserved1,
[in, unique, size_is(1)] void *reserved2,
[in] DWORD reserved3,
[out] IEnumSTATSTG **ppenum);
[call_as(EnumElements)]
HRESULT RemoteEnumElements(
[in] DWORD reserved1,
[in] unsigned long cbReserved2,
[in, unique, size_is(cbReserved2)] byte *reserved2,
[in] DWORD reserved3,
[out] IEnumSTATSTG **ppenum);
HRESULT DestroyElement(
[in] LPCOLESTR16 pwcsName);
HRESULT RenameElement(
[in] LPCOLESTR16 pwcsOldName,
[in] LPCOLESTR16 pwcsNewName);
HRESULT SetElementTimes(
[in, unique] LPCOLESTR16 pwcsName,
[in, unique] const FILETIME *pctime,
[in, unique] const FILETIME *patime,
[in, unique] const FILETIME *pmtime);
HRESULT SetClass(
[in] REFCLSID clsid);
HRESULT SetStateBits(
[in] DWORD grfStateBits,
[in] DWORD grfMask);
HRESULT Stat(
[out] STATSTG *pstatstg,
[in] DWORD grfStatFlag);
}
[
object,
uuid(0000010b-0000-0000-C000-000000000046),
pointer_default(unique)
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment