नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Creates a new instance of a IQueryParser interface implementation. This instance of the query parser is loaded with the schema for the specified catalog and is localized to a specified language. All other settings are initialized to default settings.
Syntax
HRESULT CreateLoadedParser(
[in] LPCWSTR pszCatalog,
[in] LANGID langidForKeywords,
[in] REFIID riid,
[out, retval] void **ppQueryParser
);
Parameters
[in] pszCatalog
Type: LPCWSTR
The name of the catalog to use. Permitted values are SystemIndex and an empty string (for a trivial schema with no properties).
[in] langidForKeywords
Type: LANGID
The LANGID used to select the localized language for keywords.
[in] riid
Type: REFIID
The IID of the IQueryParser interface implementation.
[out, retval] ppQueryParser
Type: void**
Receives a pointer to the newly created parser. The calling application must release it by calling its IUnknown::Release method.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If %LOCALAPPDATA% is not available, then this method fails. You should call IQueryParserManager::SetOption to point to a different folder like %ProgramData%.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
| Target Platform | Windows |
| Header | structuredquery.h |
| Redistributable | Windows Desktop Search (WDS) 3.0 |