IDriverEntry interface

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IDriverEntry interface exposes the user-mode driver's main entry and exit points.

Methods

The IDriverEntry interface has these methods.

Method Description
IDriverEntry::OnDeinitialize The OnDeinitialize method performs any operations that are necessary before a system unloads a driver.
IDriverEntry::OnDeviceAdd The OnDeviceAdd method adds a new device to a system.
IDriverEntry::OnInitialize The OnInitialize method performs any operations that are necessary to initialize a driver.

Requirements

   
Target Platform Windows
Header wudfddi.h