When EAS calls a server filter's SvrFilterProc, it receives a pointer to a SVRFILTERCONTEXT structure which contains a pointer of pSvrFuncs member. pSvrFuncs provides the following useful functions to filter developers.
IsMatch |
Conditionally compare strings with wildcard characters. |
A2BSTR |
Convert ANSI characters to UNICODE characters by specified code page. |
BSTR2A |
Convert UNICODE characters to ANSI characters by specified code page. |
EncodeHex |
Encode NON-ANSI characters to specified string. |
DecodeHex |
Decode characters encoded by EncodeHex function. |
StrTrim |
Trim specified leading and trailing characters from the string. |