Sample DosDebug Function Call

DbgBuf.Pid = Pid;       /* The process ID to receive the command */
DbgBuf.Cmd = DBG_C_Go;  /* The command to be issued              */

rc = DosDebug (DbgBuf); /* Issue the command                     */

                        /* Display the result                    */
printf("Return code = %u, command field = %u \n", rc, DbgBuf.Cmd);


[Back: DosDebug Function]
[Next: OS/2 Version 2.0 Installation]