Why do we use HANDLE keyword in C++ ,and what is the purpose of using it ?
1
Expert's answer
2015-06-01T11:13:50-0400
HANDLE – descriptor (a pointer to a structure describing the properties of a particular object, for example, some windows, processes, files) is used to describe a variety of objects to change the properties of an object or information about its properties. Fordifferent types of objects there are different descriptors. The handle of the object can be described as follows: HANDLE h;
// gets a handle to the device input or output: HANDLE h = GetStdHandle(DWORD nStdHandle);
HANDLE – object handle. HBITMAP – handle bitmap. HBRUSH – brush handle. HCURSOR – cursor handle. HDC – a device context handle. From phrases handledevice context. HFONT – font handle. HICONS – cryptogram descriptor. HINSTANCE – handle to the application instance. HMENU – menu handle. HPEN – descriptor pen. HWND – window handle. From phrases handle window.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment