Synchronization

DirectPlay does not attempt to provide a general approach for application synchronization; to do so would necessarily impose limitations on the application-communications paradigm. However, the system includes some services that are designed to help you with these tasks. For example, you can specify a notification event when your application creates a player, then use the WaitForSingleObject Win32® function to find out whether a message is pending for that player.