| 
            Last change
 on this file since 189 was             26, checked in by RBRi, 19 years ago           | 
        
        
          | 
             
+ helpmgr files 
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
             
           | 
        
        
          | 
            File size:
            939 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #ifndef UTILITY_H
 | 
|---|
| 2 | #define UTILITY_H
 | 
|---|
| 3 | 
 | 
|---|
| 4 | // Platform
 | 
|---|
| 5 | #define INCL_WINBASE
 | 
|---|
| 6 | #define INCL_TYPES
 | 
|---|
| 7 | #define INCL_WINHOOKS
 | 
|---|
| 8 | #define INCL_WINERRORS
 | 
|---|
| 9 | #define INCL_WINHELP
 | 
|---|
| 10 | #define INCL_WINWINDOWMGR
 | 
|---|
| 11 | #define INCL_WINFRAMEMGR
 | 
|---|
| 12 | #define INCL_WININPUT
 | 
|---|
| 13 | #define INCL_WINSTDBOOK
 | 
|---|
| 14 | #define INCL_WINDIALOGS
 | 
|---|
| 15 | #define INCL_DDF
 | 
|---|
| 16 | #define INCL_DOSMISC
 | 
|---|
| 17 | #define INCL_DOSMODULEMGR
 | 
|---|
| 18 | #define INCL_DOSPROCESS
 | 
|---|
| 19 | #include <os2.h>
 | 
|---|
| 20 | 
 | 
|---|
| 21 | // Gets system boot drive as a letter
 | 
|---|
| 22 | char GetBootDrive();
 | 
|---|
| 23 | 
 | 
|---|
| 24 | // Gets current process filename
 | 
|---|
| 25 | void GetApplicationFilename( char* Buffer, ULONG BufferLength );
 | 
|---|
| 26 | 
 | 
|---|
| 27 | // Returns the top level parent of given window
 | 
|---|
| 28 | HWND GetTopLevelWindow( HWND hwnd );
 | 
|---|
| 29 | 
 | 
|---|
| 30 | // Returns true if the given window has the
 | 
|---|
| 31 | // given standard class (e.g. WC_FRAME)
 | 
|---|
| 32 | BOOL IsStandardWindowClass( HWND hwnd, PSZ ClassID );
 | 
|---|
| 33 | 
 | 
|---|
| 34 | // make a memory copy of the given source string into 
 | 
|---|
| 35 | // dest. Accepts NULLs for either parameter.
 | 
|---|
| 36 | void StoreString( char** dest,
 | 
|---|
| 37 |                   char* source );
 | 
|---|
| 38 | 
 | 
|---|
| 39 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.