Export (0) Print
Expand All

IWbemPathKeyList::GetCount method

The IWbemPathKeyList::GetCount method retrieves the number of keys in the path.

Syntax


HRESULT GetCount(
  [in, out]  ULONG *puKeyCount
);

Parameters

puKeyCount [in, out]

Number of keys.

Return value

This method returns an HRESULT indicating the status of the method call.

Return codeDescription
S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

The puKeyCount parameter is NULL.

WBEM_E_OUT_OF_MEMORY

Insufficient memory to perform the operation.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show:
© 2015 Microsoft