diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/chicago/storext.idl | |
download | NT4.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 'public/sdk/inc/chicago/storext.idl')
-rw-r--r-- | public/sdk/inc/chicago/storext.idl | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/public/sdk/inc/chicago/storext.idl b/public/sdk/inc/chicago/storext.idl new file mode 100644 index 000000000..6207d850c --- /dev/null +++ b/public/sdk/inc/chicago/storext.idl @@ -0,0 +1,108 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1995 - 1995. +// +// File: OleStor.idl Cairo only interfaces for OLE Storage +// +// Contents: IOverlappedStream interface definition +// +// History: 14-Sep-1995 HenryLee initial version +// +//-------------------------------------------------------------------------- + +#ifndef DO_NO_IMPORTS +import "wtypes.idl"; +import "unknwn.idl"; +import "objidl.idl"; +#endif + +typedef [wire_marshal(ULONG)] void * HEVENT; +interface IOverlappedCompletion; + +typedef struct _STGOVERLAPPED { + DWORD Internal; + DWORD InternalHigh; + DWORD Offset; + DWORD OffsetHigh; + HEVENT hEvent; + IOverlappedCompletion * lpCompletion; + DWORD reserved; +} STGOVERLAPPED, *LPSTGOVERLAPPED; + +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1995 - 1995. +// +// Contents: IOverlappedCompletion interface definition +// +// History: 14-Sep-1995 HenryLee initial version +// +//-------------------------------------------------------------------------- +[ + object, + uuid(521a28f0-e40b-11ce-b2c9-00aa00680937), + pointer_default(unique) +] +interface IOverlappedCompletion : IUnknown +{ + HRESULT OnComplete ( + [in] HRESULT hr, + [in] DWORD pcbTransferred, + [in] STGOVERLAPPED *lpOverlapped); +} + +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1995 - 1995. +// +// Contents: IOverlappedStream interface definition +// +// History: 14-Sep-1995 HenryLee initial version +// +//-------------------------------------------------------------------------- +[ + object, + uuid(49384070-e40a-11ce-b2c9-00aa00680937), + pointer_default(unique) +] +interface IOverlappedStream : IStream +{ + + [local] + HRESULT ReadOverlapped ( + [in, size_is(cb)] void * pv, + [in] ULONG cb, + [out] ULONG * pcbRead, + [in] STGOVERLAPPED *lpOverlapped); + + [call_as(ReadOverlapped)] + HRESULT RemoteReadOverlapped ( + [in, size_is(cb)] byte * pv, + [in] ULONG cb, + [out] ULONG * pcbRead, + [in] STGOVERLAPPED *lpOverlapped); + + + [local] + HRESULT __stdcall WriteOverlapped ( + [in, size_is(cb)] void *pv, + [in] ULONG cb, + [out] ULONG * pcbWritten, + [in] STGOVERLAPPED *lpOverlapped); + + [call_as(WriteOverlapped)] + HRESULT __stdcall RemoteWriteOverlapped ( + [in, size_is(cb)] byte *pv, + [in] ULONG cb, + [out] ULONG * pcbWritten, + [in] STGOVERLAPPED *lpOverlapped); + + HRESULT GetOverlappedResult ( + [in, out] STGOVERLAPPED *lpOverlapped, + [out] DWORD * plcbTransfer, + [in] BOOL fWait); + +} |