From MSDN -
IDispatch::GetIDsOfNames
method:
rgDispId
Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in the
rgszNames
array.
I've understood those __ which
things as just inversion of prepositions.
For example, when I see this clause: “Trees of which a forest consists.”, I just move the of
to the end of it: “Trees which a forest consists of.”
But in this case, it seems the method does not work properly. I cannot understand it: “Caller-allocated array, each element which contains an identifier (ID) corresponding to one of the names passed in the rgszNames
array of.”
I interpreted the sentence as “A caller-allocated array whose elements contain an ID corresponding to one of the names passed in the rgszNames
array”. I can guess what it means, but I want to understand the grammatical structure of the sentence, so as to know the reason why it brings the meaning.
I've read:
a caller-allocated array
herein) in place of the basic ones, such aswhich
,whom
,what
, and et cetera, and think of theeach element of which
where thewhich
is "the array" to be a single relative pronoun that connects the two things in-between. It makes perfect sense and would be the right way to interpret those I guess.