LRESULT
MAKEMCIRESOURCE(
WORD wReturn,
WORD wResource
);
The MAKEMCIRESOURCE macro concatenates two word values to create a longword value. Its purpose is to create a longword value that contains both a constant value and a resource ID.
Parameters
wReturn
Specifies the constant value.
wResource
Specifies the resource ID.
Return Value
Returns the longword result of the concatenation.
Comments
The MAKEMCIRESOURCE macro is used for constructing a longword value that can be returned in a command structure's dwReturn member. Structures for the MCI_GETDEVCAPS and MCI_STATUS commands contain this member. Extended commands can also include this structure member. The MAKEMICRESOURCE macro is used in combination with the MCI_RESOURCE_RETURNED and MCI_RESOURCE_DRIVER return values for DriverProc. See Returning Information to Applications.