IRTCUserSearchQuery::SearchDomain (Windows CE 5.0)
This method sets or gets the domain for a user search.
HRESULT put_SearchDomain( BSTR bstrDomain);HRESULT get_SearchDomain( BSTR* pbstrDomain);
Parameters
- bstrDomain, pbstrDomain
[in, out] The domain for the user search. On output, this parameter is a pointer to a BSTR that will be filled with the domain for the user search. The method allocates the buffer. The caller is responsible for releasing this memory with SysFreeString. If the value for the output parameter is NULL, the domain specified in the associated profile is used.
Return Values
This method can return an RTC_E_ constant. The following table shows additional return values and additional information about a specific return value.
Value | Meaning |
---|---|
E_INVALIDARG | The pbstrDomain string is empty. |
E_POINTER | The pbstrDomain parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
RTC_E_NOT_EXIST | The requested domain has not been set for this query. |
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCUserSearchQuery | SysFreeString
Send Feedback on this topic to the authors