# Function Reference

# _WinAPI_ReleaseStream

Releases a stream object

#include <WinAPICom.au3>
_WinAPI_ReleaseStream ( $pStream )

## Parameters

$pStream | Pointer to the stream object previously created by a call to the _WinAPI_CreateStreamOnHGlobal() function.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Related

_WinAPI_CreateStreamOnHGlobal

## See Also

Search DispCallFunc in MSDN Library.