XHighContrastGetMode
Returns the current high contrast mode.Syntax
Parameters
mode _Out_Type: XHighContrastMode* The current high contrast mode style.
Return value
Type: HRESULT HRESULT success if mode contains the current XHighContrastMode. Otherwise, returns an error code.For a list of error codes, see Error Codes.
Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
