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. |