I have this code here from DirectX:
The DirectX documentation says this: pn [out] Returns an array of integers.
I am completely confused as to how this works, specificly the pn array. Do I just simply make an INT* pointer and pass it in, or do I have to create an array or what?
Make an int* pointer and be sure to allocate enough memory to hold "Count" number of elements. It will then fill in the array for you.
Ahh ok makes sence now. Thanks.