Fill in the Blanks:
32. There are only two messages to ask for user confirmation before ending a program. These are _________ and
_________ messages. (WM_CLOSE, WM_QUERYENDSESSION)
33. After processing WM_QUERYENDSESSION message, the system sends the _________ message with the wParam
parameter set to the results of the WM_QUERYENDSESSION message. (WM_ENDSESSION)
34. The complete prototype of the MessageBox() function is _____________________. (int WINAPI
MessageBox(HWND, LPCSTR, LPCSTR, UINT))
35. There are two type of bitmap in Windows. These are __________ and __________ bitmaps. (device-independent,
device-dependent)
36. Metafiles are to _________ graphics as bitmaps are to raster graphics. (Vector)
37. A metafile consists of a series of _________ records that corresponds to graphics functions calls. (Binary)
38. The filename extension for the enhanced metafile is _____. (.EMF)
39. The enhanced metafile is created by using the _________ function. (CreateEnhMetaFile())
40. The ____________ function is use to get rid of all memory resources required to maintain the metafile.
(DeleteEnhMetaFile())
41. The _________ function displays the picture stored in the given Windows-format metafile on the specified device.
(PlayMetaFile())
42. The process to get access to the individual records of a metafile is called metafile __________. (Enumeration)
43. The _________ function enumerates the records within an enhanced-format metafile by retrieving each record and
passing it to the specified callback function. (EnumEnhMetaFile())
44. The ________ and _________ functions are used to create a new thread of execution. (CreateWindow() and
_beginthread())
45. The function _beginthread() requires the __________ header file. (process.h)
46. The ________ function returns the thread identifier, which is used as a handle of the calling thread.
(GetCurrentThreadId())
47. To initialize a CRITICAL_SECTION data type’s object, the __________ function is used. (InitializeCriticalSection())
48. Instead of a critical section, a ________ object is used for coordinating threads within two different processes that
share a resource. (mutex)
49. To create a logical font, the ___________ and _________ functions are used. (CreateFont(), CreateFontIndirect())
50. The LOGFONT structure has ______ fields. (14)
51. The _________ function is used to open common dialog box. (ChooseFont)
|