POINT_TYPE Struct - Windows API

Purpose



Declaration

C#

struct POINT_TYPE
{
	public int X;
	public int Y;

	/* The only purpose of this method is to avoid getting a compiler warning stating that 
	 * that X and Y are never used and will always have their default value of zero.
	 */
	private void DoSomething()
	{
	    X = Y = 0;
	}
}