SystemParametersInfo to Ccharp

  • Thread starter Thread starter john doe
  • Start date Start date
I need the csharp (C#) function for this API function:

SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0);

Or must I pInvoke this (also)?

My biggest problem with C# is to find the C# function for API functions?
Is there any help for this available anywhere?

I believe System.Windows.Forms.Screen.WorkingArea will get you what you
want. See
http://msdn.microsoft.com/library/e...ndowsFormsScreenClassGetWorkingAreaTopic3.asp
for more info.

There are also several overloads of
System.Windows.Forms.Screen.GetWorkingArea to return the working area based
on the object that is passed in. See
http://msdn.microsoft.com/library/e...indowsformsscreenclassgetworkingareatopic.asp
for additional info on that.
 
I need the csharp (C#) function for this API function:

SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0);

Or must I pInvoke this (also)?

My biggest problem with C# is to find the C# function for API functions?
Is there any help for this available anywhere?
 
Back
Top