DevCloseObjectQuery function (devquery.h)

Closes a device query handle.

Syntax

void DevCloseObjectQuery(
  [in] HDEVQUERY hDevQuery
);

Parameters

[in] hDevQuery

A query handle returned from one of the query creation APIs such as DevCreateObjectQuery.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10 version 1809
Minimum supported server Windows Server 2019
Header devquery.h
Library onecore.lib
DLL Cfgmgr32.dll