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:eventsys.IEventControl.SetDefaultQuery |
IEventControl::SetDefaultQuery (eventsys.h) |
Sets the default query to determine subscribers. |
|
cos\ieventcontrol_setdefaultquery.htm |
cos |
ea0cc4b8-e345-44bc-969e-f35f25b641f9 |
12/05/2018 |
IEventControl interface [COM+],SetDefaultQuery method, IEventControl.SetDefaultQuery, IEventControl::SetDefaultQuery, SetDefaultQuery, SetDefaultQuery method [COM+], SetDefaultQuery method [COM+],IEventControl interface, _cos_IEventControl_SetDefaultQuery, cos.ieventcontrol_setdefaultquery, eventsys/IEventControl::SetDefaultQuery |
eventsys.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Eventsys.idl |
Windows |
19H1 |
|
|
|
|
|
|
Sets the default query to determine subscribers.
The name of the method to which the default query is assigned.
The query criteria. This parameter cannot be NULL. For details on forming a valid expression for this parameter, see the Remarks section below.
The location, expressed as an offset, of an error in the criteria parameter.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The query criteria specified by the criteria parameter can be "ALL", to specify a request for all subscription objects, or a Boolean expression denoting one or more conditions a subscription object must meet to be included in the query result. Valid expressions are of the following form:
[NOT] propertynamerelationalOperatorvalue. Valid relational operators are as follows:
==, =, !=, <>, ~=. Valid values are "string", 'string', {GUID}, TRUE, FALSE, NULL.
Individual Boolean expressions can be joined with AND or OR. Expressions can be nested in parentheses to enforce a specific order of evaluation.
Following are some examples of valid query criteria:
"EventClassID == {F89859D1-6565-11D1-88C8-0080C7D771BF}"
"EventClassID == {F89859D1-6565-11D1-88C8-0080C7D771BF} AND MethodName = 'StockPriceChange'"