wiasCreateLogInstance function (wiamdef.h)

The wiasCreateLogInstance function creates an instance of a logging object.

Syntax

HRESULT wiasCreateLogInstance(
  [in]  BYTE      *pModuleHandle,
  [out] IWiaLogEx **ppIWiaLogEx
);

Parameters

[in] pModuleHandle

Pointer to the module handle, which is used to filter output.

[out] ppIWiaLogEx

Pointer to a memory location that receives the address of the logging interface.

Return value

On success, the function returns S_OK. If the function fails, it returns a standard COM error or one of the WIA error codes.

Requirements

Requirement Value
Target Platform Desktop
Header wiamdef.h (include Wiamdef.h)
Library Wiaservc.lib
DLL Wiaservc.dll