static extern bool InvertRect(IntPtr hDC, [In] ref RECT lprc);
Public Declare Function InvertRect Lib "user32" Alias "InvertRect" (ByVal hdc As Integer, <MarshalAs(UnmanagedType.Struct)> ByRef lpRect As RECT) As Integer
InvertRect(hdc.ToInt32, loSelected)