Description: | Passes an MCI command to the MCI driver. |
Used in controls: | MCI |
Used in objects: | None. |
Parameters: | VT_BSTR - MCICommandX(8192) |
Description of Parameters: | The MCI command string. |
Return value: | VT_BSTR - ReturnValueX(8192) The character string returned by the command. |
Example: | WORKING-STORAGE SECTION. 01 MCI-Chk-CD PIC X(28) VALUE "status cdaudio media present". 01 CD-Received PIC X(256). PROCEDURE DIVISION. * This command checks to see if a * CD player is available. "True" * is returned in the CD-Received * parameter if present, otherwise * "False" is returned. INVOKE CmMCI1 "SetMCICommand" USING MCI-Chk-CD RETURNING CD-Received |
Backward compatibility | None. |