The GetSize method of the IRemoteArrayObject interface returns the number of elements in this array.
HRESULT GetSize(ULONG *pcElements)
[out] pcElements | Returns the number of elements in this array. |
S_OK Success.
E_NOLONGERVALID The underlying object is no longer valid.
E_NULLOBJECTREF This object reference is the null object reference.
E_OUTOFMEMORY Insufficient memory.