Hi,
while(pEnum->Next(1, &pPin, 0) == S_OK)
what does the 0 for the cfetched argument mean
What is the difference if write it like the below
ULONG cfetched;
while(pEnum->Next(1, &pPin, &cfetched) == S_OK)
Hi,
while(pEnum->Next(1, &pPin, 0) == S_OK)
what does the 0 for the cfetched argument mean
What is the difference if write it like the below
ULONG cfetched;
while(pEnum->Next(1, &pPin, &cfetched) == S_OK)
What does cfetched=0 mean?
Wolfsvein
Darrell Davis
BobH
pcFetched is useful only when you are getting more than one object at the same time (cPins>1). In this case it returns the actual number of Pins obtained :
pcFetched
[out] Pointer to a variable that receives the number of pins retrieved. Can be NULL if cPins is 1.