Commit 4f8b5a85 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Implemented CreateStreamOnHGLOBAL.

parent 5c385be5
...@@ -12,6 +12,7 @@ C_SRCS = \ ...@@ -12,6 +12,7 @@ C_SRCS = \
compositemoniker.c \ compositemoniker.c \
filemoniker.c \ filemoniker.c \
guid.c \ guid.c \
hglobalstream.c \
ifs.c \ ifs.c \
itemmoniker.c \ itemmoniker.c \
moniker.c \ moniker.c \
......
...@@ -274,15 +274,6 @@ HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum) ...@@ -274,15 +274,6 @@ HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
} }
/*********************************************************************** /***********************************************************************
* CreateStreamOnHGlobal [OLE32.61]
*/
HRESULT WINAPI CreateStreamOnHGlobal (HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM* ppstm)
{
FIXME(ole,"(%x,%x,%p), stub!\n", hGlobal, fDeleteOnRelease, ppstm);
return S_OK;
}
/***********************************************************************
* OleSave [OLE32.124] * OleSave [OLE32.124]
*/ */
HRESULT WINAPI OleSave( HRESULT WINAPI OleSave(
......
...@@ -169,7 +169,7 @@ HRESULT WINAPI StgStreamImpl_QueryInterface( ...@@ -169,7 +169,7 @@ HRESULT WINAPI StgStreamImpl_QueryInterface(
{ {
*ppvObject = (IStream*)This; *ppvObject = (IStream*)This;
} }
else if (memcmp(&IID_IStorage, riid, sizeof(IID_IStream)) == 0) else if (memcmp(&IID_IStream, riid, sizeof(IID_IStream)) == 0)
{ {
*ppvObject = (IStream*)This; *ppvObject = (IStream*)This;
} }
...@@ -644,7 +644,6 @@ HRESULT WINAPI StgStreamImpl_CopyTo( ...@@ -644,7 +644,6 @@ HRESULT WINAPI StgStreamImpl_CopyTo(
ULARGE_INTEGER* pcbRead, /* [out] */ ULARGE_INTEGER* pcbRead, /* [out] */
ULARGE_INTEGER* pcbWritten) /* [out] */ ULARGE_INTEGER* pcbWritten) /* [out] */
{ {
StgStreamImpl* const This=(StgStreamImpl*)iface;
HRESULT hr = S_OK; HRESULT hr = S_OK;
BYTE tmpBuffer[128]; BYTE tmpBuffer[128];
ULONG bytesRead, bytesWritten, copySize; ULONG bytesRead, bytesWritten, copySize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment