@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetClassInfoEx API !!!!C# Signature: [DllImport("user32.dll", SetLastError = true)] static extern Boolean GetClassInfoEx(IntPtr hInstance, String lpClassName, ref WNDCLASSEX lpWndClass); !!!!VB.NET Signature: <DllImport("user32", SetLastError:=True)> _ Private Shared Function GetClassInfoEx(hInstance As IntPtr, lpClassName As String, ByRef lpWndClass As WNDCLASSEX) As Boolean End Function !!!!User-Defined Types: None. !!!!Notes: Be sure to set cbSize member of Structures.[WNDCLASSEX] structure before calling the GetClassInfoEx function. !!!!Tips & Tricks: Please add some! !!!!Sample Code: IntPtr hinstance = Marshal.GetHINSTANCE(GetType().Module); String className = "Required Class Name"; WNDCLASSEX wndClass = new WNDCLASSEX { cbSize = (uint)Marshal.SizeOf(typeof(WNDCLASSEX)) }; if (GetClassInfoEx(hinstance, className, ref wndClass)) { // Class exists } !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetClassInfoEx@msdn on MSDN
Edit user32.getclassinfo
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.