Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
mciLoadCommandResource
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
mciLoadCommandResource
 
        UINT WINAPI mciLoadCommandResource(hInstance, lpResName, uType)
 
        Registers the indicated resource as an MCI command table and
        builds a command table index. If a file with the resource name
        and the extension '.mci' is found in the path then the resource
        is taken from that file.
 
Parameters
        HANDLE hInstance
            Specifies a handle to 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 table type. Custom device specific tables MUST
            give a type of 0.
 
Return value
        Returns the command table index number that was assigned or -1
        on error.
 
                                       -♦-