Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IStream::Write

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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 
);

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.

If the method succeeds, the return value is S_OK.

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

Headerobjidl.h, objidl.idl
Libraryole32.lib, uuid.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft