Multiple choice technology programming languages

Which of the following Data type is used to Return value by window procedure?

  1. LPVOID

  2. LPCSTR

  3. BOOL

  4. LRESULT

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

LRESULT is the data type used for return values from window procedures in Win32 API. It's designed to handle the various return values needed by window procedures, including handles, boolean values, and other status codes. LPVOID, LPCSTR, and BOOL are not appropriate return types for window procedures.