Discussion
Windows uses a HANDLE, which is simply a 32 bit number that refers to an object. Which amongst the following are windows HANDLES ?
(1) HDC
(2) HBRUSH
(3) HMENU
(4) HWND
Answer: D
All four are Windows handles: (1), (2), (3) and (4).
In the Windows API a handle is an opaque value that identifies an object managed by the system. HDC is a handle to a device context, HBRUSH to a GDI brush, HMENU to a menu and HWND to a window. All four are handle types defined in the Windows headers.
Any option that leaves out HBRUSH or HMENU (options A, B and C) is incomplete.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development