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
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.