wdext 0.1.0

A DbgEng wrapper framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: 2026 takubokudori
// SPDX-License-Identifier: MIT OR Apache-2.0
use crate::{
    dbgeng::WinResult, dbgmodel::DebugHostModule, impl_debug_interface,
};
use windows::Win32::System::Diagnostics::Debug::Extensions::IDebugHostModuleSignature;

impl_debug_interface!(
    DebugHostModuleSignature,
    DebugHostModuleSignatureRef,
    IDebugHostModuleSignature
);

impl DebugHostModuleSignature {
    pub fn is_match(&self, module: &DebugHostModule) -> WinResult<bool> {
        unsafe { self.0.IsMatch(module.as_raw()) }
    }
}