The arguments of the WinMain() function are mandatory and it is required that they communicate with:
A. | Operating System |
B. | Hardware |
C. | Kernel |
D. | None of these |
Option: A Explanation : Click on Discuss to view users comments. |
The Win32 library provides two classes for creating the main window. These are
A. | WNDCLASS and WNDCLASSX |
B. | WINBASE and WINNT |
C. | WINMAIN and WINCLASS |
D. | None of these |
Option: A Explanation : Click on Discuss to view users comments. |
Win32Program utilizes a central function for creating Windows called
A. | Main |
B. | App |
C. | WinMain |
D. | None of these |
Option: C Explanation : Click on Discuss to view users comments. |
A. | WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) |
B. | INT WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ); |
C. | INT WINAPI WinMain (HINSTANCE hInstance HINSTANCE hPrevInstance, LPSTR lpCmdLine, real nCmdShow ); |
D. | None of these |
Option: B Explanation : Click on Discuss to view users comments. |
Choose the incorrect statement wrt to Winmain syntax
a) The first argument, hInstance, is a handle to the instance of the program you are writing.
b) The second argument, hPrevInstance, is used if your program had any previous instance. This argument can not be ignored.
c) The third argument, lpCmdLine, is a string that represents all items used on the command line to compile the application.
d) The last argument, nCmdShow, controls how the window you are building will be displayed.
A. | a |
B. | b |
C. | c |
D. | d |
Option: B Explanation : The second argument, hPrevInstance, is used if your program had any previous instance. If not, this argument can be ignored, which will always be the case. Click on Discuss to view users comments. |
Syllabus covered in this section is-
This Section covers WINDOWS PROGRAMMING Questions Answers .These questions can be used for the preparation of various competitive and academic exams like
Who can benefit
Various Search Terms Used For This Section Are