Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MAKEMCIRESOURCE
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
MAKEMCIRESOURCE
 
Syntax
        DWORD MAKEMCIRESOURCE(wReturn, wResource)
 
        This macro creates an unsigned long integer by concatenating the
        integer values specified by the wReturn and wResourceD parameters.
 
Parameters
        WORD wReturn
            Specifies the low-order word of the new long value.
 
        WORD wResource
            Specifies the high-order word of the new long value.
 
Return Value
        Specifies an unsigned long-integer value.
 
Comments
        When you use an MCI data structure to return integer information
        that also has a string equivalent, MCI needs additional information
        to find the string equivalent in the resource table. The high-order
        word of the return field is set to the resource string ID. The
        low-order word of the return field is set to the return value. The
        MAKEMCIRESOURCE macro will combine these values for the
        DWORD return value used in the data structure.
 
                                       -♦-