This call returns the far address of the specified resource.
DosGetResource2
ModHandle (HMODULE) - input
Value
A resource is read-only data generated by the Resource Compiler that can be accessed dynamically at run time. The access key consists of two 16-bit numbers, the first of which is a type ID and the second, a name ID. These numbers are similar in concept to the file extension and file name portions of a file name.
The advantage of a resource is that it can be bundled into an application's executable file, so a single file contains all of the code and data for an application.
Resource segments obtained through DosGetResource2 should only be freed using DosFreeResource.