hmod (HMODULE) - input

      The handle of the module that has the required resource.

      A value of zero means to get the size from the current process. A value other than zero is a module handle that was returned by DosLoadModule.

    idt (ULONG) - input

      The type identifier of the resource.

      Possible values are between 1 and 0xFFFE inclusive. Values from 1 to 255 are reserved for predefinition. Values from 256 and on can be type defined for the resource. The fist 21 values are predefined as follows:

    • RT_POINTER Mouse pointer shape

    • RT_BITMAP
      Bit map

    • RT_MENU
      Menu template

    • RT_DIALOG
      Dialog template

    • RT_STRING
      String tables

    • RT_FONTDIR
      Font directory

    • RT_FONT
      Font

    • RT_ACCELTABLE
      Accelerator tables

    • RT_RCDATA
      Binary data

      10

        RT_MESSAGE
        Error message tables
      11
        RT_DLGINCLUDE
        Dialog include file name
      12
        RT_VKEYTBL
        Key to vkey tables
      13
        RT_KEYTBL
        Key to UGL tables
      14
        RT_CHARTBL
        Glyph to character tables
      15
        RT_DISPLAYINFO
        Screen display information
      16
        RT_FKASHORT
        Function key area short form
      17
        RT_FKALONG
        Function key area long form
      18
        RT_HELPTABLE
        Help table for Help manager
      19
        RT_HELPSUBTABLE
        Help subtable for Help manager
      20
        RT_FDDIR
        DBCS unique/font driver directory
      21
        RT_FD
        DBCS unique/font driver

      idn (ULONG) - input

        The name identifier of the resource.

        Possible values are between 1 and 0xFFFE inclusive.

      pulsize (PULONG) - output

        A pointer to a ULONG in which the size, in bytes, of the resource is returned.

      ulrc (APIRET) - returns

        Return Code.

        DosQueryResourceSize 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]