## Using Your DDK

[prev][next][parent][TOC]

### AP2/P2STRING Script Processing Tool

Tool Description:

AP2/P2STRING is a script processing tool. It is used to test media control interface string commands in the Multimedia Presentation Manager/2 (MMPM/2) environment.

AUTO P2STRING (AP2) is a user friendly PM front end to P2STRING with a complete set of test scripts for the audio and video device driver. AP2 queries the device driver, by using the capability MCI String Command, to determine the functions the driver supports. The queried information is used to create a list of test scripts supported by the default device driver and to give the user the option of running any combination of the supported scripts.

AP2 is the easiest and most complete automated method of testing the audio and video device driver. AP2 now supports Software Motion Video (SMV) and a complete set of SMV test cases.

P2STRING is an extremely powerful test engine that can stress test your multimedia subsystem. You can use the P2STRING tool to test audio and video devices without the AP2 front end. The P2STRING tool processes script files (containing string commands and tool directives) to test low-level components at Ring-3 level. This tool uses the mciSendString function to process string commands extracted from the script files. P2STRING comes with a set of predefined scripts (test suites) to test audio and video functions.

Files Provided in DDK:

         MCI API Test Tool:
         Directory:  \DDK\TESTCERT\MMEDIA\SYSTEM\AP2

         o  P2S_DLL.DLL
         o  P2STRING.EXE
         o  AP2.EXE

         AP2/P2STRING Data files:
         Directory:  \DDK\TESTCERT\MMEDIA\SYSTEM\AP2\DATA

         Approximately 74 data files are contained in this directory.

         AP2/P2STRING Test scripts:
         Directory:  \DDK\TESTCERT\MMEDIA\SYSTEM\AP2\SCRIPTS

         Approximately 605 test script files are contained in this directory.