Bewerken

Delen via


wiasWritePropLong function (wiamdef.h)

The wiasWritePropLong function writes a single long integer property value to a WIA item.

Syntax

HRESULT wiasWritePropLong(
  [in] BYTE   *pWiasContext,
       PROPID propid,
       LONG   lVal
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

propid

Specifies the property identifier.

lVal

Specifies the long integer 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
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

wiasReadPropLong

wiasWritePropBin

wiasWritePropFloat

wiasWritePropGuid

wiasWritePropStr