Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.PInvoke.RECT Struct Reference

Win32 More...

Collaboration diagram for VolumeControl.WPF.PInvoke.RECT:

Public Member Functions

 RECT (int left, int top, int right, int bottom)
 Win32 More...
 
 RECT (RECT rcSrc)
 Win32 More...
 
override string ToString ()
 Return a user friendly representation of this struct More...
 
override bool Equals (object? obj)
 Determine if 2 RECT are equal (deep compare) More...
 
override int GetHashCode ()
 Return the HashCode for this struct (not garanteed to be unique) More...
 

Static Public Member Functions

static bool operator== (RECT rect1, RECT rect2)
 Determine if 2 RECT are equal (deep compare) More...
 
static bool operator!= (RECT rect1, RECT rect2)
 Determine if 2 RECT are different(deep compare) More...
 

Public Attributes

int left
 Win32 More...
 
int top
 Win32 More...
 
int right
 Win32 More...
 
int bottom
 Win32 More...
 

Static Public Attributes

static readonly RECT Empty = new()
 Win32 More...
 

Properties

int Width [get]
 Win32 More...
 
int Height [get]
 Win32 More...
 
bool IsEmpty [get]
 Win32 More...
 

Detailed Description

Win32

Constructor & Destructor Documentation

◆ RECT() [1/2]

VolumeControl.WPF.PInvoke.RECT.RECT ( int  left,
int  top,
int  right,
int  bottom 
)

◆ RECT() [2/2]

Member Function Documentation

◆ Equals()

override bool VolumeControl.WPF.PInvoke.RECT.Equals ( object?  obj)

Determine if 2 RECT are equal (deep compare)

◆ GetHashCode()

override int VolumeControl.WPF.PInvoke.RECT.GetHashCode ( )

Return the HashCode for this struct (not garanteed to be unique)

◆ operator!=()

static bool VolumeControl.WPF.PInvoke.RECT.operator!= ( RECT  rect1,
RECT  rect2 
)
static

Determine if 2 RECT are different(deep compare)

◆ operator==()

static bool VolumeControl.WPF.PInvoke.RECT.operator== ( RECT  rect1,
RECT  rect2 
)
static

Determine if 2 RECT are equal (deep compare)

◆ ToString()

override string VolumeControl.WPF.PInvoke.RECT.ToString ( )

Return a user friendly representation of this struct

Member Data Documentation

◆ bottom

int VolumeControl.WPF.PInvoke.RECT.bottom

◆ Empty

readonly RECT VolumeControl.WPF.PInvoke.RECT.Empty = new()
static

Win32

◆ left

int VolumeControl.WPF.PInvoke.RECT.left

◆ right

int VolumeControl.WPF.PInvoke.RECT.right

◆ top

int VolumeControl.WPF.PInvoke.RECT.top

Property Documentation

◆ Height

int VolumeControl.WPF.PInvoke.RECT.Height
get

Win32

◆ IsEmpty

bool VolumeControl.WPF.PInvoke.RECT.IsEmpty
get

Win32

◆ Width

int VolumeControl.WPF.PInvoke.RECT.Width
get

Win32


The documentation for this struct was generated from the following file: