Windows Media Player 11 SDK WMPCD Protocol
Previous | Next |
WMPCD Protocol
The WMPCD protocol enables you to specify tracks on a compact disc using URL syntax. This is the general syntax of the protocol:
wmpcd://drive/track
The drive segment is the index of the CD drive. The track segment is the number of the track. The following example demonstrates using the WMPCD protocol.
player.url = "wmpcd://0/4";
The example plays the fourth track on the disc in the first CD drive (the drive whose index is 0).
See Also
Previous | Next |