comparison os2/dw.c @ 1342:b4a23eab81fa

*sighs* tabs again... I really need to figure out how to change the default to spaces.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 14 Nov 2011 17:31:59 +0000
parents 184b3aedc2ff
children af989b9f1767
comparison
equal deleted inserted replaced
1341:184b3aedc2ff 1342:b4a23eab81fa
3737 WinDdeInitiate(hwndApp, (PSZ)"SystrayServer", (PSZ)"TRAY", NULL); 3737 WinDdeInitiate(hwndApp, (PSZ)"SystrayServer", (PSZ)"TRAY", NULL);
3738 3738
3739 /* Load DLLs for providing extra functionality if available */ 3739 /* Load DLLs for providing extra functionality if available */
3740 DosLoadModule((PSZ)objnamebuf, sizeof(objnamebuf), (PSZ)"WPCONFIG", &wpconfig); 3740 DosLoadModule((PSZ)objnamebuf, sizeof(objnamebuf), (PSZ)"WPCONFIG", &wpconfig);
3741 if(!DosLoadModule((PSZ)objnamebuf, sizeof(objnamebuf), (PSZ)"PMPRINTF", &pmprintf)) 3741 if(!DosLoadModule((PSZ)objnamebuf, sizeof(objnamebuf), (PSZ)"PMPRINTF", &pmprintf))
3742 DosQueryProcAddr(pmprintf, 0, (PSZ)"PmPrintfString", (PFN*)&_PmPrintfString); 3742 DosQueryProcAddr(pmprintf, 0, (PSZ)"PmPrintfString", (PFN*)&_PmPrintfString);
3743 return rc; 3743 return rc;
3744 } 3744 }
3745 3745
3746 /* 3746 /*
3747 * Runs a message loop for Dynamic Windows. 3747 * Runs a message loop for Dynamic Windows.
3908 va_start(args, format); 3908 va_start(args, format);
3909 vsprintf(outbuf, format, args); 3909 vsprintf(outbuf, format, args);
3910 va_end(args); 3910 va_end(args);
3911 3911
3912 if(_PmPrintfString) 3912 if(_PmPrintfString)
3913 _PmPrintfString(outbuf); 3913 _PmPrintfString(outbuf);
3914 else 3914 else
3915 fprintf(stderr, "%s", outbuf); 3915 fprintf(stderr, "%s", outbuf);
3916 } 3916 }
3917 3917
3918 /* 3918 /*
3919 * Displays a Message Box with given text and title.. 3919 * Displays a Message Box with given text and title..
3920 * Parameters: 3920 * Parameters: