GetStateText (oleacc)
Last changed: xpillons-213.199.128.156

.
Summary

The GetStateText function retrieves a localized string that describes an object's state for a single predefined state bit flag. Because state values are a combination of one or more bit flags, clients call this function more than once to retrieve all the state strings.

C# Signature:

[DllImport("oleacc.dll")]
public static extern uint GetStateText( uint dwStateBit, [Out] StringBuilder lpszStateBit, uint cchStateBitMax );

VB .NET Signature:

Declare Function GetStateText Lib "oleacc.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a SystemAccessibleObject class to access accessible objects and handle accessible events.

Documentation