Chapter 4. Plug-and-Play and Power Management Functions

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() function, which appears in the sequence below, is optional).

It is recommended to use the high-level WDC_EventRegister() and WDC_EventUnregister() Plug-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

Plug-and-Play Calling Sequence