Skip to content

Latest commit

 

History

History
145 lines (125 loc) · 3.16 KB

nf-ndhelper-inetdiaghelper-setlifetime.md

File metadata and controls

145 lines (125 loc) · 3.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ndhelper.INetDiagHelper.SetLifeTime
INetDiagHelper::SetLifeTime (ndhelper.h)
The Helper Class Extension can limit its diagnosis to events within that time period.
INetDiagHelper interface [NDF]
SetLifeTime method
INetDiagHelper.SetLifeTime
INetDiagHelper::SetLifeTime
SetLifeTime
SetLifeTime method [NDF]
SetLifeTime method [NDF]
INetDiagHelper interface
ndf.inetdiaghelpe_setlifetime
ndhelper/INetDiagHelper::SetLifeTime
ndf\inetdiaghelpe_setlifetime.htm
NDF
a211c885-364f-4ba5-a4c9-88a87b30cdc7
12/05/2018
INetDiagHelper interface [NDF],SetLifeTime method, INetDiagHelper.SetLifeTime, INetDiagHelper::SetLifeTime, SetLifeTime, SetLifeTime method [NDF], SetLifeTime method [NDF],INetDiagHelper interface, ndf.inetdiaghelpe_setlifetime, ndhelper/INetDiagHelper::SetLifeTime
ndhelper.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
INetDiagHelper::SetLifeTime
ndhelper/INetDiagHelper::SetLifeTime
c++
APIRef
kbSyntax
COM
ndhelper.h
INetDiagHelper.SetLifeTime

INetDiagHelper::SetLifeTime

-description

The SetLifeTime method is called by NDF to set the start and end time of interest to diagnostics so that the Helper Class Extension can limit its diagnosis to events within that time period.

-parameters

-param lifeTime [in]

A LIFE_TIME structure.

-returns

Return code Description
S_OK
The operation succeeded.
E_OUTOFMEMORY
There is not enough memory available to complete this operation.
E_INVALIDARG
One or more parameters has not been provided correctly.
E_NOTIMPL
This optional method is not implemented.
E_ACCESSDENIED
The caller does not have sufficient privileges to perform the diagnosis or repair operation.
E_ABORT
The diagnosis or repair operation has been canceled.
 

Helper Class Extensions may return HRESULTS that are specific to the failures encountered in the function.

-remarks

This method is not required when building a Helper Class Extension.

-see-also

INetDiagHelper