wiasUpdateValidFormat function (wiamdef.h)

The wiasUpdateValidFormat function updates the valid format of the property context for the current minidriver.

Syntax

HRESULT wiasUpdateValidFormat(
  [in] BYTE                 *pWiasContext,
  [in] WIA_PROPERTY_CONTEXT *pContext,
  [in] IWiaMiniDrv          *pIMiniDrv
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

[in] pContext

Pointer to a WIA_PROPERTY_CONTEXT structure containing a property context.

[in] pIMiniDrv

Pointer to the IWiaMiniDrv Interface of the current minidriver.

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_XXX errors (described in the Microsoft Windows SDK documentation).

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows Me and in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header wiamdef.h (include Wiamdef.h)
Library Wiaservc.lib
DLL Wiaservc.dll

See also

WIA_PROPERTY_CONTEXT