警告
IoGetDriverProxyEndpointWrapper 仅在 Driver Hot-Swap V1 中可用,在 Driver Hot-Swap V2 中不受支持。 新驱动程序应改为将 Driver Hot-Swap V2 与 IoGetDriverProxyWrapperFromEndpoint 配合使用。
IoGetDriverProxyEndpointWrapper 函数使用 Driver Hot-Swap V1 实现中的函数 ID 获取终结点函数包装器的指针。
Syntax
PDRIVER_PROXY_WRAPPED_ENDPOINT_FUNCTION IoGetDriverProxyEndpointWrapper(
PDRIVER_PROXY_EXTENSION DriverProxyExtension,
DRIVER_PROXY_ENDPOINT_FUNCTION_ID FunctionId
);
参数
DriverProxyExtension
[in]指向包含已注册终结点的 DriverProxy 扩展的指针。
FunctionId
[in]要搜索的终结点函数的函数 ID。 这是用于标识终结点函数的弃用机制。
返回值
IoGetDriverProxyEndpointWrapper 返回指向终结点包装函数的指针,如果未找到指定的函数 ID,则返回 NULL。
注解
此函数仅在 Driver Hot-Swap V1 中可用,在 Driver Hot-Swap V2 中不受支持。 新驱动程序应改为将 Driver Hot-Swap V2 与 IoGetDriverProxyWrapperFromEndpoint 配合使用。
函数 ID 方法在原始驱动程序 Hot-Swap 实现中使用,但不是当前 Driver Hot-Swap V2 系统的一部分。
要求
| Requirement | 价值 |
|---|---|
| 目标平台 | 普遍 |
| Header | wdm.h |
| Library | NtosKrnl.lib |
| IRQL | 任何级别 |