ADsBuildVarArrayInt

Builds a VARIANT array from an array of DWORDS.

HRESULT ADsBuildVarArrayInt(
  LPDWORD lpdwObjectTypes,  //Array of DWORD values
  DWORD dwObjectTypes,  //Number of entries
  VARIANT *pVar         //Resulting variant array
);
 

Parameters

lpdwObjectTypes
[in] Array of DWORD values.
dwObjectTypes
[in] Number of DWORD entries in the given array.
pVar
[out] Pointer to the resulting VARIANT array of values.

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The array has been built successfully.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows CE: Unsupported.

See Also

ADsBuildVarArrayStr