Retrieve system performance information and perform software tracing.
#define INCL_BASE
#include <os2.h>
ULONG ulCommand; /* Command */
ULONG ulParm1; /* Command specific parameter 1 */
ULONG ulParm2; /* Command specific parameter 2 */
ULONG ulParm3; /* Command specific parameter 3 */
APIRET ulrc; /* Return Code. */
ulrc = DosPerfSysCall(ulCommand, ulParm1,
ulParm2, ulParm3);