mpiControlVersionText

Declaration

MPI_RESULT
   mpiControlVersionText(MPIControl    control,
                         const char    **versionText);

 

Required Header: Control.h

Change History: Added in 04.00.

Description

mpiControlVersionText reads the versions from the driver, controller, MPI and writes the string into the address pointed to by versionText. The version.exe utility program uses mpiControlVersionText function to display the software versions.

control A handle to a control object.
**versionText A pointer to a version text string
Return Values
MPIMessageOK
MPIControlMessageOBJECT_INVALID

Sample Code

const char      *versionText = 0;

/* Display version information */ returnValue = mpiControlVersionText(control, &versionText);
if (versionText != 0) { mpiPlatformConsole("%s\n", versionText); }
if (returnValue == MPIMessageOK) { returnValue = mpiControlVersionTextFree(&versionText); }

See Also

mpiControlVersionTextFree