nativemethods

Input Values for Nativemethods.GetSystemMetrics Function in .Net

This function appears to be a way to access all sorts of system values. For example nativemethods.GetSystemMetrics(4096) returns whether a session is remote or local. All I can find on the web are specific examples--does anyone know where I could find a complete list of input parameter values/what they return? Seems that it could be v...

Is the class NativeMethods handled specially in .NET?

http://msdn.microsoft.com/en-us/library/ms182161%28VS.80%29.aspx Are the three classes described on this paged handled specially in the .NET Framework? (NativeMethods, SafeNativeMethods and UnsafeNativeMethods) The reason I'm asking is I'm wondering if it is alright to create categories of NativeMethods classes. For example: ComNati...