Changeset 5472 for trunk/src/winmm
- Timestamp:
- Apr 4, 2001, 11:05:50 AM (25 years ago)
- Location:
- trunk/src/winmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/joy.cpp
r3933 r5472 1 /* $Id: joy.cpp,v 1. 8 2000-08-02 17:30:05 birdExp $ */1 /* $Id: joy.cpp,v 1.9 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 /* 3 3 * Odin Joystick apis … … 145 145 lpCaps->wMid = MM_MICROSOFT; 146 146 lpCaps->wPid = MM_PC_JOYSTICK; 147 AsciiToUnicode("OS/2 Joystick", lpCaps->szPname);147 lstrcpyW(lpCaps->szPname, (LPWSTR)L"OS/2 Joystick"); 148 148 lpCaps->wXmin = 0; 149 149 lpCaps->wXmax = 0xffff; … … 166 166 lpCaps->wNumAxes = 2; 167 167 lpCaps->wMaxButtons = 2; 168 AsciiToUnicode("",lpCaps->szRegKey);169 AsciiToUnicode("",lpCaps->szOEMVxD);168 lpCaps->szRegKey[0] = 0; 169 lpCaps->szOEMVxD[0] = 0; 170 170 dprintf(("OK!!!\n")); 171 171 return JOYERR_NOERROR; -
trunk/src/winmm/mci.cpp
r4748 r5472 1 /* $Id: mci.cpp,v 1. 6 2000-12-03 22:18:17sandervl Exp $ */1 /* $Id: mci.cpp,v 1.7 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 357 357 #define SET_EIP(ptr) /* nothing */ 358 358 #endif /* __GNUC__ */ 359 360 /***********************************************************************361 * HEAP_strdupA362 */363 static LPSTR HEAP_strdupA( HANDLE heap, DWORD flags, LPCSTR str )364 {365 LPSTR p = (LPSTR) HeapAlloc( heap, flags, strlen(str) + 1 );366 if(p) {367 //SET_EIP(p);368 strcpy( p, str );369 }370 return p;371 }372 359 373 360 -
trunk/src/winmm/waveoutdart.cpp
r5421 r5472 1 /* $Id: waveoutdart.cpp,v 1. 2 2001-04-01 12:31:01sandervl Exp $ */1 /* $Id: waveoutdart.cpp,v 1.3 2001-04-04 09:02:16 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #define INCL_BASE 24 24 #define INCL_OS2MM 25 #define INCL_DOSPROCESS 25 26 #include <os2wrap.h> //Odin32 OS/2 api wrappers 26 27 #include <os2mewrap.h> //Odin32 OS/2 MMPM/2 api wrappers 27 28 #include <stdlib.h> 29 #include <stddef.h> 28 30 #include <string.h> 29 31 #define OS2_ONLY
Note:
See TracChangeset
for help on using the changeset viewer.
