Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/12/2014
This method adds a logical AND clause with a BSTR property (specified as a WCHAR) type to the query string.
Syntax
HRESULT AndSTRING(
ULONG propertyID,
MLOperatorType operatorType,
WCHAR *pwchValue,
ULONG cchValue
);
Parameters
- propertyID
[in] ID of the property that the query evaluates.
- operatorType
[in] Member of the MLOperatorType enumeration that specifies how the query evaluates the property.
- pwchValue
[in] Pointer to the value against which the query evaluates the property.
- cchValue
[in] Number of bytes in the pwchValue array.
Return Values
Returns the HRESULT values shown in the following table.
| Value | Description |
|---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_POINTER |
The pwchValue parameter is invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |