UINT WINAPI mciLoadCommandResource(hInstance, lpResName, uType)
This function registers the indicated resource as an MCI command table. If a file with the resource name and the extension “.mci” is found in the path then the resource is taken from that file.
HANDLE hInstance
The instance of the module whose executable file contains the resource. This parameter is ignored if an external file is found.
LPCSTR lpResName
Specifies the name of the resource.
UINT uType
Specifies the device type. Custom device specific tables MUST give a type of 0.
Returns the command table index number that was assigned or MCI_NO_COMMAND_TABLE on error.