ILITWriter::SetCallback

The SetCallback method receives a pointer to a client-implemented callback interface.

Syntax

HRESULT SetCallback (
[in] IUnknown* pCallback
);

Parameters

pCallback

Pointer to ILITCallback implementation to receive text messages during content preparation. This parameter is optional; passing NULL will cause Litgen.dll to release the previously registered ILITCallback, if any, and stop sending messages.

Return Values

S_OK

E_INVALIDARG

Remarks

This call is optional, but highly recommended.  It is very helpful for troubleshooting during tool development, and useful to anyone troubleshooting an error.

See Also

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