The GetRoleText function retrieves the localized string that describes an object's role for the specified role value.
[DllImport("oleacc.dll")]
public static extern uint GetRoleText( uint dwRole, [Out] StringBuilder lpszRole, uint cchRoleMax);
<DllImport("oleacc.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function GetRoleText(ByVal role As Integer, ByVal outRole As StringBuilder, ByVal outRoleSize As Integer) As Integer
End Function
None.
None.
Please add some!
Please add some!
The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a SystemAccessibleObject class to access accessible objects and handle accessible events.