Skip to content

Fix: bug in creating-an-interrupt-object.md#4022

Merged
Bradben merged 1 commit intoMicrosoftDocs:stagingfrom
frankh0:patch-1
Mar 19, 2026
Merged

Fix: bug in creating-an-interrupt-object.md#4022
Bradben merged 1 commit intoMicrosoftDocs:stagingfrom
frankh0:patch-1

Conversation

@frankh0
Copy link
Contributor

@frankh0 frankh0 commented Mar 6, 2026

The documentation was wrong here. It is not allowed to call WdfDeleteObject for a WDF_INTERRUPT object. This is documented under WdfDeleteObject. It also produces a crash if the WDF verifier is enabled and you call WdfDeleteObject for a WDF_INTERRUPT object.

The documentation was wrong here. It is not allowed to call WdfDeleteObject for a WDF_INTERRUPT object. This is documented under WdfDeleteObject. It also produces a crash if the WDF verifier is enabled and you call WdfDeleteObject for a WDF_INTERRUPT object.
@prmerger-automator
Copy link
Contributor

@frankh0 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. @mhopkins-msft

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit afacf14:

✅ Validation status: passed

File Status Preview URL Details
windows-driver-docs-pr/wdf/creating-an-interrupt-object.md ✅Succeeded

For more details, please refer to the build report.

@ttorble
Copy link
Contributor

ttorble commented Mar 6, 2026

@tedhudek

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Mar 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Corrects WDF documentation to prevent drivers from attempting to manually delete a WDF_INTERRUPT object, aligning the guidance with the WdfObjectDelete contract and verifier behavior.

Changes:

  • Updates the interrupt object lifetime guidance to state that drivers must not call WdfObjectDelete on interrupt objects.
  • Clarifies that the framework deletes the interrupt automatically when its parent is deleted.

@Bradben Bradben assigned Bradben and unassigned tedhudek Mar 19, 2026
@Bradben Bradben merged commit d1c88d2 into MicrosoftDocs:staging Mar 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants