jeudi 11 août 2016

What does type cast of DWORD on LPVOID return?

I'm sometimes confused when type casting in C++, what exactly do these return?

LPVOID lpFunction;
DWORD dw = (DWORD)lpFunction; // What does it take from LPVOID?

More of a general explanation would be appreciated. Thanks

Aucun commentaire:

Enregistrer un commentaire