Collapse the table of content
Expand the table of content
Expand Minimize
EN
本內容沒有您的語言版本,但有英文版本。

VariantToInt32WithDefault function

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

Syntax


LONG VariantToInt32WithDefault(
  _In_ REFVARIANT varIn,
  _In_ LONG       lDefault
);

Parameters

varIn [in]

Type: REFVARIANT

Reference to a source variant structure.

lDefault [in]

Type: LONG

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

Return value

Type: LONG

Returns the extracted Int32 value, or default.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propvarutil.h

Library

Propsys.lib

DLL

Propsys.dll (version 6.0 or later)

 

 

社群新增項目

新增
顯示:
© 2015 Microsoft