|
|
1.1 ! root 1: // ************************************************************************ ! 2: // HEADER : DEBMisc.h ! 3: // PURPOSE : Miscellaneous support functions for the Debug Event Browser ! 4: // FUNCTIONS : ! 5: // CreateTextButtonBar() - create a text button bar ! 6: // OpenDebugee() - open a debugee application ! 7: // ChooseNewFont() - choose a new font ! 8: // ChooseNewBkColor() - choose a new background color ! 9: // CopyListBoxToClipboard() - copies a listbox into the clipboard ! 10: // ListBoxInsert() - insert a string into a listbox ! 11: // ListBoxPrintF() - printf for listboxes ! 12: // MakeDebugEventString() - creates standard event info string ! 13: // OrderFunc() - link list ordering function ! 14: // EnumProcessListFunc() - enumeration func for active processes ! 15: // GetPrivateProfileSettings() - gets stored profile settings ! 16: // WritePrivateProfileSettings() - stores default settings in profile ! 17: // UpdateMenuSettings() - update menu check marks ! 18: // SubclassWindow() - generic window subclass func ! 19: // WritePrivateProfileInt() - opposite of GetPrivateProfileInt() ! 20: // SendWmSizeMessage() - sends a WM_SIZE message with current size ! 21: // GetPathFromFullPathName() - extracts path from a pathname ! 22: // LongToCharUpper() - converts a long to upper-case string ! 23: // COMMENTS : ! 24: // ************************************************************************ ! 25: ! 26: //-- function prototypes ! 27: HWND CreateTextButtonBar( HWND, LPINT ); ! 28: BOOL OpenDebugee( LPPROCESS_INFORMATION, LPSTARTUPINFO ); ! 29: BOOL ChooseNewFont( HWND ); ! 30: BOOL ChooseNewBkColor( HWND ); ! 31: BOOL CopyListBoxToClipboard( HWND, LONG ); ! 32: LONG ListBoxInsert( HWND, LPLONG, LPCTSTR ); ! 33: LONG ListBoxPrintF( LPCTSTR, ... ); ! 34: BOOL MakeDebugEventString( LPTSTR, LPCTSTR, LPDEBUG_EVENT ); ! 35: int OrderFunc( PNODE, PNODE ); ! 36: BOOL CALLBACK EnumProcessListFunc( HWND, LPARAM ); ! 37: BOOL GetPrivateProfileSettings( LPCTSTR, LPCTSTR ); ! 38: BOOL WritePrivateProfileSettings( LPCTSTR, LPCTSTR ); ! 39: BOOL UpdateMenuSettings( VOID ); ! 40: WNDPROC SubclassWindow( HWND, WNDPROC ); ! 41: BOOL WritePrivateProfileInt( LPCTSTR, LPCTSTR, INT, LPCTSTR ); ! 42: BOOL SendWmSizeMessage( HWND ); ! 43: UINT GetPathFromFullPathName( LPCTSTR, LPTSTR, UINT ); ! 44: LPTSTR LongToCharUpper( long, LPTSTR, int );
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.