// wiamdef.h
HRESULT wiasSetItemPropNames(
[in] BYTE *pWiasContext,
LONG cItemProps,
[in, out] PROPID *ppId,
[in, out] LPOLESTR *ppszNames
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSetItemPropNames function writes property names to item properties.
pWiasContext [in]Pointer to a WIA item context.
cItemPropsSpecifies the number of property names to write.
ppId [in, out]Pointer to the first element of a caller-allocated array of property identifiers (PROPIDs).
ppszNames [in, out]Pointer to the first element of a caller-allocated array of property names to write.
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).
Minidrivers typically use this function when initializing item properties. The order of property identifiers in ppId must match the order of property names in ppSzNames.