IMultipleViewProvider::GetViewName Method
Retrieves the name of a control-specific view.
Syntax
HRESULT GetViewName( int viewId, BSTR *pRetVal );
Parameters
- viewId
[in] A view identifier.- pRetVal
[out, retval] The address of a BSTR that receives a localized name for the view. This parameter is passed uninitialized.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
View identifiers can be retrieved by using IMultipleViewProvider::GetSupportedViews.
The collection of view identifiers must be identical across instances.
View names must be suitable for use in text-to-speech, Braille, and other accessible applications.
See Also