Hi,


If I to copy a handle and store it in a data member of a class, should I:

1. copy the value such as
HWND m_hwndthiswindow = hwnd;

2. get a pointer to the terget hwnd such as
HWND *m_hwndthiswindow = &hwnd;


which one is better? does value of hwnd/hInstance/other handle structure is changing?


what is actually "int unused" defined in HANDLE structure?

Thanks