计算机丢失ndfapi.dll6,NdfCancelIncident function (ndfapi.h)

NdfCancelIncident函数用于取消先前在现有事件中调用的不需要的函数。此API主要用于取消如NdfDiagnoseIncident或NdfRepairIncident等函数的调用,当这些操作不再需要时使用该函数可以停止正在进行的诊断或修复过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

NdfCancelIncident function (ndfapi.h)

12/05/2018

2 分鐘後閱讀

在此文章

The NdfCancelIncident function is used to cancel unneeded functions which have been previously called on an existing incident.

Syntax

HRESULT NdfCancelIncident(

NDFHANDLE Handle

);

Parameters

Handle

Type: NDFHANDLE

Handle to the Network Diagnostics Framework incident. This handle should match the handle of an existing incident.

Return value

Type: HRESULT

Possible return values include, but are not limited to, the following.

Return code

Description

S_OK

The operation succeeded.

Any result other than S_OK should be interpreted as an error.

Remarks

Before using this API, an application must call an incident creation function such as NdfCreateWebIncident.

NdfCancelIncident is primarily used to cancel calls to functions such as NdfDiagnoseIncident or NdfRepairIncident which have been previously called, but are no longer needed. When NdfCancelIncident is called, NDF will stop the diagnosis/repair as soon as possible rather than calling the other functions (unless results have already been returned from those functions, in which case NdfCancelIncident will have no effect).

NdfCloseIncident should be used to close an incident once it has been resolved, as NdfCancelIncident does not actually close the incident itself.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Target Platform

Windows

Header

ndfapi.h

Library

Ndfapi.lib

DLL

Ndfapi.dll

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值