Changeset 5935 for trunk/src/user32/win32class.h
- Timestamp:
- Jun 9, 2001, 4:50:26 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32class.h
r5242 r5935 1 /* $Id: win32class.h,v 1.1 4 2001-02-22 10:37:30 sandervl Exp $ */1 /* $Id: win32class.h,v 1.15 2001-06-09 14:50:20 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 12 12 13 13 #include <gen_object.h> 14 15 #define RELEASE_CLASSOBJ(a) { a->release(); a = NULL; } 14 16 15 17 class Win32WndClass : public GenericObject … … 57 59 void setMenuName(LPSTR newMenuName); 58 60 59 void IncreaseWindowCount() { cWindows++; };60 void DecreaseWindowCount() { cWindows--; };61 DWORD GetWindowCount() { return cWindows; };62 63 61 BOOL hasClassName(LPSTR classname, BOOL fUnicode = FALSE); 64 62 … … 67 65 static BOOL UnregisterClassA(HINSTANCE hinst, LPSTR id); 68 66 67 //Locates class in linked list and increases reference count (if found) 68 //Class object must be unreferenced after usage 69 69 static Win32WndClass *FindClass(HINSTANCE hinst, LPSTR id); 70 70 static Win32WndClass *FindClass(HINSTANCE hinst, LPWSTR id); … … 97 97 ULONG processId; 98 98 99 //nr of windows created with this class100 ULONG cWindows;101 102 99 static GenericObject *wndclasses; 100 static CRITICAL_SECTION critsect; 103 101 }; 104 102
Note:
See TracChangeset
for help on using the changeset viewer.