Annotation of mstools/samples/deb/debmisc.h, revision 1.1.1.2

1.1       root        1: // ************************************************************************
1.1.1.2 ! root        2: //
        !             3: //                      Microsoft Developer Support
        !             4: //               Copyright (c) 1992 Microsoft Corporation
        !             5: //
        !             6: // ************************************************************************
1.1       root        7: // HEADER    : DEBMisc.h
                      8: // PURPOSE   : Miscellaneous support functions for the Debug Event Browser
                      9: // FUNCTIONS :
                     10: //   CreateTextButtonBar()         - create a text button bar
                     11: //   OpenDebugee()                 - open a debugee application
                     12: //   ChooseNewFont()               - choose a new font
                     13: //   ChooseNewBkColor()            - choose a new background color
                     14: //   CopyListBoxToClipboard()      - copies a listbox into the clipboard
                     15: //   ListBoxInsert()               - insert a string into a listbox
                     16: //   ListBoxPrintF()               - printf for listboxes
                     17: //   MakeDebugEventString()        - creates standard event info string
                     18: //   OrderFunc()                   - link list ordering function
                     19: //   EnumProcessListFunc()         - enumeration func for active processes
                     20: //   GetPrivateProfileSettings()   - gets stored profile settings
                     21: //   WritePrivateProfileSettings() - stores default settings in profile
                     22: //   UpdateMenuSettings()          - update menu check marks
                     23: //   SubclassWindow()              - generic window subclass func
                     24: //   WritePrivateProfileInt()      - opposite of GetPrivateProfileInt()
                     25: //   SendWmSizeMessage()           - sends a WM_SIZE message with current size
                     26: //   GetPathFromFullPathName()     - extracts path from a pathname
                     27: //   LongToCharUpper()             - converts a long to upper-case string
                     28: // COMMENTS  :
                     29: // ************************************************************************
1.1.1.2 ! root       30: #ifndef DEBMISC_H
        !            31:  #define DEBMISC_H
        !            32: 
        !            33:  #ifndef DEBDEBUG_H
        !            34:    #include "DEBDebug.H"
        !            35:  #endif
        !            36: 
        !            37:  //-- function prototypes
        !            38:  int              ErrorBox( LPCTSTR, LPCTSTR, LPCTSTR, int );
        !            39:  HWND             CreateTextButtonBar( HWND, LPINT );
        !            40:  BOOL             OpenDebugee( VOID );
        !            41:  BOOL             ChooseNewFont( HWND );
        !            42:  BOOL             ChooseNewBkColor( HWND );
        !            43:  BOOL             CopyListBoxToClipboard( HWND, LONG );
        !            44:  LONG             ListBoxInsert( HWND, LPLONG, LPCTSTR );
        !            45:  LONG             ListBoxPrintF( LPCTSTR, ... );
        !            46:  BOOL             MakeDebugEventString( LPTSTR, LPCTSTR, LPDEBUG_EVENT );
        !            47:  int              OrderFunc( PNODE, PNODE );
        !            48:  BOOL    CALLBACK EnumProcessListFunc( HWND, LPARAM );
        !            49:  BOOL             GetPrivateProfileSettings( LPCTSTR, LPCTSTR );
        !            50:  BOOL             WritePrivateProfileSettings( LPCTSTR, LPCTSTR );
        !            51:  BOOL             UpdateMenuSettings( VOID );
        !            52:  WNDPROC          SubclassWindow( HWND, WNDPROC );
        !            53:  BOOL             WritePrivateProfileInt( LPCTSTR, LPCTSTR, INT, LPCTSTR );
        !            54:  BOOL             SendWmSizeMessage( HWND );
        !            55:  UINT             GetPathFromFullPathName( LPCTSTR, LPTSTR, UINT );
        !            56:  LPTSTR           LongToCharUpper( long, LPTSTR, int );
1.1       root       57: 
1.1.1.2 ! root       58: #endif // DEBMISC_H

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.