SDK/Everything GetSearch
From Wiki
< SDK
Everything_GetSearch
The Everything_GetSearch function retrieves the search text to use for the next call to Everything_Query.
Syntax
LPCTSTR Everything_GetSearch( void );
Return Value
- The return value is a pointer to the null terminated search string.
- The unicode and ansi version must match the call to Everything_SetSearch.
- The function will fail if you call Everything_GetSearchA after a call to Everything_SetSearchW
- The function will fail if you call Everything_GetSearchW after a call to Everything_SetSearchA
- If the function fails, the return value is NULL.
- To get extended error information, call Everything_GetLastError.
Error code Meaning EVERYTHING_ERROR_INVALIDCALL Mismatched unicode / ansi call.
Remarks
- Get the internal state of the search text.
- The default string is an empty string.
Example
LPCTSTR lpSearchString = Everything_GetSearch();
Function Information
DLL Requires Everything.dll Header Declared in Everything.h, include Everything.h Library Link to Everything.lib Unicode Implemented as Everything_GetSearchW (Unicode) and Everything_GetSearchA (ANSI).
See Also
