The following describes the implementation differences between the OS2Linux library and the real OS/2 resources APIs.
These APIs are included in your application by including the following definition in your application source file.
#define INCL_DOSRESOURCES
APIRET APIENTRY DosGetResource(HMODULE hmod, ULONG idType, ULONG idName, PPVOID ppb);
APIRET APIENTRY DosFreeResource(PVOID pb);
APIRET APIENTRY DosQueryResourceSize(HMODULE hmod, ULONG idt, ULONG idn, PULONG pulsize);