DEV_QUERY_STATE enumeration (devquerydef.h)

Specifies the state of the query associated with a DEV_QUERY_RESULT_ACTION_DATA structure.

Syntax

typedef enum _DEV_QUERY_STATE {
  DevQueryStateInitialized,
  DevQueryStateEnumCompleted,
  DevQueryStateAborted,
  DevQueryStateClosed
} DEV_QUERY_STATE, *PDEV_QUERY_STATE;

Constants

 
DevQueryStateInitialized
The initial state of a query.
DevQueryStateEnumCompleted
The initial enumeration of objects based on the current state of the system is complete. If DevQueryFlagUpdateResults was specified during query creation, then further callbacks may happen as the state of the system changes. However, if DevQueryFlagUpdateResults was not specified during query creation, then this is the last callback, except for DevQueryStateClosed if DevQueryFlagAsyncClose was specified during query creation.
DevQueryStateAborted
An out-of-resource error has occurred, and a notification could not be delivered. No further callbacks will occur. The client must close the query and create a new query to recover from this situation.
DevQueryStateClosed
This state change only occurs when DevQueryFlagAsyncClose is specified during query creation. It indicates that closing the query has been completed. No further callbacks will occur.

Requirements

Requirement Value
Header devquerydef.h