IWiaImageFilter::SetNewCallback method

Sets a new application callback for the image processing filter to use for forwarding calls.

Syntax

HRESULT SetNewCallback(
  [in] IWiaTransferCallback pWiaTransferCallback
);

Parameters

pWiaTransferCallback [in]

Type: IWiaTransferCallback

Specifies a pointer to the application's IWiaTransferCallback interface.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Do not call this method directly from your application.

The image processing filter is required to release the previously stored application callback interface before setting the new callback.

If pWiaTransferCallback is NULL, the image processing filter should simply release the old application callback and return S_OK.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
IDL
Wia.idl