IWiaMiniDrv::drvUnInitializeWia method (wiamindr_lh.h)

The IWiaMiniDrv::drvUnInitializeWia method releases resources held by the minidriver.

Syntax

HRESULT drvUnInitializeWia(
  BYTE *__MIDL__IWiaMiniDrv0064
);

Parameters

__MIDL__IWiaMiniDrv0064

pWiasContext [in]

Pointer to a WIA item context.

Return value

On success, the method should return S_OK If the method fails, it should return a standard COM error code.

Remarks

The WIA service calls the IWiaMiniDrv::drvUnInitializeWia method when the resources associated with an application item tree are no longer needed. The minidriver can then unload any DLLs and free any allocated memory.

Requirements

Requirement Value
Target Platform Desktop
Header wiamindr_lh.h (include Wiamindr.h)

See also

IWiaMiniDrv

IWiaMiniDrv::drvInitializeWia