|Microsoft DirectX 9.0|
When writing a DVD application, you supply the code for the user interface, and call into the Microsoft® DirectShow® application programming interface (API) to issue all DVD playback and navigation commands. This involves calling the Component Object Model (COM) CoCreateInstance method on the DVD Graph Builder object, which does the actual work of creating the DVD filter graph. After the filter graph is created, you can obtain pointers to the IDvdControl2 and IDvdInfo2 interfaces exposed by the DVD Navigator source filter. After you have the interface pointers, you can connect your user interface to the DVD navigation commands such as PlayTitle, Pause, and so on. This basic process is quite simple and is similar to the creation of other types of DirectShow applications.