UINT APIENTRY
mciLoadCommandResource(
HANDLE hInstance,
LPCWSTR lpResName,
UINT wType
);
The mciLoadCommandResource function loads the specified resource and registers it as an MCI command table.
If an error occurs, returns MCI_NO_COMMAND_TABLE. Otherwise, returns a command table index number.
The mciLoadCommandResource function first attempts to locate a file, using the lpResName argument as the filename, with an extension of .mci. If a file is found, the command table is loaded from the file. This file can also contain string resources.
If a file is not found, then lpResName is assumed to be the name of a resource that is linked to the driver.
For more information see Loading and Unloading a Command Table.