Annotation of mstools/samples/sdktools/image/drwatson/drwtsn32.c, revision 1.1

1.1     ! root        1: /*++
        !             2: 
        !             3: Copyright (c) 1993  Microsoft Corporation
        !             4: 
        !             5: Module Name:
        !             6: 
        !             7:     drwtsn32.c
        !             8: 
        !             9: Abstract:
        !            10: 
        !            11:     This file implements the user interface for DRWTSN32.  this includes
        !            12:     both dialogs: the ui for the control of the options & the popup
        !            13:     ui for application errors.
        !            14: 
        !            15: Author:
        !            16: 
        !            17:     Wesley Witt (wesw) 1-May-1993
        !            18: 
        !            19: Environment:
        !            20: 
        !            21:     User Mode
        !            22: 
        !            23: --*/
        !            24: 
        !            25: #include <windows.h>
        !            26: #include <stdlib.h>
        !            27: #include <stdio.h>
        !            28: #include <string.h>
        !            29: 
        !            30: #include "drwatson.h"
        !            31: #include "proto.h"
        !            32: #include "resource.h"
        !            33: 
        !            34: 
        !            35: int _CRTAPI1
        !            36: main( int argc, char *argv[] )
        !            37: 
        !            38: /*++
        !            39: 
        !            40: Routine Description:
        !            41: 
        !            42:     This is the entry point for DRWTSN32
        !            43: 
        !            44: Arguments:
        !            45: 
        !            46:     argc           - argument count
        !            47:     argv           - array of arguments
        !            48: 
        !            49: Return Value:
        !            50: 
        !            51:     always zero.
        !            52: 
        !            53: --*/
        !            54: 
        !            55: {
        !            56:     DWORD   dwPidToDebug = 0;
        !            57:     HANDLE  hEventToSignal = 0;
        !            58:     BOOLEAN rc;
        !            59: 
        !            60:     rc = GetCommandLineArgs( &dwPidToDebug, &hEventToSignal );
        !            61: 
        !            62:     if (dwPidToDebug > 0) {
        !            63:         NotifyWinMain();
        !            64:     }
        !            65:     else
        !            66:     if (!rc) {
        !            67:         DrWatsonWinMain();
        !            68:     }
        !            69: 
        !            70:     return 0;
        !            71: }

unix.superglobalmegacorp.com

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