hmod (HMODULE) - input
A value of zero means to get the address from the current process. A value other than zero is a module handle that was returned by DosLoadModule.
idType (ULONG) - input
This value must be in the range of 0x0000 to 0xFFFF.
idName (ULONG) - input
This value must be in the range of 0x0000 to 0xFFFF.
ppb (PPVOID) - output
ulrc (APIRET) - returns
DosGetResource returns one of the following values: