hmod (HMODULE) - input

      Handle of module that has the required resource.

      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

      The type identifier of the 32-bit resource.

      This value must be in the range of 0x0000 to 0xFFFF.

    idName (ULONG) - input

      The name identifier of the 32-bit resource.

      This value must be in the range of 0x0000 to 0xFFFF.

    ppb (PPVOID) - output

      A pointer to the resource.

    ulrc (APIRET) - returns

      Return Code.

      DosGetResource returns one of the following values:

    • NO_ERROR 6
        ERROR_INVALID_HANDLE
      87
        ERROR_INVALID_PARAMETER
      For a full list of error codes, see Errors.


    [Back] [Next]