Click to Rate and Give Feedback

  Switch on low bandwidth view
GetClassInfo
Windows Mobile SupportedWindows Embedded CE Supported
8/28/2008

This function retrieves information about a window class.


BOOL GetClassInfo( 
  HINSTANCE hInstance, 
  LPCTSTR lpClassName, 
  LPWNDCLASS lpWndClass
);
hInstance

Handle to the instance of the application that created the class. To retrieve information about classes defined by the system (such as buttons or list boxes), set this parameter to NULL.

lpClassName

Long pointer to a null-terminated string that contains the class name. The name must be that of a preregistered class or a class registered by a previous call to the RegisterClass function. Alternatively, this parameter can be an atom. If so, it must be a class atom created by a previous call to the RegisterClass function. The atom must be in the low-order word of lpClassName; the high-order word must be zero.

lpWndClass

Long pointer to a WNDCLASS structure that receives the information about the class.

Nonzero indicates that the function finds a matching class and successfully copies the data. Zero indicates failure. To get extended error information, call GetLastError.

If lpClassName is an atom, it must be an atom returned from RegisterClass.

On MIPS devices, applications should not make direct calls to the function pointer returned by GetClassInfo. They should use CallWindowProc instead.

Headerwinuser.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker