Skip to content

Latest commit

 

History

History
104 lines (85 loc) · 4.13 KB

nf-functiondiscoveryprovider-ifunctiondiscoveryprovider-endquery.md

File metadata and controls

104 lines (85 loc) · 4.13 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:functiondiscoveryprovider.IFunctionDiscoveryProvider.EndQuery
IFunctionDiscoveryProvider::EndQuery (functiondiscoveryprovider.h)
Terminates a query being executed by a provider.
EndQuery
EndQuery method
EndQuery method
IFunctionDiscoveryProvider interface
IFunctionDiscoveryProvider interface
EndQuery method
IFunctionDiscoveryProvider.EndQuery
IFunctionDiscoveryProvider::EndQuery
functiondiscoveryprovider/IFunctionDiscoveryProvider::EndQuery
ncd.ifunctiondiscoveryprovider_endquery_method
ncd\ifunctiondiscoveryprovider_endquery_method.htm
ncd
be19f2ac-037c-443b-b36f-68b9c9f132f8
12/05/2018
EndQuery, EndQuery method, EndQuery method,IFunctionDiscoveryProvider interface, IFunctionDiscoveryProvider interface,EndQuery method, IFunctionDiscoveryProvider.EndQuery, IFunctionDiscoveryProvider::EndQuery, functiondiscoveryprovider/IFunctionDiscoveryProvider::EndQuery, ncd.ifunctiondiscoveryprovider_endquery_method
functiondiscoveryprovider.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
FunctionDiscoveryProvider.idl
Windows
19H1
IFunctionDiscoveryProvider::EndQuery
functiondiscoveryprovider/IFunctionDiscoveryProvider::EndQuery
c++
APIRef
kbSyntax
COM
FunctionDiscoveryProvider.h
IFunctionDiscoveryProvider.EndQuery

IFunctionDiscoveryProvider::EndQuery

-description

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Terminates a query being executed by a provider.

-returns

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

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
One of the parameters contains an invalid argument.

-remarks

This method is called by Function Discovery to indicate to a provider that no further query notifications will be sent to the IFunctionDiscoveryNotification callback interface. Implementers should try to ensure that no further query notifications are sent to Function Discovery after the call to EndQuery returns. If a provider implementation sends a notification after EndQuery returns, Function Discovery returns an error to the provider and the notification is not forwarded to the client.

EndQuery is only called when a client passed an IFunctionDiscoveryNotification interface passed to the provider's Initialize method.

Any data structures associated with the query can be deleted in the implementation of EndQuery. Any private context memory allocated by the Query method should also be deleted.

Note that Query can be invoked again once EndQuery has returned.

-see-also

IFunctionDiscoveryProvider