VariantToUInt64WithDefault function (propvarutil.h)

Extracts an unsigned Int64 property value of a variant structure. If no value currently exists, then the specified default value is returned.

Syntax

PSSTDAPI_(ULONGLONG) VariantToUInt64WithDefault(
  [in] REFVARIANT varIn,
  [in] ULONGLONG  ullDefault
);

Parameters

[in] varIn

Type: REFVARIANT

Reference to a source variant structure.

[in] ullDefault

Type: ULONGLONG

Specifies default property value, for use where no value currently exists.

Return value

Type: ULONGLONG

Returns the extracted unsigned Int64 value, or a default.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header propvarutil.h
Library Propsys.lib
DLL Propsys.dll (version 6.0 or later)
Redistributable Windows Desktop Search (WDS) 3.0