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.
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.
 
                                       -♦-