Platform SDK: DirectX

IDirectPlay4 Interface

[Visual Basic]

This topic applies only to applications written in C++.

[C++]

The IDirectPlay4 interface is the only interface you need for creating network applications that do not provide or require lobby services.

Dplay.h includes previous versions of this interface. These are included for compatibility with applications written for previous versions of DirectX.

Although you could use any of these obsolete interfaces to create new applications, it is recommended that you use the newer IDirectPlay4 interface to take advantage of its increased functionality. It directly inherits from IDirectPlay3, so any code written for IDirectPlay3 will work with IDirectPlay4 with no modification. For more information, see Migrating from Previous Versions of DirectX.