Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

POINT_TYPE Struct - Windows API

RSS
Modified on Fri, Jan 16, 2009, 1:58 PM by Administrator Categorized as 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;
	}
}

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.