SHCreateStreamOnFileEx (SHLWAPI.@)
HRESULT SHCreateStreamOnFileEx ( LPCWSTR lpszPath, DWORD dwMode, DWORD dwAttributes, BOOL bCreate, IStream* lpTemplate, IStream** lppStream )
Create a stream on a file.
lpszPath | [In] | Path of file to create stream on. |
dwMode | [In] | Mode to create stream in. |
dwAttributes | [In] | Attributes of the file. |
bCreate | [In] | Whether to create the file if it doesn't exist. |
lpTemplate | [In] | Reserved, must be NULL. |
lppStream | [Out] | Destination for created stream. |
Success: S_OK. lppStream contains the new stream object
Failure: E_INVALIDARG if any parameter is invalid, or an HRESULT error code.
This function is available in Unicode only.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/istream.c". source.winehq.org/source/dlls/shlwapi/istream.c
Debug channel "shell".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.