Expand Minimize

VariantGetElementCount function

Retrieves the element count of a variant structure.

Syntax


ULONG VariantGetElementCount(
  _In_  REFVARIANT varIn
);

Parameters

varIn [in]

Type: REFVARIANT

Reference to a source variant structure.

Return value

Type: ULONG

Returns the element count for values of type VT_ARRAY; otherwise, returns 1.

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)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft