Annotation of pmsdk/samples/avioskel/skel.h, revision 1.1.1.1

1.1       root        1: #define CATTRBYTES 1
                      2: #define VIO_PS_ROWS 50
                      3: #define VIO_PS_COLUMNS 255
                      4: /**********************************************************************\
                      5: * Color definitions for background fill
                      6: \**********************************************************************/
                      7: 
                      8: #define LT_BLUE     0x0000007FL
                      9: #define WHITE       0x00FFFFFFL
                     10: 
                     11: 
                     12: /**********************************************************************\
                     13: * Count of msec for async message box and window flash rate
                     14: \**********************************************************************/
                     15: 
                     16: #define CMSECFLASH   1000
                     17: #define CMSECASYNC  10000
                     18: 
                     19: 
                     20: /**********************************************************************\
                     21: * Size of maximum string size allocated
                     22: \**********************************************************************/
                     23: 
                     24: #define CCHMAXSTRING   50
                     25: 
                     26: 
                     27: /**********************************************************************\
                     28: *  Resource Ids
                     29: \**********************************************************************/
                     30: 
                     31: #define ID_SKEL        1
                     32: #define IDD_ABOUT      2
                     33: #define IDD_SKEL       3
                     34: 
                     35: 
                     36: /**********************************************************************\
                     37: *  IDD - ID for Dialog item
                     38: *  IDM - ID for Menu commands
                     39: *  IDS - ID for String table
                     40: *  IDT - ID for Timers
                     41: \**********************************************************************/
                     42: 
                     43: #define IDNULL         -1
                     44: 
                     45: #define IDMOPTIONS     10
                     46: #define IDMFLASH       11
                     47: #define IDMABOUT       12
                     48: #define IDMCOMMANDS    20
                     49: #define IDMCOLOR       21
                     50: #define IDMBLACK       22
                     51: #define IDMDIALOG      23
                     52: #define IDMSTART       24
                     53: #define IDMEND         25
                     54: 
                     55: #define IDSCONTENT     10
                     56: #define IDSCLOSE       11
                     57: #define IDSOKCLOSE     12
                     58: #define IDSSAVE        13
                     59: #define IDSOKSAVE      14
                     60: #define IDSASYNC       15
                     61: #define IDSOKASYNC     16
                     62: #define IDSABOUT       18
                     63: #define IDSTITLE       19
                     64: #define IDSDEFAULT     20
                     65: 
                     66: #define IDTASYNC       18
                     67: #define IDTFLASH       19
                     68: 
                     69: /********************\
                     70: * The main procedure *
                     71: \********************/
                     72: 
                     73: SHORT cdecl main( int, char *[]);
                     74: 
                     75: /********************************************************************\
                     76: * These procedures must be declared FAR because they are exported
                     77: * and called by OS/2 Windows Presentation Manager.
                     78: \********************************************************************/
                     79: 
                     80: ULONG FAR PASCAL SkelAboutDlg( HWND, USHORT, MPARAM, MPARAM );
                     81: ULONG FAR PASCAL SkelWndProc ( HWND, USHORT, MPARAM, MPARAM );
                     82: BOOL  FAR PASCAL SkelInitApp ( VOID );
                     83: 
                     84: 
                     85: /********************************************************************\
                     86: *  These procedures are declared here to get type and parameter
                     87: *  checking for calls between modules.  The compiler switches -AS and
                     88: *  -AM for SMALL and MIDDLE model will make them NEAR and FAR
                     89: *  respectively, so there is no explicit declaration as NEAR or FAR.
                     90: \********************************************************************/
                     91: 
                     92: VOID SkelCharInput ( HWND, SHORT, SHORT, SHORT );
                     93: VOID SkelCommand   ( HWND, SHORT, SHORT, BOOL );
                     94: VOID SkelCreate    ( HWND, LONG );
                     95: VOID SkelEndSession( HWND, BOOL );
                     96: VOID SkelSetFocus  ( HWND );
                     97: VOID SkelHorzScroll( HWND, SHORT, SHORT );
                     98: VOID SkelPaint    ( HWND, HPS );
                     99: VOID SkelQueryQuit ( HWND );
                    100: VOID SkelTimer    ( HWND, USHORT );
                    101: VOID SkelVertScroll( HWND, SHORT, USHORT );
                    102: VOID InvisoCursor( VOID );

unix.superglobalmegacorp.com

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