OS/2 Resources API Differences

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

DosGetResource

APIRET APIENTRY DosGetResource(HMODULE hmod, ULONG idType, ULONG idName,
                               PPVOID ppb);

DosFreeResource

APIRET APIENTRY DosFreeResource(PVOID pb);

DosQueryResourceSize

APIRET APIENTRY DosQueryResourceSize(HMODULE hmod, ULONG idt, ULONG idn,
                                     PULONG pulsize);