vendredi 13 mars 2015

Pointer type vs result of address of


Why does



RECT r;
...
GetClientRect(hwnd,&r);


work, but



LPRECT r =NULL; //must initialize
...
GetClientRect(hwnd,r);


does not work?


I think it has to be initialized




Aucun commentaire:

Enregistrer un commentaire