IStream::Write (Windows CE 5.0)

Send Feedback

This method writes a specified number of bytes into the stream object starting at the current seek pointer.

HRESULT Write( void const* pv,ULONG cb,ULONG* pcbWritten );

Parameters

  • pv
    Pointer to the memory buffer.
  • cb
    Number of bytes of data to write from the stream object.
  • pcbWritten
    Pointer to a ULONG variable that receives the actual number of bytes written from the stream object.

Return Values

If the method succeeds, the return value is S_OK.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.