ILITImageHost::Write

The Write method receives the raw bytes of the image file.

Syntax

HRESULT Write (
[in, size_is(cb)] const BYTE* pb
[in] ULONG cb
[out] ULONG* pcbWritten
);

Parameters

pb

Pointer to the data

cb

Size of the data, in bytes

pcbWritten

Pointer to a ULONG to receive the count of bytes actually written. Since Litgen.dll is always synchronous, this value will always be the same as the value passed in for cb, unless an error is returned. Callers can pass NULL here.

Return Values

S_OK

E_INVALIDARG

E_OUTOFMEMORY

E_UNEXPECTED

E_FAIL

See Also

© 2000 Microsoft Corporation. All rights reserved. Terms of use.