Skip to content

Latest commit

 

History

History
74 lines (59 loc) · 2.33 KB

nf-wiamdef-wiasvalidateitemproperties.md

File metadata and controls

74 lines (59 loc) · 2.33 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wiamdef.wiasValidateItemProperties
wiasValidateItemProperties function (wiamdef.h)
The wiasValidateItemProperties function validates a list of simple item properties against their current valid values.
image
03/08/2023
wiasValidateItemProperties function
image.wiasvalidateitemproperties, wiamdef/wiasValidateItemProperties, wiasFncs_98dc1f86-1cba-43c0-9f2a-3598701439bc.xml, wiasValidateItemProperties, wiasValidateItemProperties function [Imaging Devices]
wiamdef.h
Wiamdef.h
Desktop
Available in Microsoft Windows Me and in Windows XP and later versions of the Windows operating systems.
Wiaservc.lib
Wiaservc.dll
Windows
wiasValidateItemProperties
wiamdef/wiasValidateItemProperties
APIRef
kbSyntax
DllExport
Wiaservc.dll
wiasValidateItemProperties

-description

The wiasValidateItemProperties function validates a list of simple item properties against their current valid values.

-parameters

-param pWiasContext [in]

Pointer to a WIA item context.

-param nPropSpec

Specifies the number of properties to validate.

-param pPropSpec [in]

Pointer to the first element of an array of PROPSPEC structures indicating the properties to validate.

-returns

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).

-remarks

This function validates simple property values of the following types grouped by attribute.

Attributes Supported Types
WIA_PROP_FLAG VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_I1, VT_I2, VT_I4
WIA_PROP_RANGE VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_I1, VT_I2, VT_I4, VT_R4, VT_R8
WIA_PROP_LIST VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_I1, VT_I2, VT_I4, VT_R4, VT_R8, VT_BSTR

The PROPSPEC structure is defined in the Windows SDK documentation.