|
-
July 18th, 2010, 02:30 AM
#1
Copying Handle
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|