Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CreateStream method copies the source of a manifest or module into a stream.
Syntax
HRESULT CreateStream(
[in] DWORD dwFlags,
[in] LPCWSTR pszStreamName,
[in] DWORD dwFormat,
[in] DWORD dwFormatFlags,
IStream **ppIStream,
[optional] ULARGE_INTEGER *puliMaxSize
);
Parameters
[in] dwFlags
Reserved.
[in] pszStreamName
Pointer to a string value containing the name of the manifest. This becomes the name of the stream.
[in] dwFormat
This parameter specifies whether a module or manifest is being copied to a stream.
[in] dwFormatFlags
Reserved.
ppIStream
Pointer to the location that contains the pointer to the IStream interface that receives the information.
[optional] puliMaxSize
Reserved.
Return value
This method can return one of these values.
Return value | Description |
---|---|
|
The method succeeded. |
|
The method did not succeed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | winsxs.h |
DLL | Sxs.dll |