IMAPIControl::GetState
Office 2013
Published: July 16, 2012
Retrieves a value that indicates whether the button control is enabled or disabled.
HRESULT GetState( ULONG ulFlags, ULONG FAR * lpulState );
Service providers implement the IMAPIControl::GetState method to provide MAPI with the state of a button control. If the button is enabled, it can respond to a mouse click or key press. If it is disabled, the button appears dimmed and does not respond to a mouse click or key press.
For more information about how to implement GetState and the other IMAPIControl : IUnknown methods, see Control Object Implementation.