Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 3 KB

nf-shobjidl-istreamasync-writeasync.md

File metadata and controls

89 lines (67 loc) · 3 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl.IStreamAsync.WriteAsync
IStreamAsync::WriteAsync (shobjidl.h)
Writes information to a stream asynchronously. For example, the Shell implements this method on file items when transferring them asynchronously.
IStreamAsync interface [Windows Shell]
WriteAsync method
IStreamAsync.WriteAsync
IStreamAsync::WriteAsync
WriteAsync
WriteAsync method [Windows Shell]
WriteAsync method [Windows Shell]
IStreamAsync interface
_shell_IStreamAsync_WriteAsync
shell.IStreamAsync_WriteAsync
shobjidl/IStreamAsync::WriteAsync
shell\IStreamAsync_WriteAsync.htm
shell
c5004923-191b-4ec1-83af-f066209c786a
12/05/2018
IStreamAsync interface [Windows Shell],WriteAsync method, IStreamAsync.WriteAsync, IStreamAsync::WriteAsync, WriteAsync, WriteAsync method [Windows Shell], WriteAsync method [Windows Shell],IStreamAsync interface, _shell_IStreamAsync_WriteAsync, shell.IStreamAsync_WriteAsync, shobjidl/IStreamAsync::WriteAsync
shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IStreamAsync::WriteAsync
shobjidl/IStreamAsync::WriteAsync
c++
APIRef
kbSyntax
COM
Shobjidl.h
IStreamAsync.WriteAsync

IStreamAsync::WriteAsync

-description

Writes information to a stream asynchronously. For example, the Shell implements this method on file items when transferring them asynchronously.

-parameters

-param lpBuffer [in]

Type: const void*

A pointer to a buffer of size cb bytes that contains the information to be written to the stream.

-param cb [in]

Type: DWORD

The size of the buffer pointed to by lpBuffer, in bytes.

-param pcbWritten [out]

Type: LPDWORD

Pointer to a DWORD value that, when the method returns successfully, states the actual number of bytes written to the stream. This value can be NULL if this information is not needed.

-param lpOverlapped [in]

Type: LPOVERLAPPED

A pointer to an OVERLAPPED structure that contains information used in the asynchronous write operation.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

WriteAsync should reset the event specified by the hEvent member of the OVERLAPPED structure to a nonsignaled state when it begins the input/output (I/O) operation.