IDriverEntry interface (wudfddi.h)
[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.
Inheritance
The IDriverEntry interface inherits from the IUnknown interface. IDriverEntry also has these types of members:
- Methods
Methods
The IDriverEntry interface has these methods.
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wudfddi.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for