Share via


Query-Execution Values

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Values 0xHHHH1600 to 0xHHHH164F are query return values produced when resolving a query string against the set of indexes in a catalog. The following table gives the query-execution values in alphabetical order.

Constant/value Description
QUERY_E_ALLNOISE
0x80041605
The query contained only ignored words.
QUERY_E_DIR_ON_REMOVABLE_DRIVE
0x8004160B
Specified directory is on a removable medium.
QUERY_E_DUPLICATE_OUTPUT_COLUMN
0x80041608
One or more columns in the output column list is a duplicate.
QUERY_E_FAILED
0x80041600
Call failed for unknown reason.
QUERY_E_INVALID_DIRECTORY
0x8004160A
Invalid directory name.
QUERY_E_INVALID_OUTPUT_COLUMN
0x80041609
One or more columns in the output column list is not valid.
QUERY_E_INVALIDCATEGORIZE
0x80041604
An invalid categorization order was requested.
QUERY_E_INVALIDQUERY
0x80041601
Invalid parameter.
QUERY_E_INVALIDRESTRICTION
0x80041602
The query restriction could not be parsed.
QUERY_E_INVALIDSORT
0x80041603
An invalid sort order was requested.
QUERY_E_TIMEDOUT
0x80041607
The query exceeded its execution time limit.
QUERY_E_TOOCOMPLEX
0x80041606
The query was too complex to be executed.
QUERY_S_NO_QUERY
0x8004160C
The catalog is in a state where indexing continues, but queries are not allowed.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
Header
Cierror.h