wiasWritePropGuid function (wiamdef.h)

The wiasWritePropGuid function writes a single GUID property value to a WIA item.

Syntax

HRESULT wiasWritePropGuid(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       GUID   guidVal
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

propid

Specifies the property identifier.

guidVal

Specifies a GUID property value to write to the item.

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
Target Platform Desktop
Header wiamdef.h (include Wiamdef.h)
Library Wiaservc.lib
DLL Wiaservc.dll

See also

wiasReadPropGuid

wiasWritePropBin

wiasWritePropFloat

wiasWritePropLong

wiasWritePropStr