MAKEINTRESOURCE
MAKEINTRESOURCE is a macro in the Windows API that converts an integer resource identifier into a pointer that can be used to reference that resource. It is defined in the windows.h header file. This macro is primarily used with functions that access resources, such as LoadIcon, LoadBitmap, LoadCursor, and LoadString.
The purpose of MAKEINTRESOURCE is to provide a consistent way to pass resource identifiers to API functions
When you use MAKEINTRESOURCE with an integer, it effectively casts that integer to a pointer. This is