next up previous contents
Next: 4.2 PciEventCreate() Up: 4. Plug and Play Previous: 4. Plug and Play   Contents


4.1 Calling Sequence

The following is a typical calling sequence of the WinDriver API, used for handling Plug and Play and power management events. (Note: the use of the PciEventCreate()/PcmciaEventCreate() functions, which appear in the sequence below, is optional).

****************************************************************************************
  NOTE
  It is recommended to use the high-level WDC_EventRegister() and WDC_EventUnregister() Play and Play and power management APIs (see the WinDriver PCI Manual), instead of using the low-level APIs described in this chapter.
****************************************************************************************

Figure 4.1: Plug and Play Calling Sequence
Image pnp_calling_sequence