Changeset 1118


Ignore:
Timestamp:
Oct 4, 1999, 11:56:04 AM (26 years ago)
Author:
sandervl
Message:

Lots of changes by several people (see changelog for 4 October

Location:
trunk
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/changelog

    r1116 r1118  
    1  /* $Id: changelog,v 1.264 1999-10-03 20:40:54 sandervl Exp $ */
     1 /* $Id: changelog,v 1.265 1999-10-04 09:55:47 sandervl Exp $ */
     2
     3 99-10-04: Edgar Buerkle <Edgar.Buerkle@gmx.net>
     4        - USER32: Fixes for window style update, mouse button messages,
     5                  WS_CAPTION style and apps with a dialog as their main window.
     6                  (set owner to desktop)
     7        - KERNEL32: Extra checks for valid heap pointers
     8
     9 99-10-04: Sander van Leeuwen <sandervl@xs4all.nl>
     10        - USER32: Deleted dialog.cpp
     11        - DPLAY, MSACM32: Compilation fix (indirectly included win32type.h)
     12        - KERNEL32: Fixed getVersionStruct for PE & LX images (didn't copy
     13                    version data before)
     14                    Fixed module name lookup for win32 images executed by the PE
     15                    loader. (can't use OSLibQueryModuleHandle for those)
     16
     17 99-10-04: Jens Wiessner <wiessnej@rfi.de>
     18        - CRTDLL: Implemented functions + added stubs
     19        - MSVCRT: More stubs + crtdll forwarders
     20
     21 99-10-04: Yuri Dario <mc6530@mclink.it>
     22        - ddeml.h: new macros
     23        - mmsystem.h: changed sndPlaySound and mciCommand prototypes (as in MS sdk)
     24        - shlobh.h: added ifdef for direct inclusion
     25        - winbase.h: added UnlockResource macro
     26        - windef.h: changed return type (maybe also other functions are wrong)
     27        - windows.h: included ddeml.h
     28        - windowsx.h: added macros
     29        - wingdi.h: added win95 bitmap structures
     30        - winuser.h: few macros and changed DLGTEMPLATE prototypes as in MS sdk
     31        - crtdll.cpp: now includes libc/locale.h, so toolkit headers are included also for VA36
     32        - shell32/makefile: added code for library export.
     33        - shell32/new/makefile: added code for library export.
     34        - dialog.cpp: DLGTEMPLATE changes
     35        - windlg.cpp: DLGTEMPLATE changes.
     36        - win32k/makefile: corrected paths
     37        - win32k/include/pe2lx.h: this section should be included for VA36
    238
    339 99-10-03: Daniela Engert <dani@ngrt.de>
  • TabularUnified trunk/include/win/ddeml.h

    r4 r1118  
    1 /* $Id: ddeml.h,v 1.1 1999-05-24 20:19:10 ktk Exp $ */
     1/* $Id: ddeml.h,v 1.2 1999-10-04 09:55:49 sandervl Exp $ */
    22
    33/*
     
    119119#define XCLASS_NOTIFICATION     0x8000
    120120
    121 #define XTYP_ADVDATA            (0x0010 | XCLASS_FLAGS)
    122121#define XTYP_XACT_COMPLETE      (0x0080 | XCLASS_NOTIFICATION )
    123 #define XTYP_REGISTER           (0x00A0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )
    124122#define XTYP_REQUEST            (0x00B0 | XCLASS_DATA )
    125 #define XTYP_DISCONNECT         (0x00C0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )
    126 #define XTYP_UNREGISTER         (0x00D0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )
     123
     124//Odin addition
     125#define XTYP_ERROR              (0x0000 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )
     126#define XTYP_ADVDATA            (0x0010 | XCLASS_FLAGS         )
     127#define XTYP_ADVREQ             (0x0020 | XCLASS_DATA | XTYPF_NOBLOCK )
     128#define XTYP_ADVSTART           (0x0030 | XCLASS_BOOL          )
     129#define XTYP_ADVSTOP            (0x0040 | XCLASS_NOTIFICATION)
     130#define XTYP_EXECUTE            (0x0050 | XCLASS_FLAGS         )
     131#define XTYP_CONNECT            (0x0060 | XCLASS_BOOL | XTYPF_NOBLOCK)
     132#define XTYP_CONNECT_CONFIRM    (0x0070 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
     133#define XTYP_XACT_COMPLETE      (0x0080 | XCLASS_NOTIFICATION  )
     134#define XTYP_POKE               (0x0090 | XCLASS_FLAGS         )
     135#define XTYP_REGISTER           (0x00A0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
     136#define XTYP_REQUEST            (0x00B0 | XCLASS_DATA          )
     137#define XTYP_DISCONNECT         (0x00C0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
     138#define XTYP_UNREGISTER         (0x00D0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
     139#define XTYP_WILDCONNECT        (0x00E0 | XCLASS_DATA | XTYPF_NOBLOCK)
    127140
    128141/**************************************************
  • TabularUnified trunk/include/win/mmsystem.h

    r4 r1118  
    1 /* $Id: mmsystem.h,v 1.1 1999-05-24 20:19:14 ktk Exp $ */
     1/* $Id: mmsystem.h,v 1.2 1999-10-04 09:55:49 sandervl Exp $ */
    22
    33/*
     
    190190UINT16          WINAPI  mmsystemGetVersion16(void);
    191191UINT            WINAPI  mmsystemGetVersion(void);
    192 BOOL16          WINAPI  sndPlaySound(LPCSTR lpszSoundName, UINT16 uFlags);
     192BOOL            WINAPI  sndPlaySoundA(LPCSTR pszSound, UINT fuSound);
     193BOOL            WINAPI  sndPlaySoundW(LPCWSTR pszSound, UINT fuSound);
     194#define                 sndPlaySound WINELIB_NAME_AW(sndPlaySound)
    193195BOOL            WINAPI  PlaySoundA(LPCSTR pszSound, HMODULE hmod, DWORD fdwSound);
    194196BOOL            WINAPI  PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound);
     
    16501652
    16511653DWORD           WINAPI  mciSendCommand16(UINT16,UINT16,DWORD,DWORD);
    1652 DWORD           WINAPI  mciSendCommandA(UINT,UINT,DWORD,DWORD);
    1653 DWORD           WINAPI  mciSendCommandW(UINT,UINT,DWORD,DWORD);
     1654MCIERROR        WINAPI  mciSendCommandA(MCIDEVICEID,UINT,DWORD,DWORD);
     1655MCIERROR        WINAPI  mciSendCommandW(MCIDEVICEID,UINT,DWORD,DWORD);
    16541656#define                 mciSendCommand WINELIB_NAME_AW(mciSendCommand)
    16551657
  • TabularUnified trunk/include/win/shlobj.h

    r787 r1118  
    1 /* $Id: shlobj.h,v 1.2 1999-09-02 10:51:14 phaller Exp $ */
     1/* $Id: shlobj.h,v 1.3 1999-10-04 09:55:50 sandervl Exp $ */
    22
    33#ifndef __WINE_SHLOBJ_H
    44#define __WINE_SHLOBJ_H
     5
     6#ifndef DECLSPEC_IMPORT
     7#define DECLSPEC_IMPORT
     8#endif
    59
    610#include "wine/obj_base.h"
     
    251255#define BFFM_SETSELECTIONA      (WM_USER+102)
    252256#define BFFM_SETSELECTIONW      (WM_USER+103)
     257#define BFFM_SETSELECTION       WINELIB_NAME_AW(BFFM_SETSELECTION)
     258
    253259#define BFFM_SETSTATUSTEXTW     (WM_USER+104)
    254260
  • TabularUnified trunk/include/win/winbase.h

    r796 r1118  
    1 /* $Id: winbase.h,v 1.5 1999-09-02 17:39:36 phaller Exp $ */
     1/* $Id: winbase.h,v 1.6 1999-10-04 09:55:50 sandervl Exp $ */
    22
    33#ifndef __WINE_WINBASE_H
     
    17981798BOOL      WINAPI LocalUnlock(HLOCAL);
    17991799LPVOID      WINAPI LockResource(HGLOBAL);
     1800#define UnlockResource(hResData) ((hResData), 0)
     1801
    18001802#define     LockSegment(handle) GlobalFix((HANDLE)(handle))
    18011803#define     MakeProcInstance(proc,inst) (proc)
  • TabularUnified trunk/include/win/windef.h

    r1007 r1118  
    1 /* $Id: windef.h,v 1.13 1999-09-22 09:46:19 sandervl Exp $ */
     1/* $Id: windef.h,v 1.14 1999-10-04 09:55:51 sandervl Exp $ */
    22
    33/*
     
    398398typedef VOID    (* CALLBACK TIMERPROC)(HWND,UINT,UINT,DWORD);
    399399typedef LRESULT (* CALLBACK WNDENUMPROC16)(HWND16,LPARAM);
    400 typedef LRESULT (* CALLBACK WNDENUMPROC)(HWND,LPARAM);
     400//typedef LRESULT (* CALLBACK WNDENUMPROC)(HWND,LPARAM);
     401typedef BOOL    (* CALLBACK WNDENUMPROC)(HWND,LPARAM);
    401402typedef LRESULT (* CALLBACK WNDPROC16)(HWND16,UINT16,WPARAM16,LPARAM);
    402403typedef LRESULT (* CALLBACK WNDPROC)(HWND,UINT,WPARAM,LPARAM);
  • TabularUnified trunk/include/win/windows.h

    r970 r1118  
    1 /* $Id: windows.h,v 1.3 1999-09-18 15:55:45 sandervl Exp $ */
     1/* $Id: windows.h,v 1.4 1999-10-04 09:55:51 sandervl Exp $ */
    22
    33#ifndef __WINE_WINDOWS_H
     
    1919#include "shell.h"
    2020#include "winreg.h"
     21#include "ddeml.h"
    2122#include "winnetwk.h"
    2223#include "winver.h"
  • TabularUnified trunk/include/win/windowsx.h

    r874 r1118  
    1 /* $Id: windowsx.h,v 1.5 1999-09-08 12:12:28 sandervl Exp $ */
     1/* $Id: windowsx.h,v 1.6 1999-10-04 09:55:51 sandervl Exp $ */
    22
    33/* Copyright (C) 1999 Corel Corporation (Paul Quinn) */
     
    3030#define GET_WM_CTLCOLOR_MSG(type)               (WORD)(WM_CTLCOLORMSGBOX+(type))
    3131#define GET_WM_CTLCOLOR_MPS(hdc, hwnd, type)    (WPARAM)(hdc), (LONG)(hwnd)
     32#define GET_WM_MENUSELECT_CMD(wp, lp)            LOWORD(wp)
     33#define GET_WM_MENUSELECT_FLAGS(wp, lp)         (UINT)(int)(short)HIWORD(wp)
     34#define GET_WM_MENUSELECT_HMENU(wp, lp)         (HMENU)(lp)
     35#define GET_WM_MENUSELECT_MPS(cmd, f, hmenu)    (WPARAM)MAKELONG(cmd, f), (LONG)(hmenu)
    3236
    3337#define GET_WM_VKEYTOITEM_CODE(wp, lp)          (int)(short)LOWORD(wp)
     
    944948                ((int)(DWORD)SendMessage((hwndCtl), CB_GETLBTEXTLEN, (WPARAM)(int)(index), 0L))
    945949
     950#define ComboBox_GetLBText(hwndCtl, index, lpszBuffer)  ((int)(DWORD)SendMessage((hwndCtl), CB_GETLBTEXT, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpszBuffer)))
     951#define ComboBox_GetItemData(hwndCtl, index)        ((LRESULT)(DWORD)SendMessage((hwndCtl), CB_GETITEMDATA, (WPARAM)(int)(index), 0L))
     952#define ComboBox_SetItemData(hwndCtl, index, data)  ((int)(DWORD)SendMessage((hwndCtl), CB_SETITEMDATA, (WPARAM)(int)(index), (LPARAM)(data)))
     953
    946954#define ComboBox_DeleteString(hwndCtl, index) \
    947955                ((int)(DWORD)SendMessage((hwndCtl), CB_DELETESTRING, (WPARAM)(int)(index), 0L))
     
    960968                ((int)(DWORD)SendMessage((hwndCtl), CB_GETLBTEXT, (WPARAM)(int)(index), (LPARAM)(LPCTSTR)(lpszBuffer)))
    961969
     970#define ComboBox_ShowDropdown(hwndCtl, fShow)       ((BOOL)(DWORD)SendMessage((hwndCtl), CB_SHOWDROPDOWN, (WPARAM)(BOOL)(fShow), 0L))
     971#define ComboBox_GetEditSel(hwndCtl)            ((DWORD)SendMessage((hwndCtl), CB_GETEDITSEL, 0L, 0L))
     972#define ComboBox_SetEditSel(hwndCtl, ichStart, ichEnd) ((int)(DWORD)SendMessage((hwndCtl), CB_SETEDITSEL, 0L, MAKELPARAM((ichStart), (ichEnd))))
     973
    962974#define ComboBox_GetDroppedState(hwndCtl)             \
    963975           ((BOOL)(DWORD)SendMessage((hwndCtl), CB_GETDROPPEDSTATE, 0L, 0L))
     
    10381050#define Edit_GetTextLength(hwndCtl)             GetWindowTextLength(hwndCtl)
    10391051#define Edit_SetText(hwndCtl, lpsz)             SetWindowText((hwndCtl), (lpsz))
     1052
     1053#define Edit_Enable(hwndCtl, fEnable)           EnableWindow((hwndCtl), (fEnable))
     1054#define Edit_SetReadOnly(hwndCtl, fReadOnly)    ((BOOL)(DWORD)SendMessage((hwndCtl), EM_SETREADONLY, (WPARAM)(BOOL)(fReadOnly), 0L))
    10401055       
    10411056#define Edit_GetModify(hwndCtl)            \
  • TabularUnified trunk/include/win/wingdi.h

    r1007 r1118  
    1 /* $Id: wingdi.h,v 1.6 1999-09-22 09:46:19 sandervl Exp $ */
     1/* $Id: wingdi.h,v 1.7 1999-10-04 09:55:51 sandervl Exp $ */
    22
    33#ifndef __WINE_WINGDI_H
     
    15131513} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
    15141514
     1515typedef struct {
     1516        DWORD        bV4Size;
     1517        LONG         bV4Width;
     1518        LONG         bV4Height;
     1519        WORD         bV4Planes;
     1520        WORD         bV4BitCount;
     1521        DWORD        bV4V4Compression;
     1522        DWORD        bV4SizeImage;
     1523        LONG         bV4XPelsPerMeter;
     1524        LONG         bV4YPelsPerMeter;
     1525        DWORD        bV4ClrUsed;
     1526        DWORD        bV4ClrImportant;
     1527        DWORD        bV4RedMask;
     1528        DWORD        bV4GreenMask;
     1529        DWORD        bV4BlueMask;
     1530        DWORD        bV4AlphaMask;
     1531        DWORD        bV4CSType;
     1532        CIEXYZTRIPLE bV4Endpoints;
     1533        DWORD        bV4GammaRed;
     1534        DWORD        bV4GammaGreen;
     1535        DWORD        bV4GammaBlue;
     1536} BITMAPV4HEADER, *LPBITMAPV4HEADER, *PBITMAPV4HEADER;
     1537
    15151538  /* biCompression */
    15161539#define BI_RGB           0
    15171540#define BI_RLE8          1
    15181541#define BI_RLE4          2
     1542#define BI_BITFIELDS     3
    15191543
    15201544typedef struct {
     
    26962720HDC       WINAPI CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*);
    26972721HDC       WINAPI CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*);
     2722#define   CreateDC WINELIB_NAME_AW(CreateDC)
    26982723HBITMAP   WINAPI CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,LPCVOID,const BITMAPINFO*,UINT);
    26992724HBRUSH    WINAPI CreateDIBPatternBrush(HGLOBAL,UINT);
     
    29362961INT       WINAPI StartDocA(HDC,const DOCINFOA*);
    29372962INT       WINAPI StartDocW(HDC,const DOCINFOW*);
     2963#define StartDoc WINELIB_NAME_AW(StartDoc)
    29382964INT       WINAPI StartPage(HDC);
    29392965INT       WINAPI EndPage(HDC);
  • TabularUnified trunk/include/win/winuser.h

    r1108 r1118  
    1 /* $Id: winuser.h,v 1.9 1999-10-02 13:55:46 cbratschi Exp $ */
     1/* $Id: winuser.h,v 1.10 1999-10-04 09:55:52 sandervl Exp $ */
    22
    33#ifndef __INCLUDE_WINUSER_H
     
    684684#define WM_PRINT             0x0317
    685685#define WM_PRINTCLIENT       0x0318
     686
     687#define WM_HANDHELDFIRST     0x0358
     688#define WM_HANDHELDLAST      0x035F
     689 
     690#define WM_AFXFIRST          0x0360
     691#define WM_AFXLAST           0x037F
     692 
     693#define WM_PENWINFIRST       0x0380
     694#define WM_PENWINLAST        0x038F
     695
     696#define WM_APP               0x8000
    686697
    687698  /* FIXME: This does not belong to any libwine interface header */
     
    30533064           CreateDialogIndirectParamW(inst,ptr,hwnd,dlg,0)
    30543065#define     CreateDialogIndirect WINELIB_NAME_AW(CreateDialogIndirect)
    3055 HWND      WINAPI CreateDialogIndirectParamA(HINSTANCE,DLGTEMPLATE *,HWND,
     3066HWND      WINAPI CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,
    30563067                                            DLGPROC,LPARAM);
    3057 HWND      WINAPI CreateDialogIndirectParamW(HINSTANCE,DLGTEMPLATE *,HWND,
     3068HWND      WINAPI CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,
    30583069                                            DLGPROC,LPARAM);
    30593070#define     CreateDialogIndirectParam WINELIB_NAME_AW(CreateDialogIndirectParam)
     
    31163127            DialogBoxIndirectParamW(inst,template,owner,func,0)
    31173128#define     DialogBoxIndirect WINELIB_NAME_AW(DialogBoxIndirect)
    3118 INT       WINAPI DialogBoxIndirectParamA(HINSTANCE,DLGTEMPLATE *,HWND,DLGPROC,LPARAM);
    3119 INT       WINAPI DialogBoxIndirectParamW(HINSTANCE,DLGTEMPLATE *,HWND,DLGPROC,LPARAM);
     3129INT       WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATEA,HWND,DLGPROC,LPARAM);
     3130INT       WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATEW,HWND,DLGPROC,LPARAM);
    31203131#define     DialogBoxIndirectParam WINELIB_NAME_AW(DialogBoxIndirectParam)
    31213132INT       WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
  • TabularUnified trunk/src/crtdll/crtdll.cpp

    r1083 r1118  
    1 /* $Id: crtdll.cpp,v 1.6 1999-09-28 13:26:34 sandervl Exp $ */
     1/* $Id: crtdll.cpp,v 1.7 1999-10-04 09:55:54 sandervl Exp $ */
    22
    33/*
     
    2929#include <wctype.h>
    3030#include <math.h>
    31 #include <locale.h>
     31#include <libc\locale.h>
    3232#include <signal.h>
    3333#include <io.h>
     
    4040#include <drive.h>
    4141#include <fcntl.h>
     42#include <search.h>
    4243#include <sys\utime.h>
    4344#include <sys\stat.h>
     
    100101
    101102/*********************************************************************
     103 *                  _CIacos    (CRTDLL.004)
     104 */
     105double CDECL CRTDLL__CIacos( double x )
     106{
     107  dprintf(("NTDLL: _CIacos\n"));
     108  dprintf(("should be register function\n"));
     109  return acos(x);
     110}
     111
     112
     113/*********************************************************************
     114 *                  _CIasin    (CRTDLL.005)
     115 */
     116double CDECL CRTDLL__CIasin( double x )
     117{
     118  dprintf(("NTDLL: _CIasin\n"));
     119  dprintf(("should be register function\n"));
     120  return asin(x);
     121}
     122
     123
     124/*********************************************************************
     125 *                  _CIatan    (CRTDLL.006)
     126 */
     127double CDECL CRTDLL__CIatan( double x )
     128{
     129  dprintf(("NTDLL: _CIatan\n"));
     130  dprintf(("should be register function\n"));
     131  return atan(x);
     132}
     133
     134
     135/*********************************************************************
     136 *                  _CIatan2    (CRTDLL.007)
     137 */
     138double CDECL CRTDLL__CIatan2( double x, double y )
     139{
     140  dprintf(("NTDLL: _CIatan2\n"));
     141  dprintf(("should be register function\n"));
     142  return atan2(x,y);
     143}
     144
     145
     146/*********************************************************************
     147 *                  _CIcos    (CRTDLL.008)
     148 */
     149double CDECL CRTDLL__CIcos( double x )
     150{
     151  dprintf(("NTDLL: _CIcos\n"));
     152  dprintf(("should be register function\n"));
     153  return cos(x);
     154}
     155
     156
     157/*********************************************************************
     158 *                  _CIcosh    (CRTDLL.009)
     159 */
     160double CDECL CRTDLL__CIcosh( double x )
     161{
     162  dprintf(("NTDLL: _CIcosh\n"));
     163  dprintf(("should be register function\n"));
     164  return cosh(x);
     165}
     166
     167
     168/*********************************************************************
     169 *                  _CIexp    (CRTDLL.010)
     170 */
     171double CDECL CRTDLL__CIexp( double x )
     172{
     173  dprintf(("NTDLL: _CIexp\n"));
     174  dprintf(("should be register function\n"));
     175  return exp(x);
     176}
     177
     178
     179/*********************************************************************
     180 *                  _CIfmod     (CRTDLL.011)
     181 */
     182double CDECL CRTDLL__CIfmod( double x, double y )
     183{
     184  dprintf(("NTDLL: _CIfmod\n"));
     185  dprintf(("should be register function\n"));
     186  return fmod(x,y);
     187}
     188
     189
     190/*********************************************************************
     191 *                  _CIlog    (CRTDLL.012)
     192 */
     193double CDECL CRTDLL__CIlog( double x )
     194{
     195  dprintf(("NTDLL: _CIlog\n"));
     196  dprintf(("should be register function\n"));
     197  return log(x);
     198}
     199
     200
     201/*********************************************************************
     202 *                  _CIlog10    (CRTDLL.013)
     203 */
     204double CDECL CRTDLL__CIlog10( double x )
     205{
     206  dprintf(("NTDLL: _CIlog10\n"));
     207  dprintf(("should be register function\n"));
     208  return log10(x);
     209}
     210
     211
     212/*********************************************************************
     213 *                  _CIsin     (CRTDLL.015)
     214 */
     215double CDECL CRTDLL__CIsin( double x )
     216{
     217  dprintf(("NTDLL: _CIsin\n"));
     218  dprintf(("should be register function\n"));
     219  return sin(x);
     220}
     221
     222
     223/*********************************************************************
     224 *                  _CIsinh    (CRTDLL.016)
     225 */
     226double CDECL CRTDLL__CIsinh( double x )
     227{
     228  dprintf(("NTDLL: _CIsinh\n"));
     229  dprintf(("should be register function\n"));
     230  return sinh(x);
     231}
     232
     233
     234/*********************************************************************
     235 *                  _CIsqrt    (CRTDLL.017)
     236 */
     237double CDECL CRTDLL__CIsqrt( double x )
     238{
     239  dprintf(("NTDLL: _CIsqrt\n"));
     240  dprintf(("should be register function\n"));
     241  return acos(x);
     242}
     243
     244
     245/*********************************************************************
     246 *                  _CItan    (CRTDLL.018)
     247 */
     248double CDECL CRTDLL__CItan( double x )
     249{
     250  dprintf(("NTDLL: _CItan\n"));
     251  dprintf(("should be register function\n"));
     252  return tan(x);
     253}
     254
     255
     256/*********************************************************************
     257 *                  _CItanh    (CRTDLL.019)
     258 */
     259double CDECL CRTDLL__CItanh( double x )
     260{
     261  dprintf(("NTDLL: _CItanh\n"));
     262  dprintf(("should be register function\n"));
     263  return tanh(x);
     264}
     265
     266
     267/*********************************************************************
    102268 *                  _XcptFilter    (CRTDLL.21)
    103269 *      FIXME - Could not find anything about it
     
    109275  return FALSE;
    110276}
     277
    111278
    112279/*********************************************************************
     
    139306
    140307        /* missing threading init */
     308
     309        i=0;xargv=NULL;xargc=0;afterlastspace=0;
    141310/*
    142         i=0;xargv=NULL;xargc=0;afterlastspace=0;
    143311        dprintf(("CRTDLL: GetMainArgs i loop\n"));
    144312        while (cmdline[i]) {
     
    157325                                afterlastspace=i;
    158326        dprintf(("CRTDLL: GetMainArgs *3\n"));
     327
    159328                } else
    160329                        i++;
    161330
    162331        }
     332
    163333        xargv=(char**)HeapReAlloc( GetProcessHeap(), 0, xargv,
    164334                                   sizeof(char*)*(++xargc));
     
    168338        xargv[xargc-1] = HEAP_strdupA( GetProcessHeap(), 0,
    169339                                       cmdline+afterlastspace);
    170         dprintf(("CRTDLL: GetMainArgs *6\n"));
    171         dprintf(("CRTDLL: GetMainArgs *7\n"));
     340*/
    172341        CRTDLL_argc_dll = xargc;
    173         dprintf(("CRTDLL: GetMainArgs *8\n"));
    174342        *argc           = xargc;
    175         dprintf(("CRTDLL: GetMainArgs *9\n"));
    176343        CRTDLL_argv_dll = xargv;
    177         dprintf(("CRTDLL: GetMainArgs *11\n"));
    178344        *argv           = xargv;
    179 */
    180345        dprintf(("CRTDLL: GetMainArgs end\n"));
    181346        CRTDLL_environ_dll = *environ = GetEnvironmentStringsA();
     
    194359
    195360/*********************************************************************
     361 *                  __doserrno            (CRTDLL.26)
     362 */
     363long * CDECL CRTDLL___doserrno()
     364{       
     365        dprintf(("__doserrno not implemented.\n"));
     366        SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     367        return FALSE;
     368//      return _doserrno();
     369}
     370
     371
     372/*********************************************************************
    196373 *           CRTDLL___isascii   (CRTDLL.28)
    197374 */
     
    315492
    316493/*********************************************************************
     494 *                  CRTDLL__beep                    (CRTDLL.45)
     495 */
     496void CDECL CRTDLL__beep(unsigned i1, unsigned i2)
     497{       
     498        dprintf(("_beep not implemented.\n"));
     499}
     500
     501
     502/*********************************************************************
    317503 *           CRTDLL__beginthread   (CRTDLL.46)
    318504 */
     
    338524
    339525/*********************************************************************
     526 *           CRTDLL__cabs   (CRTDLL.48)
     527 */
     528double CDECL CRTDLL__cabs(struct complex * c)
     529{
     530  dprintf(("CRTDLL: _cabs not implemented.\n"));
     531  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     532  return FALSE;
     533//  return (_cabs(c));
     534}
     535
     536
     537/*********************************************************************
    340538 *                  _cexit          (CRTDLL.49)
    341539 *
     
    345543        dprintf(("_cexit(%d)\n",ret));
    346544        ExitProcess(ret);
     545}
     546
     547
     548/*********************************************************************
     549 *           CRTDLL__cgets  (CRTDLL.50)
     550 */
     551char * CDECL CRTDLL__cgets( char *s )
     552{
     553  dprintf(("CRTDLL: _cgets\n"));
     554  return (_cgets(s));
    347555}
    348556
     
    375583
    376584/*********************************************************************
     585 *           CRTDLL__chgsign     (CRTDLL.53)
     586 */
     587double CDECL CRTDLL__chgsign(double x)
     588{
     589  dprintf(("CRTDLL: _chgsign not implemented.\n"));
     590  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     591  return FALSE;
     592}
     593
     594
     595/*********************************************************************
     596 *           CRTDLL__chmod   (CRTDLL.54)
     597 */
     598int CDECL CRTDLL__chmod( const char *s, int i)
     599{
     600  dprintf(("CRTDLL: _chmod\n"));
     601  return (_chmod(s, i));
     602}
     603
     604
     605/*********************************************************************
     606 *           CRTDLL__chsize   (CRTDLL.55)
     607 */
     608int CDECL CRTDLL__chsize( int i, long l )
     609{
     610  dprintf(("CRTDLL: _chsize\n"));
     611  return (_chsize(i, l));
     612}
     613
     614
     615/*********************************************************************
     616 *           CRTDLL__clearfp  (CRTDLL.56)
     617 */
     618unsigned int CDECL CRTDLL__clearfp( void )
     619{
     620  dprintf(("CRTDLL: _clearfp\n"));
     621  return (_clear87());
     622}
     623
     624
     625/*********************************************************************
    377626 *           CRTDLL__close   (CRTDLL.57)
    378627 */
     
    396645/*********************************************************************
    397646 *                  CRTDLL__controlfp    (CRTDLL.61)
    398  *      FIXME - Could not find anything about it
    399  */
    400 INT CDECL CRTDLL__controlfp(DWORD ret)
    401 {
    402   dprintf(("CRTDLL: _controlfp not implemented.\n"));
     647 */
     648unsigned CDECL CRTDLL__controlfp(unsigned i1,unsigned i2)
     649{
     650  dprintf(("CRTDLL: _controlfp\n"));
     651  return (_control87(i1, i2));
     652}
     653
     654
     655/*********************************************************************
     656 *                  CRTDLL__copysign    (CRTDLL.62)
     657 */
     658double CDECL CRTDLL__copysign( double x, double y )
     659{
     660  dprintf(("CRTDLL: _copysign not implemented.\n"));
     661  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     662  return FALSE;
     663}
     664
     665
     666/*********************************************************************
     667 *                  CRTDLL__cprintf    (CRTDLL.63)
     668 */
     669INT CDECL CRTDLL__cprintf( char *s, ... )
     670{
     671  dprintf(("CRTDLL: _cprintf not implemented.\n"));
     672  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     673  return FALSE;
     674}
     675
     676
     677/*********************************************************************
     678 *                  CRTDLL__cputs      (CRTDLL.65)
     679 */
     680INT CDECL CRTDLL__cputs( char * s )
     681{
     682  dprintf(("CRTDLL: _cputs\n"));
     683  return (_cputs(s));
     684}
     685
     686
     687/*********************************************************************
     688 *                  CRTDLL__creat      (CRTDLL.66)
     689 */
     690INT CDECL CRTDLL__creat( const char *s, int i )
     691{
     692  dprintf(("CRTDLL: _creat\n"));
     693  return (_creat(s, i));
     694}
     695
     696
     697/*********************************************************************
     698 *                  CRTDLL__cscanf    (CRTDLL.67)
     699 */
     700INT CDECL CRTDLL__cscanf( char *s, ... )
     701{
     702  dprintf(("CRTDLL: _cscanf not implemented.\n"));
    403703  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    404704  return FALSE;
     
    479779
    480780/*********************************************************************
     781 *           CRTDLL__execl   (CRTDLL.79)
     782 */
     783int CDECL CRTDLL__execl( char *s1, char *s2, ...)
     784{
     785  dprintf(("CRTDLL: _execl not implemented.\n"));
     786  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     787  return FALSE;
     788}
     789
     790
     791/*********************************************************************
     792 *           CRTDLL__execle   (CRTDLL.80)
     793 */
     794int CDECL CRTDLL__execle( char *s1, char *s2, ...)
     795{
     796  dprintf(("CRTDLL: _execle not implemented.\n"));
     797  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     798  return FALSE;
     799}
     800
     801
     802/*********************************************************************
     803 *           CRTDLL__execlp   (CRTDLL.81)
     804 */
     805int CDECL CRTDLL__execlp( char *s1, char *s2, ...)
     806{
     807  dprintf(("CRTDLL: _execlp not implemented.\n"));
     808  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     809  return FALSE;
     810}
     811
     812
     813/*********************************************************************
     814 *           CRTDLL__execlpe   (CRTDLL.82)
     815 */
     816int CDECL CRTDLL__execlpe( char *s1, char *s2, ...)
     817{
     818  dprintf(("CRTDLL: _execlpe not implemented.\n"));
     819  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     820  return FALSE;
     821}
     822
     823
     824/*********************************************************************
     825 *           CRTDLL__execv   (CRTDLL.83)
     826 */
     827int CDECL CRTDLL__execv( char *s1, char **s2)
     828{
     829  dprintf(("CRTDLL: _execv\n"));
     830  return (_execv(s1, s2));
     831}
     832
     833
     834/*********************************************************************
     835 *           CRTDLL__execve   (CRTDLL.84)
     836 */
     837int CDECL CRTDLL__execve( char *s1, char **s2, char **s3)
     838{
     839  dprintf(("CRTDLL: _execve\n"));
     840  return (_execve(s1, s2, s3));
     841}
     842
     843
     844/*********************************************************************
     845 *           CRTDLL__execvp   (CRTDLL.85)
     846 */
     847int CDECL CRTDLL__execvp( char *s1, char **s2)
     848{
     849  dprintf(("CRTDLL: _execvp\n"));
     850  return (_execvp(s1, s2));
     851}
     852
     853
     854/*********************************************************************
     855 *           CRTDLL__execvpe   (CRTDLL.86)
     856 */
     857int CDECL CRTDLL__execvpe( char *s1, char **s2, char **s3)
     858{
     859  dprintf(("CRTDLL: _execvpe\n"));
     860  return (_execvpe(s1, s2, s3));
     861}
     862
     863
     864/*********************************************************************
    481865 *                  _exit          (CRTDLL.87)
    482866 */
     
    496880  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    497881  return FALSE;
     882}
     883
     884
     885/*********************************************************************
     886 *           CRTDLL__fcloseall   (CRTDLL.89)
     887 */
     888int CDECL CRTDLL__fcloseall( void )
     889{
     890  dprintf(("CRTDLL: _fcloseall\n"));
     891  return (_fcloseall());
    498892}
    499893
     
    561955
    562956
    563  /*********************************************************************
    564  *                  _findclose    (CRTDLL.098)
    565  */
     957/*********************************************************************
     958 *           CRTDLL__filbuf     (CRTDLL.94)
     959 */
     960int CDECL CRTDLL__filbuf(FILE * f)
     961{
     962  dprintf(("CRTDLL: _filbuf not implemented.\n"));
     963  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     964  return FALSE;
     965}
     966
     967
     968/*********************************************************************
     969 *           CRTDLL__filelength     (CRTDLL.96)
     970 */
     971long CDECL CRTDLL__filelength( int i )
     972{
     973  dprintf(("CRTDLL: _filelength\n"));
     974  return (_filelength(i));
     975}
     976
     977
     978/*********************************************************************
     979 *           CRTDLL__fileno     (CRTDLL.97)
     980 */
     981int CDECL CRTDLL__fileno(FILE * f)
     982{
     983  dprintf(("CRTDLL: _fileno\n"));
     984  return (_fileno(f));
     985}
     986
     987
     988/*********************************************************************
     989*                  _findclose    (CRTDLL.098)
     990*/
    566991int CDECL CRTDLL__findclose( long handle )
    567992{
     
    6061031
    6071032/*********************************************************************
     1033 *                  _flsbuf     (CRTDLL.102)
     1034 */
     1035INT CDECL CRTDLL__flsbuf(int i, FILE * f)
     1036{
     1037  dprintf(("CRTDLL: _flsbuf not implemented.\n"));
     1038  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1039  return FALSE;
     1040}
     1041
     1042
     1043/*********************************************************************
     1044 *                  _flushall     (CRTDLL.103)
     1045 */
     1046INT CDECL CRTDLL__flushall(void)
     1047{
     1048  dprintf(("CRTDLL: _flushall\n"));
     1049  return (_flushall());
     1050}
     1051
     1052
     1053/*********************************************************************
     1054 *                  _fpclass     (CRTDLL.105)
     1055 */
     1056INT CDECL CRTDLL__fpclass( double x )
     1057{
     1058  dprintf(("CRTDLL: _fpclass not implemented.\n"));
     1059  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1060  return FALSE;
     1061}
     1062
     1063
     1064/*********************************************************************
     1065 *                  _fpieee_flt     (CRTDLL.106)
     1066 */
     1067INT CDECL CRTDLL__fpieee_flt( unsigned long exc_code, struct _EXCEPTION_POINTERS *exc_info, int handler)
     1068{
     1069  dprintf(("CRTDLL: _fpieee_flt not implemented.\n"));
     1070  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1071  return FALSE;
     1072}
     1073
     1074
     1075
     1076/*********************************************************************
    6081077 *                  _fpreset     (CRTDLL.107)
    6091078 */
     
    6811150
    6821151/*********************************************************************
     1152 *                  _futime        (CRTDLL.115)
     1153 */
     1154int CDECL CRTDLL__futime( int handle, struct _utimbuf *filetime )
     1155{
     1156  dprintf(("CRTDLL: _futime not implemented.\n"));
     1157  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1158  return FALSE;
     1159}
     1160
     1161
     1162/*********************************************************************
    6831163 *                  _gcvt     (CRTDLL.116)
    6841164 */
     
    7631243
    7641244/*********************************************************************
     1245 *                  _getdrives    (CRTDLL.125)
     1246 */
     1247unsigned long CDECL CRTDLL__getdrives(void)
     1248{
     1249  dprintf(("CRTDLL: _getdrives not implemented.\n"));
     1250  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1251  return FALSE;
     1252}
     1253
     1254
     1255/*********************************************************************
     1256 *                  _getpid    (CRTDLL.126)
     1257 */
     1258int CDECL CRTDLL__getpid( void )
     1259{
     1260  dprintf(("CRTDLL: _getpid\n"));
     1261  return (_getpid());
     1262}
     1263
     1264
     1265/*********************************************************************
    7651266 *                  _getw     (CRTDLL.128)
    7661267 */
     
    8211322  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    8221323  return FALSE;
     1324}
     1325
     1326
     1327/*********************************************************************
     1328 *                  _hypot     (CRTDLL.134)
     1329 */
     1330double CDECL CRTDLL__hypot(double x1, double x2)
     1331{
     1332  dprintf(("CRTDLL: _hypot not implemented.\n"));
     1333  return (_hypot(x1, x2));
    8231334}
    8241335
     
    11281639
    11291640
     1641/*********************************************************************
     1642 *                  _ismbslead     (CRTDLL.162)
     1643 */
     1644int CDECL CRTDLL__ismbslead(const unsigned char *s1, const unsigned char *s2)
     1645{
     1646  dprintf(("CRTDLL: _ismbslead not implemented.\n"));
     1647  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1648  return FALSE;
     1649}
     1650
     1651
     1652/*********************************************************************
     1653 *                  _ismbstrail     (CRTDLL.163)
     1654 */
     1655int CDECL CRTDLL__ismbstrail(const unsigned char *s1, const unsigned char *s2)
     1656{
     1657  dprintf(("CRTDLL: _ismbstrail not implemented.\n"));
     1658  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1659  return FALSE;
     1660}
     1661
     1662
     1663/*********************************************************************
     1664 *                  _isnan     (CRTDLL.164)
     1665 */
     1666int CDECL CRTDLL__isnan( double x )
     1667{
     1668  dprintf(("CRTDLL: _isnan not implemented.\n"));
     1669  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1670  return FALSE;
     1671}
     1672
     1673
     1674/*********************************************************************
     1675 *                  _j0     (CRTDLL.166)
     1676 */
     1677double CDECL CRTDLL__j0(double x)
     1678{
     1679  dprintf(("CRTDLL: _j0\n"));
     1680  return (_j0(x));
     1681}
     1682
     1683
     1684/*********************************************************************
     1685 *                  _j1     (CRTDLL.167)
     1686 */
     1687double CDECL CRTDLL__j1(double x)
     1688{
     1689  dprintf(("CRTDLL: _j1\n"));
     1690  return (_j1(x));}
     1691
     1692
     1693/*********************************************************************
     1694 *                  _jn     (CRTDLL.168)
     1695 */
     1696double CDECL CRTDLL__jn(int i, double x)
     1697{
     1698  dprintf(("CRTDLL: _jn\n"));
     1699  return (_jn(i, x));
     1700}
     1701
     1702
     1703/*********************************************************************
     1704 *                  _kbhit     (CRTDLL.169)
     1705 */
     1706int CDECL CRTDLL__kbhit( void )
     1707{
     1708  dprintf(("CRTDLL: _kbhit\n"));
     1709  return (_kbhit());
     1710}
     1711
     1712
     1713/*********************************************************************
     1714 *                  _lfind     (CRTDLL.170)
     1715 */
     1716void * CDECL CRTDLL__lfind(const void *v1, const void *v2, unsigned int *i1, unsigned int i2,
     1717        int (CDECL *i3)(const void *v3, const void *v4))
     1718{
     1719  dprintf(("CRTDLL: _lfind not implemented.\n"));
     1720  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1721  return FALSE;
     1722//  return (_lfind(v1,v2,i1,i2,i3(v3,v4)));
     1723}
     1724
     1725
    11301726/*******************************************************************
    11311727 *         _local_unwind2  (CRTDLL.172)
     
    11491745
    11501746/*********************************************************************
     1747 *                  _logb     (CRTDLL.174)
     1748 */
     1749double CDECL CRTDLL__logb( double x )
     1750{
     1751  dprintf(("CRTDLL: _logb not implemented.\n"));
     1752  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1753  return FALSE;
     1754}
     1755
     1756
     1757/*********************************************************************
    11511758 *                  _lrotl      (CRTDLL.175)
    11521759 */
     
    11651772  dprintf(("CRTDLL: _lrotr\n"));
    11661773  return (_lrotr(value, shift));
     1774}
     1775
     1776
     1777/*********************************************************************
     1778 *                  _lsearch   (CRTDLL.177)
     1779 */
     1780void * CDECL CRTDLL__lsearch(const void *v1, void  *v2, unsigned int *i1, unsigned int i2,
     1781        int (CDECL *i3)(const void *v3, const void *v4))
     1782{
     1783  dprintf(("CRTDLL: _lsearch not implemented.\n"));
     1784  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1785  return FALSE;
     1786//  return (_lsearch(v1,v2,i1,i2,i3(v3,v4)));
    11671787}
    11681788
     
    17132333
    17142334/*********************************************************************
     2335 *           CRTDLL__mbstrlen   (CRTDLL.228)
     2336 */
     2337size_t CDECL CRTDLL__mbstrlen(const char *s)
     2338{
     2339  dprintf(("CRTDLL: _mbstrlen not implemented.\n"));
     2340  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2341  return FALSE;
     2342}
     2343
     2344
     2345/*********************************************************************
    17152346 *           CRTDLL__mbsupr    (CRTDLL.229)
    17162347 */
     
    17182349{
    17192350  dprintf(("CRTDLL: _mbsupr not implemented.\n"));
     2351  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2352  return FALSE;
     2353}
     2354
     2355
     2356/*********************************************************************
     2357 *           CRTDLL__memccpy   (CRTDLL.230)
     2358 */
     2359void * CDECL CRTDLL__memccpy(void *v1, const void *v2, int i, size_t s)
     2360{
     2361  dprintf(("CRTDLL: _memccpy not implemented.\n"));
    17202362  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    17212363  return FALSE;
     
    17532395  dprintf(("CRTDLL: _msize\n"));
    17542396  return (_msize(ptr));
     2397}
     2398
     2399
     2400/*********************************************************************
     2401 *                  _nextafter        (CRTDLL.235)
     2402 */
     2403double CDECL CRTDLL__nextafter( double x, double y )
     2404{
     2405  dprintf(("CRTDLL: _nextafter not implemented.\n"));
     2406  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2407  return FALSE;
     2408}
     2409
     2410
     2411/*********************************************************************
     2412 *                  _onexit        (CRTDLL.236)
     2413 */
     2414onexit_t CDECL CRTDLL__onexit(onexit_t t)
     2415{
     2416  dprintf(("CRTDLL: _onexit\n"));
     2417  return (_onexit(t));
    17552418}
    17562419
     
    18742537}
    18752538
     2539
     2540/*********************************************************************
     2541 *                  _putch     (CRTDLL.250)
     2542 */
     2543INT CDECL CRTDLL__putch( int i )
     2544{
     2545  dprintf(("CRTDLL: _putch\n"));
     2546  return (_putch(i));
     2547}
     2548
     2549
     2550/*********************************************************************
     2551 *                  _putenv     (CRTDLL.251)
     2552 */
     2553INT CDECL CRTDLL__putenv(const char *s)
     2554{
     2555  dprintf(("CRTDLL: _putenv\n"));
     2556  return (_putenv(s));
     2557}
     2558
     2559
     2560/*********************************************************************
     2561 *                  _putw     (CRTDLL.252)
     2562 */
     2563INT CDECL CRTDLL__putw( int binint, FILE *fp )
     2564{
     2565  dprintf(("CRTDLL: _putw not implemented.\n"));
     2566  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2567  return FALSE;
     2568}
     2569
     2570
    18762571/*********************************************************************
    18772572 *                  _read     (CRTDLL.254)
     
    18862581
    18872582/*********************************************************************
    1888  *                  _putw     (CRTDLL.252)
    1889  */
    1890 INT CDECL CRTDLL__putw( int binint, FILE *fp )
    1891 {
    1892   dprintf(("CRTDLL: _putw not implemented.\n"));
    1893   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    1894   return FALSE;
     2583 *                  _rmdir     (CRTDLL.255)
     2584 */
     2585INT CDECL CRTDLL__rmdir(const char *s1)
     2586{
     2587  dprintf(("CRTDLL: _rmdir\n"));
     2588  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2589  return FALSE;
     2590//  return (_rmdir(s1));
     2591}
     2592
     2593
     2594/*********************************************************************
     2595 *                  _rmtmp     (CRTDLL.256)
     2596 */
     2597INT CDECL CRTDLL__rmtmp(void)
     2598{
     2599  dprintf(("CRTDLL: _rmtmp\n"));
     2600  return(_rmtmp());
    18952601}
    18962602
     
    19142620  return (_rotr(value, shift));
    19152621}
    1916  
     2622
     2623
     2624/*********************************************************************
     2625 *           CRTDLL__scalb       (CRTDLL.259)
     2626 */
     2627double CDECL CRTDLL__scalb( double x, long exp )
     2628{
     2629  dprintf(("CRTDLL: _scalb not implemented.\n"));
     2630  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2631  return FALSE;
     2632}
     2633
    19172634
    19182635/*********************************************************************
     
    19222639{
    19232640  dprintf(("CRTDLL: _searchenv not implemented.\n"));
     2641  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2642}
     2643
     2644
     2645/*********************************************************************
     2646 *           CRTDLL__seterrormode        (CRTDLL.261)
     2647 */
     2648void CDECL CRTDLL__seterrormode(int i)
     2649{
     2650  dprintf(("CRTDLL: _seterrormode not implemented.\n"));
    19242651  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    19252652}
     
    19382665/*********************************************************************
    19392666 *                  _setmode           (CRTDLL.263)
    1940  * FIXME: At present we ignore the request to translate CR/LF to LF.
    1941  *
    1942  * We allways translate when we read with fgets, we never do with fread
    1943  *
    19442667 */
    19452668INT CDECL CRTDLL__setmode( INT fh,INT mode)
    19462669{
    1947         /* FIXME */
    1948         dprintf(("on fhandle %d mode %s, STUB.\n",
    1949                       fh,(mode=O_TEXT)?"O_TEXT":
    1950                       (mode=O_BINARY)?"O_BINARY":"UNKNOWN"));
    1951         return -1;
     2670        dprintf(("CRTDLL: _setmode\n"));
     2671        return (_setmode(fh, mode));
    19522672}
    19532673
     
    19642684
    19652685/*********************************************************************
     2686 *           CRTDLL__sopen       (CRTDLL.268)
     2687 */
     2688int CDECL CRTDLL__sopen( const char *s, int i1, int i2, ... )
     2689{
     2690  dprintf(("CRTDLL: _sopen not implemented.\n"));
     2691  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2692  return FALSE;
     2693}
     2694
     2695
     2696/*********************************************************************
     2697 *           CRTDLL__spawnl      (CRTDLL.269)
     2698 */
     2699int CDECL CRTDLL__spawnl( int i, char *s1, char *s2, ... )
     2700{
     2701  dprintf(("CRTDLL: _spawnl not implemented.\n"));
     2702  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2703  return FALSE;
     2704}
     2705
     2706
     2707/*********************************************************************
     2708 *           CRTDLL__spawnle     (CRTDLL.270)
     2709 */
     2710int CDECL CRTDLL__spawnle( int i, char *s1, char *s2, ... )
     2711{
     2712  dprintf(("CRTDLL: _spawnle not implemented.\n"));
     2713  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2714  return FALSE;
     2715}
     2716
     2717
     2718/*********************************************************************
     2719 *           CRTDLL__spawnlp     (CRTDLL.271)
     2720 */
     2721int CDECL CRTDLL__spawnlp( int i, char *s1, char *s2, ... )
     2722{
     2723  dprintf(("CRTDLL: _spawnlp not implemented.\n"));
     2724  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2725  return FALSE;
     2726}
     2727
     2728
     2729/*********************************************************************
     2730 *           CRTDLL__spawnlpe    (CRTDLL.272)
     2731 */
     2732int CDECL CRTDLL__spawnlpe( int i, char *s1, char *s2, ... )
     2733{
     2734  dprintf(("CRTDLL: _spawnlpe not implemented.\n"));
     2735  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2736  return FALSE;
     2737}
     2738
     2739
     2740/*********************************************************************
     2741 *           CRTDLL__spawnv      (CRTDLL.273)
     2742 */
     2743int CDECL CRTDLL__spawnv( int i, char *s1, char ** s2 )
     2744{
     2745  dprintf(("CRTDLL: _spawnv\n"));
     2746  return (_spawnv(i, s1, s2));
     2747}
     2748
     2749
     2750/*********************************************************************
     2751 *           CRTDLL__spawnve     (CRTDLL.274)
     2752 */
     2753int CDECL CRTDLL__spawnve( int i, char *s1, char ** s2, char ** s3 )
     2754{
     2755  dprintf(("CRTDLL: _spawnve\n"));
     2756  return (_spawnve(i, s1, s2, s3));
     2757}
     2758
     2759
     2760/*********************************************************************
     2761 *           CRTDLL__spawnvp     (CRTDLL.275)
     2762 */
     2763int CDECL CRTDLL__spawnvp( int i, char *s1, char ** s2 )
     2764{
     2765  dprintf(("CRTDLL: _spawnvp\n"));
     2766  return (_spawnvp(i, s1, s2));
     2767}
     2768
     2769/*********************************************************************
     2770 *           CRTDLL__spawnv      (CRTDLL.276)
     2771 */
     2772int CDECL CRTDLL__spawnvpe( int i, char *s1, char ** s2, char ** s3 )
     2773{
     2774  dprintf(("CRTDLL: _spawnvpe\n"));
     2775  return (_spawnvpe(i, s1, s2, s3));
     2776}
     2777
     2778
     2779/*********************************************************************
    19662780 *           CRTDLL__stat        (CRTDLL.278)
    19672781 */
     
    19742788
    19752789/*********************************************************************
     2790 *           CRTDLL__statusfp    (CRTDLL.279)
     2791 */
     2792unsigned int CDECL CRTDLL__statusfp( void )
     2793{
     2794  dprintf(("CRTDLL: _statusfp\n"));
     2795  return (_status87());
     2796}
     2797
     2798
     2799/*********************************************************************
    19762800 *           CRTDLL__strdate     (CRTDLL.281)
    19772801 */
     
    20002824  dprintf(("CRTDLL: _strdup\n"));
    20012825  return HEAP_strdupA(GetProcessHeap(),0,ptr);
     2826}
     2827
     2828
     2829/*********************************************************************
     2830 *           CRTDLL__strerror    (CRTDLL.284)
     2831 */
     2832char * CDECL CRTDLL__strerror(const char *s)
     2833{
     2834  dprintf(("CRTDLL: _strerror not implemented\n"));
     2835  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     2836  return FALSE;
     2837//  return (_strerror(s));
    20022838}
    20032839
     
    21092945
    21102946/*********************************************************************
     2947 *           CRTDLL__swab        (CRTDLL.299)
     2948 */
     2949void CDECL CRTDLL__swab(char *s1, char *s2, int i)
     2950{
     2951  dprintf(("CRTDLL: _swab\n"));
     2952  _swab(s1, s2, i);
     2953}
     2954
     2955
     2956/*********************************************************************
     2957 *           CRTDLL__tell        (CRTDLL.302)
     2958 */
     2959long CDECL CRTDLL__tell( int i )
     2960{
     2961  dprintf(("CRTDLL: _tell\n"));
     2962  return (_tell(i));
     2963}
     2964
     2965
     2966/*********************************************************************
    21112967 *           CRTDLL__tempnam     (CRTDLL.303)
    21122968 */
     
    21352991  dprintf(("CRTDLL: _toupper\n"));
    21362992  return (_toupper(n));
     2993}
     2994
     2995
     2996/*********************************************************************
     2997 *           CRTDLL__tzset       (CRTDLL.308)
     2998 */
     2999void CDECL CRTDLL__tzset( void )
     3000{
     3001  dprintf(("CRTDLL: _tzset not implemented.\n"));
     3002  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     3003}
     3004
     3005
     3006/*********************************************************************
     3007 *           CRTDLL__umask       (CRTDLL.310)
     3008 */
     3009int CDECL CRTDLL__umask( int i )
     3010{
     3011  dprintf(("CRTDLL: _umask\n"));
     3012  return (_umask(i));
     3013}
     3014
     3015
     3016/*********************************************************************
     3017 *           CRTDLL__ungetch     (CRTDLL.311)
     3018 */
     3019int CDECL CRTDLL__ungetch( int i )
     3020{
     3021  dprintf(("CRTDLL: _ungetch\n"));
     3022  return (_ungetch(i));
    21373023}
    21383024
     
    22733159
    22743160/*********************************************************************
     3161 *                  _y0     (CRTDLL.332)
     3162 */
     3163double CDECL CRTDLL__y0(double x)
     3164{
     3165  dprintf(("CRTDLL: _y0\n"));
     3166  return (_y0(x));
     3167}
     3168
     3169
     3170/*********************************************************************
     3171 *                  _y1     (CRTDLL.333)
     3172 */
     3173double CDECL CRTDLL__y1(double x)
     3174{
     3175  dprintf(("CRTDLL: _y1\n"));
     3176  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     3177  return (_y1(x));
     3178}
     3179
     3180
     3181/*********************************************************************
     3182 *                  _yn     (CRTDLL.334)
     3183 */
     3184double CDECL CRTDLL__yn(int i, double x)
     3185{
     3186  dprintf(("CRTDLL: _yn\n"));
     3187  return (_yn(i, x));
     3188}
     3189
     3190
     3191/*********************************************************************
    22753192 *                  isleadbyte  (CRTDLL.335)
    22763193 */
  • TabularUnified trunk/src/crtdll/crtdll.def

    r1083 r1118  
    1 ; $Id: crtdll.def,v 1.6 1999-09-28 13:26:35 sandervl Exp $
     1; $Id: crtdll.def,v 1.7 1999-10-04 09:55:55 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    104104    ??3@YAXPAX@Z                = _CRTDLL_delete                @2
    105105    ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z = _CRTDLL_set_new_handler @3
    106 ;   _CIacos                                                     @4
    107 ;   _CIasin                                                     @5
    108 ;   _CIatan                                                     @6
    109 ;   _CIatan2                                                    @7
    110 ;   _CIcos                                                      @8
    111 ;   _CIcosh                                                     @9
    112 ;   _CIexp                                                      @10
    113 ;   _CIfmod                                                     @11
    114 ;   _CIlog                                                      @12
    115 ;   _CIlog10                                                    @13
     106    _CIacos                     = _CRTDLL__CIacos               @4
     107    _CIasin                     = _CRTDLL__CIasin               @5
     108    _CIatan                     = _CRTDLL__CIatan               @6
     109    _CIatan2                    = _CRTDLL__CIatan2              @7
     110    _CIcos                      = _CRTDLL__CIcos                @8
     111    _CIcosh                     = _CRTDLL__CIcosh               @9
     112    _CIexp                      = _CRTDLL__CIexp                @10
     113    _CIfmod                     = _CRTDLL__CIfmod               @11
     114    _CIlog                      = _CRTDLL__CIlog                @12
     115    _CIlog10                    = _CRTDLL__CIlog10              @13
    116116    _CIpow                      = NTDLL__CIpow                  @14
    117 ;   _CIsin                                                      @15
    118 ;   _CIsinh                                                     @16
    119 ;   _CIsqrt                                                     @17
    120 ;   _CItan                                                      @18
    121 ;   _CItanh                                                     @19
     117    _CIsin                      = _CRTDLL__CIsin                @15
     118    _CIsinh                     = _CRTDLL__CIsinh               @16
     119    _CIsqrt                     = _CRTDLL__CIsqrt               @17
     120    _CItan                      = _CRTDLL__CItan                @18
     121    _CItanh                     = _CRTDLL__CItanh               @19
    122122;   _HUGE_dll                                                   @20
    123123    _XcptFilter                 = _CRTDLL__XcptFilter           @21
     
    126126    __argv_dll                  = CRTDLL_argv_dll               @24
    127127    __dllonexit                 = _CRTDLL___dllonexit           @25
    128 ;   __doserrno                                                  @26
     128    __doserrno                  = _CRTDLL___doserrno            @26
    129129;   __fpecode                                                   @27
    130130    __isascii                   = _CRTDLL___isascii             @28
     
    145145    _baseminor_dll              = CRTDLL_baseminor_dll          @43
    146146    _baseversion_dll            = CRTDLL_baseversion_dll        @44
    147 ;   _beep                                                       @45
     147    _beep                       = _CRTDLL__beep                 @45
    148148    _beginthread                = _CRTDLL__beginthread          @46
    149149    _c_exit                     = _CRTDLL__c_exit               @47
    150 ;   _cabs                                                       @48
     150    _cabs                       = _CRTDLL__cabs                 @48
    151151    _cexit                      = _CRTDLL__cexit                @49
    152 ;   _cgets                                                      @50
     152    _cgets                      = _CRTDLL__cgets                @50
    153153    _chdir                      = _CRTDLL__chdir                @51
    154154    _chdrive                    = _CRTDLL__chdrive              @52
    155 ;   _chgsign                                                    @53
    156 ;   _chmod                                                      @54
    157 ;   _chsize                                                     @55
    158 ;   _clearfp                                                    @56
     155    _chgsign                    = _CRTDLL__chgsign              @53
     156    _chmod                      = _CRTDLL__chmod                @54
     157    _chsize                     = _CRTDLL__chsize               @55
     158    _clearfp                    = _CRTDLL__clearfp              @56
    159159    _close                      = _CRTDLL__close                @57
    160160;   _commit                                                     @58
     
    162162    _control87                  = _CRTDLL__control87            @60
    163163    _controlfp                  = _CRTDLL__controlfp            @61
    164 ;   _copysign                                                   @62
    165 ;   _cprintf                                                    @63
     164    _copysign                   = _CRTDLL__copysign             @62
     165    _cprintf                    = _CRTDLL__cprintf              @63
    166166;   _cpumode_dll                                                @64
    167 ;   _cputs                                                      @65
    168 ;   _creat                                                      @66
    169 ;   _cscanf                                                     @67
     167    _cputs                      = _CRTDLL__cputs                @65
     168    _creat                      = _CRTDLL__creat                @66
     169    _cscanf                     = _CRTDLL__cscanf               @67
    170170;   _ctype                                                      @68
    171171    _cwait                      = _CRTDLL__cwait                @69
    172 ;   _daylight_dll                                               @70
     172    _daylight_dll               = CRTDLL_daylight_dll           @70
    173173    _dup                        = _CRTDLL__dup                  @71
    174174    _dup2                       = _CRTDLL__dup2                 @72
     
    179179    _errno                      = _CRTDLL__errno                @77
    180180    _except_handler2            = _CRTDLL__except_handler2      @78
    181 ;   _execl                                                      @79
    182 ;   _execle                                                     @80
    183 ;   _execlp                                                     @81
    184 ;   _execlpe                                                    @82
    185 ;   _execv                                                      @83
    186 ;   _execve                                                     @84
    187 ;   _execvp                                                     @85
    188 ;   _execvpe                                                    @86
     181    _execl                      = _CRTDLL__execl                @79
     182    _execle                     = _CRTDLL__execle               @80
     183    _execlp                     = _CRTDLL__execlp               @81
     184    _execlpe                    = _CRTDLL__execlpe              @82
     185    _execv                      = _CRTDLL__execv                @83
     186    _execve                     = _CRTDLL__execve               @84
     187    _execvp                     = _CRTDLL__execvp               @85
     188    _execvpe                    = _CRTDLL__execvpe              @86
    189189    _exit                       = _CRTDLL__exit                 @87
    190190    _expand                     = _CRTDLL__expand               @88
    191 ;   _fcloseall                                                  @89
     191    _fcloseall                  = _CRTDLL__fcloseall            @89
    192192    _fcvt                       = _CRTDLL__fcvt                 @90
    193193    _fdopen                     = _CRTDLL__fdopen               @91
    194194    _fgetchar                   = _CRTDLL__fgetchar             @92
    195195    _fgetwchar                  = _CRTDLL__fgetwchar            @93
    196 ;   _filbuf                                                     @94
    197 ;   _fileinfo_dll                                               @95
    198 ;   _filelength                                                 @96
    199 ;   _fileno                                                     @97
     196    _filbuf                     = _CRTDLL__filbuf               @94
     197    _fileinfo_dll               = CRTDLL_fileinfo_dll           @95
     198    _filelength                 = _CRTDLL__filelength           @96
     199    _fileno                     = _CRTDLL__fileno               @97
    200200    _findclose                  = _CRTDLL__findclose            @98
    201201    _findfirst                  = _CRTDLL__findfirst            @99
     
    203203
    204204    _finite                     = _CRTDLL__finite               @101
    205 ;   _flsbuf                                                     @102
    206 ;   _flushall                                                   @103
     205    _flsbuf                     = _CRTDLL__flsbuf               @102
     206    _flushall                   = _CRTDLL__flushall             @103
    207207    _fmode_dll                  = CRTDLL_fmode_dll              @104
    208 ;   _fpclass                                                    @105
    209 ;   _fpieee_flt                                                 @106
     208    _fpclass                    = _CRTDLL__fpclass              @105
     209    _fpieee_flt                 = _CRTDLL__fpieee_flt           @106
    210210    _fpreset                    = _CRTDLL__fpreset              @107
    211211    _fputchar                   = _CRTDLL__fputchar             @108
     
    216216    _ftol                       = NTDLL__ftol                   @113
    217217    _fullpath                   = _CRTDLL__fullpath             @114
    218 ;   _futime                                                     @115
     218    _futime                     = _CRTDLL__futime               @115
    219219    _gcvt                       = _CRTDLL__gcvt                 @116
    220220    _get_osfhandle              = _CRTDLL__get_osfhandle        @117
     
    226226;   _getdllprocaddr                                             @123
    227227    _getdrive                   = _CRTDLL__getdrive             @124
    228 ;   _getdrives                                                  @125
    229 ;   _getpid                                                     @126
     228    _getdrives                  = _CRTDLL__getdrives            @125
     229    _getpid                     = _CRTDLL__getpid               @126
    230230;   _getsystime                                                 @127
    231231    _getw                       = _CRTDLL__getw                 @128
     
    235235    _heapset                    = _CRTDLL__heapset              @132
    236236    _heapwalk                   = _CRTDLL__heapwalk             @133
    237 ;   _hypot                                                      @134
    238 ;    _initterm                  = _CRTDLL__initterm             @135
     237    _hypot                      = _CRTDLL__hypot                @134
    239238    _initterm                   = _DLL_InitTerm                 @135
    240239    _iob                        = CRTDLL_iob                    @136
     
    264263    _ismbcsymbol                = _CRTDLL__ismbcsymbol          @160
    265264    _ismbcupper                 = _CRTDLL__ismbcupper           @161
    266 ;   _ismbslead                                                  @162
    267 ;   _ismbstrail                                                 @163
    268 ;   _isnan                                                      @164
     265    _ismbslead                  = _CRTDLL__ismbslead            @162
     266    _ismbstrail                 = _CRTDLL__ismbstrail           @163
     267    _isnan                      = _CRTDLL__isnan                @164
    269268    _itoa                       = NTDLL__itoa                   @165
    270 ;   _j0                                                         @166
    271 ;   _j1                                                         @167
    272 ;   _jn                                                         @168
    273 ;   _kbhit                                                      @169
    274 ;   _lfind                                                      @170
     269    _j0                         = _CRTDLL__j0                   @166
     270    _j1                         = _CRTDLL__j1                   @167
     271    _jn                         = _CRTDLL__jn                   @168
     272    _kbhit                      = _CRTDLL__kbhit                @169
     273    _lfind                      = _CRTDLL__lfind                @170
    275274;   _loaddll                                                    @171
    276275    _local_unwind2              = _CRTDLL__local_unwind2        @172
    277276    _locking                    = _CRTDLL__locking              @173
    278 ;   _logb                                                       @174
     277    _logb                       = _CRTDLL__logb                 @174
    279278    _lrotl                      = _CRTDLL__lrotl                @175
    280279    _lrotr                      = _CRTDLL__lrotr                @176
    281 ;   _lsearch                                                    @177
     280    _lsearch                    = _CRTDLL__lsearch              @177
    282281    _lseek                      = _CRTDLL__lseek                @178
    283282    _ltoa                       = NTDLL__ltoa                   @179
     
    331330    _mbsstr                     = _CRTDLL__mbsstr               @226
    332331    _mbstok                     = _CRTDLL__mbstok               @227
    333 ;   _mbstrlen                                                   @228
     332    _mbstrlen                   = _CRTDLL__mbstrlen             @228
    334333    _mbsupr                     = _CRTDLL__mbsupr               @229
    335 ;   _memccpy                                                    @230
     334    _memccpy                    = _CRTDLL__memccpy              @230
    336335    _memicmp                    = NTDLL__memicmp                @231
    337336    _mkdir                      = _CRTDLL__mkdir                @232
    338337    _mktemp                     = _CRTDLL__mktemp               @233
    339338    _msize                      = _CRTDLL__msize                @234
    340 ;   _nextafter                                                  @235
    341 ;   _onexit                                                     @236
     339    _nextafter                  = _CRTDLL__nextafter            @235
     340    _onexit                     = _CRTDLL__onexit               @236
    342341    _open                       = _CRTDLL__open                 @237
    343342    _open_osfhandle             = _CRTDLL__open_osfhandle       @238
     
    353352    _popen                      = _CRTDLL__popen                @248
    354353;   _purecall                                                   @249
    355 ;   _putch                                                      @250
    356 ;   _putenv                                                     @251
     354    _putch                      = _CRTDLL__putch                @250
     355    _putenv                     = _CRTDLL__putenv               @251
    357356    _putw                       = _CRTDLL__putw                 @252
    358357;   _pwctype_dll                                                @253
    359358    _read                       = _CRTDLL__read                 @254
    360 ;   _rmdir                                                      @255
    361 ;   _rmtmp                                                      @256
     359    _rmdir                      = _CRTDLL__rmdir                @255
     360    _rmtmp                      = _CRTDLL__rmtmp                @256
    362361    _rotl                       = _CRTDLL__rotl                 @257
    363362    _rotr                       = _CRTDLL__rotr                 @258
    364 ;   _scalb                                                      @259
     363    _scalb                      = _CRTDLL__scalb                @259
    365364    _searchenv                  = _CRTDLL__searchenv            @260
    366 ;   _seterrormode                                               @261
     365    _seterrormode               = _CRTDLL__seterrormode         @261
    367366    _setjmp                     = _CRTDLL__setjmp               @262
    368     _setmode                                                    @263
     367    _setmode                    = _CRTDLL__setmode              @263
    369368;   _setsystime                                                 @264
    370369    _sleep                      = _CRTDLL__sleep                @265
    371370    _snprintf                   = NTDLL__snprintf               @266
    372371    _snwprintf                  = NTDLL__snwprintf              @267
    373 ;   _sopen                                                      @268
    374 ;   _spawnl                                                     @269
    375 ;   _spawnle                                                    @270
    376 ;   _spawnlp                                                    @271
    377 ;   _spawnlpe                                                   @272
    378 ;   _spawnv                                                     @273
    379 ;   _spawnve                                                    @274
    380 ;   _spawnvp                                                    @275
    381 ;   _spawnvpe                                                   @276
     372    _sopen                      = _CRTDLL__sopen                @268
     373    _spawnl                     = _CRTDLL__spawnl               @269
     374    _spawnle                    = _CRTDLL__spawnle              @270
     375    _spawnlp                    = _CRTDLL__spawnlp              @271
     376    _spawnlpe                   = _CRTDLL__spawnlpe             @272
     377    _spawnv                     = _CRTDLL__spawnv               @273
     378    _spawnve                    = _CRTDLL__spawnve              @274
     379    _spawnvp                    = _CRTDLL__spawnvp              @275
     380    _spawnvpe                   = _CRTDLL__spawnvpe             @276
    382381    _splitpath                  = NTDLL__splitpath              @277
    383382    _stat                       = _CRTDLL__stat                 @278
    384 ;   _statusfp                                                   @279
     383    _statusfp                   = _CRTDLL__statusfp             @279
    385384    _strcmpi                    = NTDLL__strcmpi                @280
    386385    _strdate                    = _CRTDLL__strdate              @281
    387386    _strdec                     = _CRTDLL__strdec               @282
    388387    _strdup                     = _CRTDLL__strdup               @283
    389 ;   _strerror                                                   @284
     388    _strerror                   = _CRTDLL__strerror             @284
    390389    _stricmp                    = NTDLL__stricmp                @285
    391390    _stricoll                   = _CRTDLL__stricoll             @286
     
    402401    _strtime                    = _CRTDLL__strtime              @297
    403402    _strupr                     = NTDLL__strupr                 @298
    404 ;   _swab                                                       @299
    405 
    406 ;   _sys_errlist                                                @300
    407 ;   _sys_nerr_dll                                               @301
    408 ;   _tell                                                       @302
     403    _swab                       = _CRTDLL__swab                 @299
     404
     405    _sys_errlist                = CRTDLL_sys_errlist            @300
     406    _sys_nerr_dll               = CRTDLL_sys_nerr_dll           @301
     407    _tell                       = _CRTDLL__tell                 @302
    409408    _tempnam                    = _CRTDLL__tempnam              @303
    410 ;   _timezone_dll                                               @304
     409    _timezone_dll               = CRTDLL_timezone_dll           @304
    411410    _tolower                    = _CRTDLL__tolower              @305
    412411    _toupper                    = _CRTDLL__toupper              @306
    413 ;   _tzname                                                     @307
    414 ;   _tzset                                                      @308
     412    _tzname                     = CRTDLL_tzname                 @307
     413    _tzset                      = _CRTDLL__tzset                @308
    415414    _ultoa                      = NTDLL__ultoa                  @309
    416 ;   _umask                                                      @310
    417 ;   _ungetch                                                    @311
     415    _umask                      = _CRTDLL__umask                @310
     416    _ungetch                    = _CRTDLL__ungetch              @311
    418417    _unlink                     = _CRTDLL__unlink               @312
    419418;   _unloaddll                                                  @313
     
    436435    _wtoi                       = NTDLL__wtoi                   @330
    437436    _wtol                       = NTDLL__wtol                   @331
    438 ;   _y0                                                         @332
    439 ;   _y1                                                         @333
    440 ;   _yn                                                         @334
     437    _y0                         = _CRTDLL__y0                   @332
     438    _y1                         = _CRTDLL__y1                   @333
     439    _yn                         = _CRTDLL__yn                   @334
    441440    abort                       = _CRTDLL_abort                 @335
    442441    abs                         = NTDLL_abs                     @336
  • TabularUnified trunk/src/crtdll/crtinc.h

    r1012 r1118  
    1 /* $Id: crtinc.h,v 1.3 1999-09-23 09:38:04 sandervl Exp $ */
     1/* $Id: crtinc.h,v 1.4 1999-10-04 09:55:56 sandervl Exp $ */
    22
    33/* Definitions for the CRTDLL library (CRTDLL.DLL)
     
    4949CRTDLL_FILE * CDECL CRTDLL__fdopen(INT handle, LPCSTR mode);
    5050
    51 UINT CRTDLL_argc_dll;         /* CRTDLL.23 */
    52 LPSTR *CRTDLL_argv_dll;         /* CRTDLL.24 */
    53 LPSTR  CRTDLL_acmdln_dll;       /* CRTDLL.38 */
    54 UINT CRTDLL_basemajor_dll;    /* CRTDLL.42 */
    55 UINT CRTDLL_baseminor_dll;    /* CRTDLL.43 */
    56 UINT CRTDLL_baseversion_dll;  /* CRTDLL.44 */
    57 UINT CRTDLL_commode_dll;      /* CRTDLL.59 */
    58 LPSTR  CRTDLL_environ_dll;      /* CRTDLL.75 */
    59 UINT CRTDLL_fmode_dll;        /* CRTDLL.104 */
    60 UINT CRTDLL_osmajor_dll;      /* CRTDLL.241 */
    61 UINT CRTDLL_osminor_dll;      /* CRTDLL.242 */
    62 UINT CRTDLL_osmode_dll;       /* CRTDLL.243 */
    63 UINT CRTDLL_osver_dll;        /* CRTDLL.244 */
    64 UINT CRTDLL_osversion_dll;    /* CRTDLL.245 */
    65 UINT CRTDLL_winmajor_dll;     /* CRTDLL.329 */
    66 UINT CRTDLL_winminor_dll;     /* CRTDLL.330 */
    67 UINT CRTDLL_winver_dll;       /* CRTDLL.331 */
     51
     52
     53UINT    CRTDLL_argc_dll;         /* CRTDLL.23 */
     54LPSTR   *CRTDLL_argv_dll;        /* CRTDLL.24 */
     55LPSTR   CRTDLL_acmdln_dll;       /* CRTDLL.38 */
     56UINT    CRTDLL_basemajor_dll;    /* CRTDLL.42 */
     57UINT    CRTDLL_baseminor_dll;    /* CRTDLL.43 */
     58UINT    CRTDLL_baseversion_dll;  /* CRTDLL.44 */
     59UINT    CRTDLL_commode_dll;      /* CRTDLL.59 */
     60UINT    CRTDLL_daylight_dll;     /* CRTDLL.70 */
     61LPSTR   CRTDLL_environ_dll;      /* CRTDLL.75 */
     62LPSTR   CRTDLL_fileinfo_dll;     /* CRTDLL.95 */
     63UINT    CRTDLL_fmode_dll;        /* CRTDLL.104 */
     64UINT    CRTDLL_osmajor_dll;      /* CRTDLL.239 */
     65UINT    CRTDLL_osminor_dll;      /* CRTDLL.240 */
     66UINT    CRTDLL_osmode_dll;       /* CRTDLL.241 */
     67UINT    CRTDLL_osver_dll;        /* CRTDLL.242 */
     68UINT    CRTDLL_osversion_dll;    /* CRTDLL.243 */
     69UINT    CRTDLL_sys_errlist;      /* CRTDLL.300 */
     70UINT    CRTDLL_sys_nerr_dll;     /* CRTDLL.301 */
     71UINT    CRTDLL_timezone_dll;     /* CRTDLL.304 */
     72LPSTR   CRTDLL_tzname;           /* CRTDLL.307 */
     73UINT    CRTDLL_winmajor_dll;     /* CRTDLL.326 */
     74UINT    CRTDLL_winminor_dll;     /* CRTDLL.327 */
     75UINT    CRTDLL_winver_dll;       /* CRTDLL.328 */
    6876
    6977INT CDECL NTDLL__wcsicmp( LPCWSTR str1, LPCWSTR str2 );
  • TabularUnified trunk/src/dplay/dplay.cpp

    r939 r1118  
    1 /* $Id: dplay.cpp,v 1.1 1999-09-15 15:38:47 phaller Exp $ */
     1/* $Id: dplay.cpp,v 1.2 1999-10-04 09:55:56 sandervl Exp $ */
    22
    33/* Direct Play 3 and Direct Play Lobby 2 Implementation
     
    88
    99#include <odin.h>
     10#include <os2win.h>
    1011
    1112#define ICOM_CINTERFACE 1
  • TabularUnified trunk/src/kernel32/os2heap.cpp

    r1104 r1118  
    1 /* $Id: os2heap.cpp,v 1.10 1999-10-01 16:03:10 sandervl Exp $ */
     1/* $Id: os2heap.cpp,v 1.11 1999-10-04 09:55:56 sandervl Exp $ */
    22
    33/*
     
    150150  heapelem->flags   = 0;    //only used when allocated with LocalAlloc
    151151  heapelem->lockCnt = 0;    //..    ..
     152  heapelem->magic   = MAGIC_NR_HEAP;
    152153
    153154  if(hmutex) {
     
    179180    return(FALSE);
    180181
     182  if(helem->magic != MAGIC_NR_HEAP)
     183  {
     184    dprintf(("OS2Heap::Lock ERROR BAD HEAP POINTER:%X\n", lpMem));
     185    return FALSE;
     186  }
     187
    181188  helem->lockCnt++;
    182189
     
    195202    return(FALSE);
    196203
     204  if(helem->magic != MAGIC_NR_HEAP)
     205  {
     206    dprintf(("OS2Heap::UnLock ERROR BAD HEAP POINTER:%X\n", lpMem));
     207    return FALSE;
     208  }
     209
    197210  helem->lockCnt--;
    198211
     
    208221    return(FALSE);
    209222
     223  if(helem->magic != MAGIC_NR_HEAP)
     224  {
     225    dprintf(("OS2Heap::GetFlags ERROR BAD HEAP POINTER:%X\n", lpMem));
     226    return FALSE;
     227  }
     228
    210229  return(helem->flags);
    211230}
     
    219238    return(666);
    220239
     240  if(helem->magic != MAGIC_NR_HEAP)
     241  {
     242    dprintf(("OS2Heap::GetLockCnt ERROR BAD HEAP POINTER:%X\n", lpMem));
     243    return FALSE;
     244  }
     245
    221246  return(helem->lockCnt);
    222247}
     
    235260LPVOID OS2Heap::ReAlloc(DWORD dwFlags, LPVOID lpMem, DWORD dwBytes)
    236261{
     262  HEAPELEM *helem = (HEAPELEM *)((char *)lpMem - sizeof(HEAPELEM));
    237263  LPVOID lpNewMem;
    238264  int    i;
     
    245271//  if (lpMem == 0)   return NULL;
    246272
     273  if (helem->magic != MAGIC_NR_HEAP)
     274  {
     275    dprintf(("OS2Heap::ReAlloc ERROR BAD HEAP POINTER:%X\n", lpMem));
     276    return lpMem;
     277  }
     278
    247279  if (Size(0,lpMem) == dwBytes) return lpMem; // if reallocation with same size
    248280                                                // don't do anything
     
    267299    return(FALSE);
    268300  }
     301
     302  if(helem->magic != MAGIC_NR_HEAP)
     303  {
     304    dprintf(("OS2Heap::Free ERROR BAD HEAP POINTER:%X\n", lpMem));
     305    return FALSE;
     306  }
     307
    269308#ifdef DEBUG1
    270309  int size = Size(0, lpMem);
  • TabularUnified trunk/src/kernel32/os2heap.h

    r99 r1118  
    1 /* $Id: os2heap.h,v 1.3 1999-06-10 19:11:30 phaller Exp $ */
     1/* $Id: os2heap.h,v 1.4 1999-10-04 09:55:57 sandervl Exp $ */
    22
    33/*
     
    1717#include "vmutex.h"
    1818
     19#define MAGIC_NR_HEAP  0x87654321
    1920typedef struct _tagHEAPELEM {
     21  DWORD  magic;     //magic number
    2022  struct _tagHEAPELEM *prev;
    2123  struct _tagHEAPELEM *next;
  • TabularUnified trunk/src/kernel32/winimgres.cpp

    r1016 r1118  
    1 /* $Id: winimgres.cpp,v 1.17 1999-09-23 14:12:14 phaller Exp $ */
     1/* $Id: winimgres.cpp,v 1.18 1999-10-04 09:55:57 sandervl Exp $ */
    22
    33/*
     
    1111 * TODO: Check created resource objects before loading the resource!
    1212 * TODO: Is the name id of the version resource always 1?
    13  * TODO: Once the resource handling in PE2LX/win32k is changed,
     13 * TODO: Once the resource handling in PE2LX/win32k is changed, 
    1414 *       getVersionStruct/Size can be moved into the Win32ImageBase class
    1515 *
     
    3636//PE spec says names & ids are sorted; keep on searching just to be sure
    3737//******************************************************************************
    38 PIMAGE_RESOURCE_DATA_ENTRY
     38PIMAGE_RESOURCE_DATA_ENTRY 
    3939 Win32ImageBase::getPEResourceEntry(ULONG id, ULONG type, ULONG lang)
    4040{
     
    7373    prdType = (PIMAGE_RESOURCE_DIRECTORY)((int)pResDir + (int)prde->u2.OffsetToData);
    7474
    75     if(i < pResDir->NumberOfNamedEntries)
     75    if(i < pResDir->NumberOfNamedEntries) 
    7676    {//name or id entry?
    7777        //SvL: 30-10-'97, high bit is set, so clear to get real offset
     
    8282        lstrcpynWtoA(typename, pstring->NameString, pstring->Length+1);
    8383        typename[pstring->Length] = 0;
    84 
     84       
    8585        if(!fNumType) {
    8686            if(stricmp(typename, (char *)type) == 0) {
     
    380380HRSRC Win32ImageBase::findResourceW(LPWSTR lpszName, LPWSTR lpszType, ULONG lang)
    381381{
    382   HRSRC hres;
    383   char *astring1 = NULL,
    384        *astring2 = NULL;
    385   BOOL fAllocated1 = FALSE;
    386   BOOL fAllocated2 = FALSE;
    387 
    388   if(HIWORD(lpszName) != 0)
    389   {
    390     astring1 = UnicodeToAsciiString((LPWSTR)lpszName);
    391     fAllocated1 = TRUE;
    392   }
    393   else
    394     astring1 = (char *)lpszName;
    395 
    396   if(HIWORD(lpszType) != 0)
    397   {
    398     astring2 = UnicodeToAsciiString(lpszType);
    399     fAllocated2 = TRUE;
    400   }
    401   else
    402     astring2 = (char *)lpszType;
    403   hres = (HRSRC) findResourceA(astring1, astring2);
    404 
    405    /* do NOT free untranslated numerical Resource IDs */
    406   if(fAllocated1) FreeAsciiString(astring1);
    407   if(fAllocated2) FreeAsciiString(astring2);
    408 
    409   return(hres);
     382 HRSRC hres;
     383 char *astring1 = NULL, *astring2 = NULL;
     384
     385    if(HIWORD(lpszName) != 0) {
     386                astring1 = UnicodeToAsciiString(lpszName);
     387    }
     388    else        astring1 = (char *)lpszName;
     389
     390    if(HIWORD(lpszType) != 0) {
     391                astring2 = UnicodeToAsciiString(lpszType);
     392    }
     393    else        astring2 = (char *)lpszType;
     394
     395    hres = (HRSRC) findResourceA(astring1, astring2);
     396
     397    if(HIWORD(astring1)) FreeAsciiString(astring1);
     398    if(HIWORD(astring2)) FreeAsciiString(astring2);
     399
     400    return(hres);
    410401}
    411402//******************************************************************************
     
    427418ULONG Win32ImageBase::getResourceSizeW(LPCWSTR lpszName, LPWSTR lpszType, ULONG lang)
    428419{
    429   char *astring1 = NULL,
    430        *astring2 = NULL;
    431   ULONG ressize;
    432   BOOL fAllocated1 = FALSE;
    433   BOOL fAllocated2 = FALSE;
    434 
    435   if(HIWORD(lpszName) != 0)
    436   {
    437     astring1 = UnicodeToAsciiString((LPWSTR)lpszName);
    438     fAllocated1 = TRUE;
    439   }
    440   else
    441     astring1 = (char *)lpszName;
    442 
    443   if(HIWORD(lpszType) != 0)
    444   {
    445     astring2 = UnicodeToAsciiString(lpszType);
    446     fAllocated2 = TRUE;
    447   }
    448   else
    449     astring2 = (char *)lpszType;
    450 
    451   ressize =  getResourceSizeA(astring1, astring2, lang);
    452 
    453   /* do NOT free untranslated numerical Resource IDs */
    454   if(fAllocated1) FreeAsciiString(astring1);
    455   if(fAllocated2) FreeAsciiString(astring2);
    456 
    457   return(ressize);
     420 char *astring1 = NULL, *astring2 = NULL;
     421 ULONG ressize;
     422
     423    if(HIWORD(lpszName) != 0) {
     424                astring1 = UnicodeToAsciiString((LPWSTR)lpszName);
     425    }
     426    else        astring1 = (char *)lpszName;
     427
     428    if(HIWORD(lpszType) != 0) {
     429                astring2 = UnicodeToAsciiString(lpszType);
     430    }
     431    else        astring2 = (char *)lpszType;
     432
     433    ressize =  getResourceSizeA(astring2, astring1, lang);
     434
     435    if(HIWORD(astring1)) FreeAsciiString(astring1);
     436    if(HIWORD(astring2)) FreeAsciiString(astring2);
     437
     438    return(ressize);
    458439}
    459440//******************************************************************************
     
    489470 PIMAGE_RESOURCE_DATA_ENTRY      pData = NULL;
    490471
     472  if(verstruct == NULL || bufLength == 0) {
     473        SetLastError(ERROR_INVALID_PARAMETER);
     474        return FALSE;
     475  }
    491476  pData = getPEResourceEntry(1, NTRT_VERSION);
    492477  if(pData == NULL) {
     
    494479        return 0;
    495480  }
    496   return pData->Size;
    497 }
    498 //******************************************************************************
    499 //******************************************************************************
     481  char *resdata = (char *)((char *)pResDir + pData->OffsetToData - pResourceSectionStart);
     482  memcpy(verstruct, resdata, min(bufLength, pData->Size));
     483  return TRUE;
     484}
     485//******************************************************************************
     486//******************************************************************************
  • TabularUnified trunk/src/kernel32/wprocess.cpp

    r1052 r1118  
    1 /* $Id: wprocess.cpp,v 1.33 1999-09-25 17:55:21 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.34 1999-10-04 09:55:57 sandervl Exp $ */
    22
    33/*
     
    646646BOOL SYSTEM GetVersionStruct(char *modname, char *verstruct, ULONG bufLength)
    647647{
    648  HINSTANCE       hinstance;
    649648 Win32ImageBase *winimage;
    650649
    651650  dprintf(("GetVersionStruct"));
    652   hinstance = OSLibQueryModuleHandle(modname);
    653   if(hinstance == 0) {
    654         dprintf(("GetVersionStruct can't find handle for %s\n", modname));
    655         return(FALSE);
    656   }
    657   if(WinExe && WinExe->getInstanceHandle() == hinstance) {
     651  if(WinExe && !strcmp(WinExe->getFullPath(), modname)) {
    658652        winimage = (Win32ImageBase *)WinExe;
    659653  }
    660654  else {
    661         winimage = (Win32ImageBase *)Win32DllBase::findModule(hinstance);
     655        winimage = (Win32ImageBase *)Win32DllBase::findModule(modname);
    662656        if(winimage == NULL) {
    663657                dprintf(("GetVersionStruct can't find Win32Image for %s\n", modname));
     
    671665ULONG SYSTEM GetVersionSize(char *modname)
    672666{
    673  HINSTANCE       hinstance;
    674667 Win32ImageBase *winimage;
    675668
    676669  dprintf(("GetVersionSize of %s\n", modname));
    677   hinstance = OSLibQueryModuleHandle(modname);
    678   if(hinstance == 0) {
    679         dprintf(("GetVersionSize can't find handle for %s\n", modname));
    680         return(FALSE);
    681   }
    682 
    683   if(WinExe && WinExe->getInstanceHandle() == hinstance) {
     670
     671  if(WinExe && !strcmp(WinExe->getFullPath(), modname)) {
    684672        winimage = (Win32ImageBase *)WinExe;
    685673  }
    686674  else {
    687         winimage = (Win32ImageBase *)Win32DllBase::findModule(hinstance);
     675        winimage = (Win32ImageBase *)Win32DllBase::findModule(modname);
    688676        if(winimage == NULL) {
    689677                dprintf(("GetVersionSize can't find Win32Image for %s\n", modname));
  • TabularUnified trunk/src/makefile

    r1083 r1118  
    1 # $Id: makefile,v 1.22 1999-09-28 13:26:52 sandervl Exp $
     1# $Id: makefile,v 1.23 1999-10-04 09:55:53 sandervl Exp $
    22
    33#
     
    9595        cd ..\wnaspi32
    9696        $(MAKE_CMD)
    97         cd ..\dsound
    98         $(MAKE_CMD)
     97#        cd ..\dsound
     98#        $(MAKE_CMD)
    9999
    100100clean:
  • TabularUnified trunk/src/msacm32/msacm32.cpp

    r1012 r1118  
    1 /* $Id: msacm32.cpp,v 1.2 1999-09-23 09:38:04 sandervl Exp $ */
     1/* $Id: msacm32.cpp,v 1.3 1999-10-04 09:55:58 sandervl Exp $ */
    22/*
    33 *      MSACM32 library
     
    77 */
    88
    9 #include <winbase.h>
     9#include <os2win.h>
    1010#include <winerror.h>
    1111#include <windef.h>
  • TabularUnified trunk/src/msvcrt/msvcrt.cpp

    r1103 r1118  
    1 /* $Id: msvcrt.cpp,v 1.2 1999-10-01 16:02:32 sandervl Exp $ */
     1/* $Id: msvcrt.cpp,v 1.3 1999-10-04 09:55:58 sandervl Exp $ */
    22
    33/*
     
    6868
    6969/*********************************************************************
     70 *                  _get_sbh_threshold    (MSVCRT.247)
     71 */
     72size_t CDECL MSVCRT__get_sbh_threshold( void )
     73{
     74  dprintf(("MSVCRT: _get_sbh_threshold not implemented.\n"));
     75  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     76  return FALSE;
     77}
     78
     79
     80/*********************************************************************
     81 *                  _getmbcp    (MSVCRT.257)
     82 */
     83int CDECL MSVCRT__getmbcp( void )
     84{
     85  dprintf(("MSVCRT: _getmbcp not implemented.\n"));
     86  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     87  return FALSE;
     88}
     89
     90
     91/*********************************************************************
    7092 *                  _getws    (MSVCRT.261)
    7193 */
     
    79101
    80102/*********************************************************************
     103 *                  _inp    (MSVCRT.273)
     104 */
     105int CDECL MSVCRT__inp( unsigned short port )
     106{
     107  dprintf(("MSVCRT: _inp not implemented.\n"));
     108  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     109  return FALSE;
     110}
     111
     112
     113/*********************************************************************
     114 *                  _inpw    (MSVCRT.274)
     115 */
     116unsigned short CDECL MSVCRT__inpw( unsigned short port )
     117{
     118  dprintf(("MSVCRT: _inpw not implemented.\n"));
     119  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     120  return FALSE;
     121}
     122
     123
     124/*********************************************************************
     125 *                  _inpd    (MSVCRT.275)
     126 */
     127unsigned long CDECL MSVCRT__inpd( unsigned short port )
     128{
     129  dprintf(("MSVCRT: _inpd not implemented.\n"));
     130  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     131  return FALSE;
     132}
     133
     134
     135/*********************************************************************
    81136 *                  _ismbbkprint    (MSVCRT.284)
    82137 */
     
    123178
    124179/*********************************************************************
     180 *                  _itow    (MSVCRT.310)
     181 */
     182wchar_t * CDECL MSVCRT__itow( int value, wchar_t *string, int radix )
     183{
     184  dprintf(("MSVCRT: _itow not implemented.\n"));
     185  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     186  return FALSE;
     187}
     188
     189
     190/*********************************************************************
     191 *                  _ltow    (MSVCRT.328)
     192 */
     193wchar_t * CDECL MSVCRT__ltow( long value, wchar_t *string, int radix )
     194{
     195  dprintf(("MSVCRT: _ltow not implemented.\n"));
     196  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     197  return FALSE;
     198}
     199
     200
     201/*********************************************************************
     202 *                  _outp    (MSVCRT.395)
     203 */
     204int CDECL MSVCRT__outp( unsigned short port, int databyte )
     205{
     206  dprintf(("MSVCRT: _outp not implemented.\n"));
     207  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     208  return FALSE;
     209}
     210
     211
     212/*********************************************************************
     213 *                  _outpw    (MSVCRT.396)
     214 */
     215unsigned short CDECL MSVCRT__outpw( unsigned short port, unsigned short dataword )
     216{
     217  dprintf(("MSVCRT: _outpw not implemented.\n"));
     218  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     219  return FALSE;
     220}
     221
     222
     223/*********************************************************************
     224 *                  _outpd    (MSVCRT.397)
     225 */
     226unsigned long CDECL MSVCRT__outpd( unsigned short port, unsigned long dataword )
     227{
     228  dprintf(("MSVCRT: _outpd not implemented.\n"));
     229  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     230  return FALSE;
     231}
     232
     233
     234/*********************************************************************
    125235 *                  _putws    (MSVCRT.407)
    126236 */
     
    134244
    135245/*********************************************************************
     246 *                  _set_error_mode    (MSVCRT.421)
     247 */
     248int CDECL MSVCRT__set_error_mode( int modeval )
     249{
     250  dprintf(("MSVCRT: _set_error_mode not implemented.\n"));
     251  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     252  return FALSE;
     253}
     254
     255
     256/*********************************************************************
     257 *                  _set_sbh_threshold    (MSVCRT.422)
     258 */
     259int CDECL MSVCRT__set_sbh_threshold( size_t size )
     260{
     261  dprintf(("MSVCRT: _set_sbh_threshold not implemented.\n"));
     262  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     263  return FALSE;
     264}
     265
     266
     267/*********************************************************************
    136268 *                  _strncoll    (MSVCRT.453)
    137269 */
     
    150282{
    151283  dprintf(("MSVCRT: _strnicoll not implemented.\n"));
     284  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     285  return FALSE;
     286}
     287
     288
     289/*********************************************************************
     290 *                  _ultow    (MSVCRT.475)
     291 */
     292wchar_t * CDECL MSVCRT__ultow( unsigned long value, wchar_t *string, int radix )
     293{
     294  dprintf(("MSVCRT: _ultow not implemented.\n"));
     295  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     296  return FALSE;
     297}
     298
     299
     300/*********************************************************************
     301 *                  _umask    (MSVCRT.476)
     302 */
     303int CDECL MSVCRT__umask( int pmode )
     304{
     305  dprintf(("MSVCRT: _umask not implemented.\n"));
     306  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     307  return FALSE;
     308}
     309
     310
     311/*********************************************************************
     312 *                  _waccess    (MSVCRT.484)
     313 */
     314int CDECL MSVCRT__waccess( const wchar_t *path, int mode )
     315{
     316  dprintf(("MSVCRT: _waccess not implemented.\n"));
     317  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     318  return FALSE;
     319}
     320
     321
     322/*********************************************************************
     323 *                  _wasctime    (MSVCRT.485)
     324 */
     325wchar_t * CDECL MSVCRT__wasctime( const struct tm *timeptr )
     326{
     327  dprintf(("MSVCRT: _wasctime not implemented.\n"));
     328  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     329  return FALSE;
     330}
     331
     332
     333/*********************************************************************
     334 *                  _wchdir    (MSVCRT.486)
     335 */
     336int CDECL MSVCRT__wchdir( const wchar_t *dirname )
     337{
     338  dprintf(("MSVCRT: _wchdir not implemented.\n"));
     339  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     340  return FALSE;
     341}
     342
     343
     344/*********************************************************************
     345 *                  _wchmod    (MSVCRT.487)
     346 */
     347int CDECL MSVCRT__wchmod( const wchar_t *filename, int pmode )
     348{
     349  dprintf(("MSVCRT: _wchmod not implemented.\n"));
     350  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     351  return FALSE;
     352}
     353
     354
     355/*********************************************************************
     356 *                  _wcreat    (MSVCRT.489)
     357 */
     358int CDECL MSVCRT__wcreat( const wchar_t *filename, int pmode )
     359{
     360  dprintf(("MSVCRT: _wcreat not implemented.\n"));
     361  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     362  return FALSE;
     363}
     364
     365
     366/*********************************************************************
     367 *                  _wcsncoll    (MSVCRT.494)
     368 */
     369int CDECL MSVCRT__wcsncoll( const wchar_t *string1, const wchar_t *string2, size_t count )
     370{
     371  dprintf(("MSVCRT: _wcsncoll not implemented.\n"));
     372  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     373  return FALSE;
     374}
     375
     376
     377/*********************************************************************
     378 *                  _wcsnicoll    (MSVCRT.496)
     379 */
     380int CDECL MSVCRT__wcsnicoll( const wchar_t *string1, const wchar_t *string2 , size_t count )
     381{
     382  dprintf(("MSVCRT: _wcsnicoll not implemented.\n"));
     383  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     384  return FALSE;
     385}
     386
     387
     388/*********************************************************************
     389 *                  _wctime       (MSVCRT.501)
     390 */
     391wchar_t * CDECL MSVCRT__wctime( const time_t *timer )
     392{
     393  dprintf(("MSVCRT: _wctime not implemented.\n"));
     394  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     395  return FALSE;
     396}
     397
     398
     399/*********************************************************************
     400 *                  _wexecl       (MSVCRT.503)
     401 */
     402int CDECL MSVCRT__wexecl( const wchar_t *path, const wchar_t *arg0, ... )
     403{
     404  dprintf(("MSVCRT: _wexecl not implemented.\n"));
     405  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     406  return FALSE;
     407}
     408
     409
     410/*********************************************************************
     411 *                  _wexecle       (MSVCRT.504)
     412 */
     413int CDECL MSVCRT__wexecle( const wchar_t *path, const wchar_t *arg0, ... )
     414{
     415  dprintf(("MSVCRT: _wexecle not implemented.\n"));
     416  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     417  return FALSE;
     418}
     419
     420
     421/*********************************************************************
     422 *                  _wexeclp       (MSVCRT.505)
     423 */
     424int CDECL MSVCRT__wexeclp( const wchar_t *file, const wchar_t *arg0, ... )
     425{
     426  dprintf(("MSVCRT: _wexeclp not implemented.\n"));
     427  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     428  return FALSE;
     429}
     430
     431
     432/*********************************************************************
     433 *                  _wexeclpe      (MSVCRT.506)
     434 */
     435int CDECL MSVCRT__wexeclpe( const wchar_t *file, const wchar_t *arg0, ... )
     436{
     437  dprintf(("MSVCRT: _wexeclpe not implemented.\n"));
     438  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     439  return FALSE;
     440}
     441
     442
     443/*********************************************************************
     444 *                  _wexecv      (MSVCRT.507)
     445 */
     446int CDECL MSVCRT__wexecv( const wchar_t *path, const wchar_t *const argv[] )
     447{
     448  dprintf(("MSVCRT: _wexecv not implemented.\n"));
     449  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     450  return FALSE;
     451}
     452
     453
     454/*********************************************************************
     455 *                  _wexecve     (MSVCRT.508)
     456 */
     457int CDECL MSVCRT__wexecve( const wchar_t *path, const wchar_t *const argv[],
     458                                  const wchar_t *const envp[] )
     459{
     460  dprintf(("MSVCRT: _wexecve not implemented.\n"));
     461  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     462  return FALSE;
     463}
     464
     465
     466/*********************************************************************
     467 *                  _wexecvp     (MSVCRT.509)
     468 */
     469int CDECL MSVCRT__wexecvp( const wchar_t *file, const wchar_t *const argv[] )
     470{
     471  dprintf(("MSVCRT: _wexecvp not implemented.\n"));
     472  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     473  return FALSE;
     474}
     475
     476
     477/*********************************************************************
     478 *                  _wexecvpe     (MSVCRT.510)
     479 */
     480int CDECL MSVCRT__wexecvpe( const wchar_t *file, const wchar_t *const argv[],
     481                                   const wchar_t *const envp[] )
     482{
     483  dprintf(("MSVCRT: _wexecvpe not implemented.\n"));
     484  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     485  return FALSE;
     486}
     487
     488
     489/*********************************************************************
     490 *                  _wfdopen     (MSVCRT.511)
     491 */
     492FILE * CDECL MSVCRT__wfdopen( int, const wchar_t *s )
     493{
     494  dprintf(("MSVCRT: _wfdopen not implemented.\n"));
     495  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     496  return FALSE;
     497}
     498
     499
     500/*********************************************************************
     501 *                  _wfindfirst     (MSVCRT.512)
     502 */
     503long CDECL MSVCRT__wfindfirst( const wchar_t *filespec, struct _wfinddata_t *fileinfo )
     504{
     505  dprintf(("MSVCRT: _wfindfirst not implemented.\n"));
     506  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     507  return FALSE;
     508}
     509
     510
     511/*********************************************************************
     512 *                  _wfindnext     (MSVCRT.514)
     513 */
     514int CDECL MSVCRT__wfindnext( long handle, struct _wfinddata_t *fileinfo )
     515{
     516  dprintf(("MSVCRT: _wfindnext not implemented.\n"));
     517  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     518  return FALSE;
     519}
     520
     521
     522/*********************************************************************
     523 *                  _wfopen        (MSVCRT.516)
     524 */
     525FILE * CDECL MSVCRT__wfopen( const wchar_t *s1, const wchar_t *s2 )
     526{
     527  dprintf(("MSVCRT: _wfopen not implemented.\n"));
     528  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     529  return FALSE;
     530}
     531
     532
     533/*********************************************************************
     534 *                  _wfreopen        (MSVCRT.517)
     535 */
     536FILE * CDECL MSVCRT__wfreopen( const wchar_t *s1, const wchar_t *s2, FILE * f)
     537{
     538  dprintf(("MSVCRT: _wfreopen not implemented.\n"));
     539  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     540  return FALSE;
     541}
     542
     543
     544/*********************************************************************
     545 *                  _wfsopen        (MSVCRT.518)
     546 */
     547FILE * CDECL MSVCRT__wfsopen( const wchar_t *filename, const wchar_t *mode,  int shflag )
     548{
     549  dprintf(("MSVCRT: _wfsopen not implemented.\n"));
     550  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     551  return FALSE;
     552}
     553
     554
     555/*********************************************************************
     556 *                  _wfullpath        (MSVCRT.519)
     557 */
     558wchar_t * CDECL MSVCRT__wfullpath( wchar_t *s1, const wchar_t *s2, size_t n )
     559{
     560  dprintf(("MSVCRT: _wfullpath not implemented.\n"));
     561  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     562  return FALSE;
     563}
     564
     565
     566/*********************************************************************
     567 *                  _wgetcwd          (MSVCRT.520)
     568 */
     569wchar_t * CDECL MSVCRT__wgetcwd( wchar_t *buf, size_t size )
     570{
     571  dprintf(("MSVCRT: _wgetcwd not implemented.\n"));
     572  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     573  return FALSE;
     574}
     575
     576
     577/*********************************************************************
     578 *                  _wgetdcwd          (MSVCRT.521)
     579 */
     580wchar_t * CDECL MSVCRT__wgetdcwd( int drive, wchar_t *buffer, size_t maxlen )
     581{
     582  dprintf(("MSVCRT: _wgetdcwd not implemented.\n"));
     583  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     584  return FALSE;
     585}
     586
     587
     588/*********************************************************************
     589 *                  _wgetenv          (MSVCRT.522)
     590 */
     591wchar_t * CDECL MSVCRT__wgetenv( const wchar_t *name )
     592{
     593  dprintf(("MSVCRT: _wgetenv not implemented.\n"));
     594  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     595  return FALSE;
     596}
     597
     598
     599/*********************************************************************
     600 *                  _wmakepath          (MSVCRT.526)
     601 */
     602void CDECL MSVCRT__wmakepath( wchar_t *path, const wchar_t *drive,
     603            const wchar_t *dir, const wchar_t *fname, const wchar_t *ext )
     604{
     605  dprintf(("MSVCRT: _wmakepath not implemented.\n"));
     606  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     607}
     608
     609
     610/*********************************************************************
     611 *                  _wmkdir           (MSVCRT.527)
     612 */
     613int CDECL MSVCRT__wmkdir( const wchar_t *path )
     614{
     615  dprintf(("MSVCRT: _wmkdir not implemented.\n"));
     616  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     617  return FALSE;
     618}
     619
     620
     621/*********************************************************************
     622 *                  _wmktemp           (MSVCRT.528)
     623 */
     624wchar_t * CDECL MSVCRT__wmktemp( wchar_t*  )
     625{
     626  dprintf(("MSVCRT: _wmktemp not implemented.\n"));
     627  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     628  return FALSE;
     629}
     630
     631
     632/*********************************************************************
     633 *                  _wopen           (MSVCRT.529)
     634 */
     635int CDECL MSVCRT__wopen( const wchar_t *s, int n, ... )
     636{
     637  dprintf(("MSVCRT: _wopen not implemented.\n"));
     638  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     639  return FALSE;
     640}
     641
     642
     643/*********************************************************************
     644 *                  _wperror          (MSVCRT.530)
     645 */
     646void CDECL MSVCRT__wperror( const wchar_t *s )
     647{
     648  dprintf(("MSVCRT: _wperror not implemented.\n"));
     649  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     650}
     651
     652
     653/*********************************************************************
     654 *                  _wpopen           (MSVCRT.532)
     655 */
     656FILE * CDECL MSVCRT__wpopen( const wchar_t *command, const wchar_t *mode )
     657{
     658  dprintf(("MSVCRT: _wpopen not implemented.\n"));
     659  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     660  return FALSE;
     661}
     662
     663
     664/*********************************************************************
     665 *                  _wputenv          (MSVCRT.533)
     666 */
     667int CDECL MSVCRT__wputenv( const wchar_t *env_string )
     668{
     669  dprintf(("MSVCRT: _wputenv not implemented.\n"));
     670  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     671  return FALSE;
     672}
     673
     674
     675/*********************************************************************
     676 *                  _wremove          (MSVCRT.534)
     677 */
     678int CDECL MSVCRT__wremove( const wchar_t *s )
     679{
     680  dprintf(("MSVCRT: _wremove not implemented.\n"));
     681  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     682  return FALSE;
     683}
     684
     685
     686/*********************************************************************
     687 *                  _wrename          (MSVCRT.535)
     688 */
     689int CDECL MSVCRT__wrename( const wchar_t *s1, const wchar_t *s2 )
     690{
     691  dprintf(("MSVCRT: _wrename not implemented.\n"));
     692  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     693  return FALSE;
     694}
     695
     696
     697/*********************************************************************
     698 *                  _wrmdir          (MSVCRT.537)
     699 */
     700int CDECL MSVCRT__wrmdir( const wchar_t *path )
     701{
     702  dprintf(("MSVCRT: _wrmdir not implemented.\n"));
     703  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     704  return FALSE;
     705}
     706
     707
     708/*********************************************************************
     709 *                  _wsearchenv          (MSVCRT.538)
     710 */
     711void CDECL MSVCRT__wsearchenv( const wchar_t *name, const wchar_t *env_var, wchar_t *buf )
     712{
     713  dprintf(("MSVCRT: _wsearchenv not implemented.\n"));
     714  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     715}
     716
     717
     718/*********************************************************************
     719 *                  _wsetlocale          (MSVCRT.539)
     720 */
     721wchar_t * CDECL MSVCRT__wsetlocale(int category,const wchar_t *locale)
     722{
     723  dprintf(("MSVCRT: _wsetlocale not implemented.\n"));
     724  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     725  return FALSE;
     726}
     727
     728
     729/*********************************************************************
     730 *                  _wsopen          (MSVCRT.540)
     731 */
     732int CDECL MSVCRT__wsopen( const wchar_t *s, int n1, int n2, ... )
     733{
     734  dprintf(("MSVCRT: _wsopen not implemented.\n"));
     735  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     736  return FALSE;
     737}
     738
     739
     740/*********************************************************************
     741 *                  _wspawnl         (MSVCRT.541)
     742 */
     743int CDECL MSVCRT__wspawnl( int mode, const wchar_t *path, const wchar_t *arg0, ... )
     744{
     745  dprintf(("MSVCRT: _wspawnl not implemented.\n"));
     746  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     747  return FALSE;
     748}
     749
     750
     751/*********************************************************************
     752 *                  _wspawnle          (MSVCRT.542)
     753 */
     754int CDECL MSVCRT__wspawnle( int mode, const wchar_t *path, const wchar_t *arg0, ... )
     755{
     756  dprintf(("MSVCRT: _wspawnle not implemented.\n"));
     757  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     758  return FALSE;
     759}
     760
     761
     762/*********************************************************************
     763 *                  _wspawnlp          (MSVCRT.543)
     764 */
     765int CDECL MSVCRT__wspawnlp( int mode, const wchar_t *path, const wchar_t *arg0, ... )
     766{
     767  dprintf(("MSVCRT: _wspawnlp not implemented.\n"));
     768  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     769  return FALSE;
     770}
     771
     772
     773/*********************************************************************
     774 *                  _wspawnlpe          (MSVCRT.544)
     775 */
     776int CDECL MSVCRT__wspawnlpe( int mode, const wchar_t *path, const wchar_t *arg0, ... )
     777{
     778  dprintf(("MSVCRT: _wspawnlpe not implemented.\n"));
     779  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     780  return FALSE;
     781}
     782
     783
     784/*********************************************************************
     785 *                  _wspawnv          (MSVCRT.545)
     786 */
     787int CDECL MSVCRT__wspawnv( int mode, const wchar_t *path, const wchar_t * const *argv )
     788{
     789  dprintf(("MSVCRT: _wspawnv not implemented.\n"));
     790  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     791  return FALSE;
     792}
     793
     794
     795/*********************************************************************
     796 *                  _wspawnve          (MSVCRT.546)
     797 */
     798int CDECL MSVCRT__wspawnve( int mode, const wchar_t *path,
     799           const wchar_t * const *argv, const wchar_t * const *envp )
     800{
     801  dprintf(("MSVCRT: _wspawnve not implemented.\n"));
     802  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     803  return FALSE;
     804}
     805
     806
     807/*********************************************************************
     808 *                  _wspawnvp          (MSVCRT.547)
     809 */
     810int CDECL MSVCRT__wspawnvp( int mode, const wchar_t *path, const wchar_t * const *argv )
     811{
     812  dprintf(("MSVCRT: _wspawnvp not implemented.\n"));
     813  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     814  return FALSE;
     815}
     816
     817
     818/*********************************************************************
     819 *                  _wspawnvpe          (MSVCRT.548)
     820 */
     821int CDECL MSVCRT__wspawnvpe( int mode, const wchar_t *path,
     822           const wchar_t * const *argv, const wchar_t * const *envp )
     823{
     824  dprintf(("MSVCRT: _wspawnvpe not implemented.\n"));
     825  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     826  return FALSE;
     827}
     828
     829
     830/*********************************************************************
     831 *                  _wsplitpath         (MSVCRT.549)
     832 */
     833void CDECL MSVCRT__wsplitpath( const wchar_t *path, wchar_t *drive,
     834                 wchar_t *dir, wchar_t *fname, wchar_t *ext )
     835{
     836  dprintf(("MSVCRT: _wsplitpath not implemented.\n"));
     837  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     838}
     839
     840
     841/*********************************************************************
     842 *                  _wstat          (MSVCRT.550)
     843 */
     844int CDECL MSVCRT__wstat( const wchar_t *s, struct _wstat *w )
     845{
     846  dprintf(("MSVCRT: _wstat not implemented.\n"));
     847  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     848  return FALSE;
     849}
     850
     851
     852/*********************************************************************
     853 *                  _wstrdate          (MSVCRT.552)
     854 */
     855wchar_t * CDECL MSVCRT__wstrdate( wchar_t *buf )
     856{
     857  dprintf(("MSVCRT: _wstrdate not implemented.\n"));
     858  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     859  return FALSE;
     860}
     861
     862
     863/*********************************************************************
     864 *                  _wstrtime          (MSVCRT.553)
     865 */
     866wchar_t * CDECL MSVCRT__wstrtime( wchar_t *buf )
     867{
     868  dprintf(("MSVCRT: _wstrtime not implemented.\n"));
     869  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     870  return FALSE;
     871}
     872
     873
     874/*********************************************************************
     875 *                  _wsystem           (MSVCRT.554)
     876 */
     877int CDECL MSVCRT__wsystem( const wchar_t *cmd )
     878{
     879  dprintf(("MSVCRT: _wsystem not implemented.\n"));
     880  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     881  return FALSE;
     882}
     883
     884
     885/*********************************************************************
     886 *                  _wtempnam          (MSVCRT.555)
     887 */
     888wchar_t * CDECL MSVCRT__wtempnam( wchar_t *dir, wchar_t *prefix )
     889{
     890  dprintf(("MSVCRT: _wtempnam not implemented.\n"));
     891  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     892  return FALSE;
     893}
     894
     895
     896/*********************************************************************
     897 *                  _wtmpnam          (MSVCRT.555)
     898 */
     899wchar_t * CDECL MSVCRT__wtmpnam( wchar_t *tn )
     900{
     901  dprintf(("MSVCRT: _wtmpnam not implemented.\n"));
     902  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     903  return FALSE;
     904}
     905
     906
     907/*********************************************************************
     908 *                  _wunlink     (MSVCRT.560)
     909 */
     910int CDECL MSVCRT__wunlink(const wchar_t *path)
     911{
     912  dprintf(("MSVCRT: _wunlink not implemented.\n"));
     913  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     914  return FALSE;
     915}
     916
     917
     918/*********************************************************************
     919 *                  _wutime     (MSVCRT.561)
     920 */
     921int CDECL MSVCRT__wutime( const wchar_t *path, const struct utimbuf * times )
     922{
     923  dprintf(("MSVCRT: _wutime not implemented.\n"));
    152924  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    153925  return FALSE;
  • TabularUnified trunk/src/msvcrt/msvcrt.def

    r1103 r1118  
    1 ; $Id: msvcrt.def,v 1.2 1999-10-01 16:02:32 sandervl Exp $
     1; $Id: msvcrt.def,v 1.3 1999-10-04 09:55:59 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    109109        CRTDLL___iscsym         = CRTDLL.__iscsym
    110110        CRTDLL___iscsymf        = CRTDLL.__iscsymf
     111        CRTDLL___mb_cur_max_dll = CRTDLL.___mb_cur_max_dll
    111112        CRTDLL___threadhandle   = CRTDLL.__threadhandle
    112113        CRTDLL___threadid       = CRTDLL.__threadid
     
    127128        CRTDLL__CItanh          = CRTDLL._CItanh
    128129        CRTDLL__access          = CRTDLL._access
     130        CRTDLL__acmdln_dll      = CRTDLL.acmdln_dll
     131        CRTDLL__aexit_rtn_dll   = CRTDLL.aexit_rtn_dll
    129132        CRTDLL__amsg_exit       = CRTDLL._amsg_exit
     133        CRTDLL__argc_dll        = CRTDLL.argc_dll
     134        CRTDLL__argv_dll        = CRTDLL.argv_dll
    130135        CRTDLL__assert          = CRTDLL._assert
    131136        CRTDLL__beep            = CRTDLL._beep
     
    142147        CRTDLL__clearfp         = CRTDLL._clearfp
    143148        CRTDLL__close           = CRTDLL._close
     149        CRTDLL__commode_dll     = CRTDLL.commode_dll
    144150        CRTDLL__control87       = CRTDLL._control87
    145151        CRTDLL__controlfp       = CRTDLL._controlfp
     
    150156        CRTDLL__cscanf          = CRTDLL._cscanf
    151157        CRTDLL__cwait           = CRTDLL._cwait
     158        CRTDLL__daylight_dll    = CRTDLL.daylight_dll
    152159        CRTDLL__dup             = CRTDLL._dup
    153160        CRTDLL__dup2            = CRTDLL._dup2
    154161        CRTDLL__ecvt            = CRTDLL._ecvt
    155162        CRTDLL__endthread       = CRTDLL._endthread
     163        CRTDLL__environ_dll     = CRTDLL.environ_dll
    156164        CRTDLL__errno           = CRTDLL._errno
    157165        CRTDLL__except_handler2 = CRTDLL._except_handler2
     
    172180        CRTDLL__fgetwchar       = CRTDLL._fgetwchar
    173181        CRTDLL__filbuf          = CRTDLL._filbuf
     182        CRTDLL__fileinfo_dll    = CRTDLL.fileinfo_dll
    174183        CRTDLL__filelength      = CRTDLL._filelength
    175184        CRTDLL__fileno          = CRTDLL._fileno
     
    180189        CRTDLL__flsbuf          = CRTDLL._flsbuf
    181190        CRTDLL__flushall        = CRTDLL._flushall
     191        CRTDLL__fmode_dll       = CRTDLL.fmode_dll
    182192        CRTDLL__fpclass         = CRTDLL._fpclass
    183193        CRTDLL__fpieee_flt      = CRTDLL._fpieee_flt
     
    306316        CRTDLL__open_osfhandle  = CRTDLL._open_osfhandle
    307317        CRTDLL__pclose          = CRTDLL._pclose
     318        CRTDLL__pctype_dll      = CRTDLL.pctype_dll
    308319        CRTDLL__pipe            = CRTDLL._pipe
    309320        CRTDLL__popen           = CRTDLL._popen
     
    342353        CRTDLL__strtime         = CRTDLL._strtime
    343354        CRTDLL__swab            = CRTDLL._swab
     355        CRTDLL__sys_errlist     = CRTDLL.sys_errlist
     356        CRTDLL__sys_nerr_dll    = CRTDLL.sys_nerr_dll
    344357        CRTDLL__tell            = CRTDLL._tell
    345358        CRTDLL__tempnam         = CRTDLL._tempnam
     359        CRTDLL__timezone_dll    = CRTDLL.timezone_dll
    346360        CRTDLL__tolower         = CRTDLL._tolower
    347361        CRTDLL__toupper         = CRTDLL._toupper
    348362        CRTDLL__tzset           = CRTDLL._tzset
     363        CRTDLL__tzname          = CRTDLL.tzname
    349364        CRTDLL__ungetch         = CRTDLL._ungetch
    350365        CRTDLL__unlink          = CRTDLL._unlink
     
    356371        CRTDLL__wcsrev          = CRTDLL._wcsrev
    357372        CRTDLL__wcsset          = CRTDLL._wcsset
     373        CRTDLL__winmajor_dll    = CRTDLL.winmajor_dll
     374        CRTDLL__winminor_dll    = CRTDLL.winminor_dll
     375        CRTDLL__winver_dll      = CRTDLL.winver_dll
    358376        CRTDLL__write           = CRTDLL._write
    359377        CRTDLL__y0              = CRTDLL._y0
     
    563581;   __RTtypeid                                                  @78
    564582;   __STRINGTOLD                                                @79
    565 ;   __argc                                                      @80
    566 ;   __argv                                                      @81
     583    __argc                      = CRTDLL__argc_dll              @80
     584    __argv                      = CRTDLL__argv_dll              @81
    567585;   __badioinfo                                                 @82
    568586    __crtCompareStringA         = KERNEL32_CompareStringA       @83
     
    581599;   __lc_handle                                                 @96
    582600;   __lconv_init                                                @97
    583 ;   __mb_cur_max                                                @98
     601    __mb_cur_max                = CRTDLL___mb_cur_max_dll       @98
    584602;   __p___argc                                                  @99
    585603
     
    629647;   _abnormal_termination                                       @142
    630648    _access                     = CRTDLL__access                @143
    631 ;   _acmdln                                                     @144
     649    _acmdln                     = CRTDLL__acmdln_dll            @144
    632650;   _adj_fdiv_m16i                                              @145
    633651;   _adj_fdiv_m32                                               @146
     
    644662;   _adj_fptan                                                  @157
    645663;   _adjust_fdiv                                                @158
    646 ;   _aexit_rtn                                                  @159
     664    _aexit_rtn                  = CRTDLL__aexit_rtn_dll         @159
    647665    _amsg_exit                  = CRTDLL__amsg_exit             @160
    648666    _assert                     = CRTDLL__assert                @161
     
    666684    _close                      = CRTDLL__close                 @180
    667685;   _commit                                                     @181
    668 ;   _commode                                                    @182
     686    _commode                    = CRTDLL__commode_dll           @182
    669687    _control87                  = CRTDLL__control87             @183
    670688    _controlfp                  = CRTDLL__controlfp             @184
     
    676694;   _ctype                                                      @190
    677695    _cwait                      = CRTDLL__cwait                 @191
    678 ;   _daylight_dll                                               @192
     696    _daylight_dll               = CRTDLL__daylight_dll          @192
    679697;   _dstbias                                                    @193
    680698    _dup                        = CRTDLL__dup                   @194
     
    683701    _endthread                  = CRTDLL__endthread             @197
    684702;   _endthreadex                                                @198
    685 ;   _environ                                                    @199
     703    _environ                    = CRTDLL__environ_dll           @199
    686704
    687705
     
    706724    _fgetwchar                  = CRTDLL__fgetwchar             @218
    707725    _filbuf                     = CRTDLL__filbuf                @219
    708 ;   _fileinfo                                                   @220
     726    _fileinfo                   = CRTDLL__fileinfo_dll          @220
    709727    _filelength                 = CRTDLL__filelength            @221
    710728;   _filelengthi64                                              @222
     
    718736    _flsbuf                     = CRTDLL__flsbuf                @230
    719737    _flushall                   = CRTDLL__flushall              @231
    720 ;   _fmode                                                      @232
     738    _fmode                      = CRTDLL__fmode_dll             @232
    721739    _fpclass                    = CRTDLL__fpclass               @233
    722740    _fpieee_flt                 = CRTDLL__fpieee_flt            @234
     
    733751    _gcvt                       = CRTDLL__gcvt                  @245
    734752    _get_osfhandle              = CRTDLL__get_osfhandle         @246
    735 ;   _get_sbh_threshold                                          @247
     753    _get_sbh_threshold          = _MSVCRT__get_sbh_threshold    @247
    736754    _getch                      = CRTDLL__getch                 @248
    737755    _getche                     = CRTDLL__getche                @249
     
    743761    _getdrives                  = CRTDLL__getdrives             @255
    744762;   _getmaxstdio                                                @256
    745 ;   _getmbcp                                                    @257
     763    _getmbcp                    = _MSVCRT__getmbcp              @257
    746764    _getpid                     = CRTDLL__getpid                @258
    747765;   _getsystime                                                 @259
     
    758776;   _i64tow                                                     @271
    759777    _initterm                   = _DLL_InitTerm                 @272
    760 ;   _inp                                                        @273
    761 ;   _inpd                                                       @274
    762 ;   _inpw                                                       @275
     778    _inp                        = _MSVCRT__inp                  @273
     779    _inpd                       = _MSVCRT__inpd                 @274
     780    _inpw                       = _MSVCRT__inpw                 @275
    763781    _iob                        = CRTDLL__iob                   @276
    764782    _isatty                     = CRTDLL__isatty                @277
     
    797815    _isnan                      = CRTDLL__isnan                 @308
    798816    _itoa                       = NTDLL__itoa                   @309
    799 ;   _itow                                                       @310
     817    _itow                       = _MSVCRT__itow                 @310
    800818    _j0                         = CRTDLL__j0                    @311
    801819    _j1                         = CRTDLL__j1                    @312
     
    815833;   _lseeki64                                                   @326
    816834    _ltoa                       = NTDLL__ltoa                   @327
    817 ;   _ltow                                                       @328
     835    _ltow                       = _MSVCRT__ltow                 @328
    818836    _makepath                   = CRTDLL__makepath              @329
    819837    _mbbtombc                   = CRTDLL__mbbtombc              @330
     
    882900    _open_osfhandle             = CRTDLL__open_osfhandle        @393
    883901;   _osver                                                      @394
    884 ;   _outp                                                       @395
    885 ;   _outpd                                                      @396
    886 ;   _outpw                                                      @397
     902    _outp                       = _MSVCRT__outp                 @395
     903    _outpd                      = _MSVCRT__outpd                @396
     904    _outpw                      = _MSVCRT__outpw                @397
    887905    _pclose                     = CRTDLL__pclose                @398
    888 ;   _pctype                                                     @399
     906    _pctype                     = CRTDLL__pctype_dll            @399
    889907
    890908
     
    910928    _searchenv                  = CRTDLL__searchenv             @419
    911929;   _seh_longjmp_unwind                                         @420
    912 ;   _set_error_mode                                             @421
    913 ;   _set_sbh_threshold                                          @422
     930    _set_error_mode             = _MSVCRT__set_error_mode       @421
     931    _set_sbh_threshold          = _MSVCRT__set_sbh_threshold    @422
    914932    _seterrormode               = CRTDLL__seterrormode          @423
    915933    _setjmp                     = CRTDLL__setjmp                @424
     
    951969    _strupr                     = NTDLL__strupr                 @460
    952970    _swab                       = CRTDLL__swab                  @461
    953 ;   _sys_errlist                                                @462
    954 ;   _sys_nerr                                                   @463
     971    _sys_errlist                = CRTDLL__sys_errlist           @462
     972    _sys_nerr                   = CRTDLL__sys_nerr_dll          @463
    955973    _tell                       = CRTDLL__tell                  @464
    956974;   _telli64                                                    @465
    957975    _tempnam                    = CRTDLL__tempnam               @466
    958 ;   _timezone                                                   @467
     976    _timezone                   = CRTDLL__timezone_dll          @467
    959977    _tolower                    = CRTDLL__tolower               @468
    960978    _toupper                    = CRTDLL__toupper               @469
    961 ;   _tzname                                                     @470
     979    _tzname                     = CRTDLL__tzname                @470
    962980    _tzset                      = CRTDLL__tzset                 @471
    963981;   _ui64toa                                                    @472
    964982;   _ui64tow                                                    @473
    965983    _ultoa                      = NTDLL__ultoa                  @474
    966 ;   _ultow                                                      @475
    967 ;   _umask                                                      @476
     984    _ultow                      = _MSVCRT__ultow                @475
     985    _umask                      = _MSVCRT__umask                @476
    968986    _ungetch                    = CRTDLL__ungetch               @477
    969987    _unlink                     = CRTDLL__unlink                @478
     
    973991    _vsnprintf                  = NTDLL__vsnprintf              @482
    974992    _vsnwprintf                 = CRTDLL__vsnwprintf            @483
    975 ;   _waccess                                                    @484
    976 ;   _wasctime                                                   @485
    977 ;   _wchdir                                                     @486
    978 ;   _wchmod                                                     @487
     993    _waccess                    = _MSVCRT__waccess              @484
     994    _wasctime                   = _MSVCRT__wasctime             @485
     995    _wchdir                     = _MSVCRT__wchdir               @486
     996    _wchmod                     = _MSVCRT__wchmod               @487
    979997;   _wcmdln                                                     @488   
    980 ;   _wcreat                                                     @489
     998    _wcreat                     = _MSVCRT__wcreat               @489
    981999    _wcsdup                     = CRTDLL__wcsdup                @490
    9821000    _wcsicmp                    = NTDLL__wcsicmp                @491
    9831001    _wcsicoll                   = CRTDLL__wcsicoll              @492
    9841002    _wcslwr                     = NTDLL__wcslwr                 @493
    985 ;   _wcsncoll                                                   @494
     1003    _wcsncoll                   = _MSVCRT__wcsncoll             @494
    9861004    _wcsnicmp                   = NTDLL__wcsnicmp               @495
    987 ;   _wcsnicoll                                                  @496
     1005    _wcsnicoll                  = _MSVCRT__wcsnicoll            @496
    9881006    _wcsnset                    = CRTDLL__wcsnset               @497
    9891007    _wcsrev                     = CRTDLL__wcsrev                @498
     
    9921010
    9931011    _wcsupr                     = NTDLL__wcsupr                 @500
    994 ;   _wctime                                                     @501
     1012    _wctime                     = _MSVCRT__wctime               @501
    9951013;   _wenviron                                                   @502
    996 ;   _wexecl                                                     @503
    997 ;   _wexecle                                                    @504
    998 ;   _wexeclp                                                    @505
    999 ;   _wexeclpe                                                   @506
    1000 ;   _wexecv                                                     @507
    1001 ;   _wexecve                                                    @508
    1002 ;   _wexecvp                                                    @509
    1003 ;   _wexecvpe                                                   @510
    1004 ;   _wfdopen                                                    @511
    1005 ;   _wfindfirst                                                 @512
     1014    _wexecl                     = _MSVCRT__wexecl               @503
     1015    _wexecle                    = _MSVCRT__wexecle              @504
     1016    _wexeclp                    = _MSVCRT__wexeclp              @505
     1017    _wexeclpe                   = _MSVCRT__wexeclpe             @506
     1018    _wexecv                     = _MSVCRT__wexecv               @507
     1019    _wexecve                    = _MSVCRT__wexecve              @508
     1020    _wexecvp                    = _MSVCRT__wexecvp              @509
     1021    _wexecvpe                   = _MSVCRT__wexecvpe             @510
     1022    _wfdopen                    = _MSVCRT__wfdopen              @511
     1023    _wfindfirst                 = _MSVCRT__wfindfirst           @512
    10061024;   _wfindfirsti64                                              @513
    1007 ;   _wfindnext                                                  @514
     1025    _wfindnext                  = _MSVCRT__wfindnext            @514
    10081026;   _wfindnexti64                                               @515
    1009 ;   _wfopen                                                     @516
    1010 ;   _wfreopen                                                   @517
    1011 ;   _wfsopen                                                    @518
    1012 ;   _wfullpath                                                  @519
    1013 ;   _wgetcwd                                                    @520
    1014 ;   _wgetdcwd                                                   @521
    1015 ;   _wgetenv                                                    @522
    1016 ;   _winmajor                                                   @523
    1017 ;   _winminor                                                   @524
    1018 ;   _winver                                                     @525
    1019 ;   _wmakepath                                                  @526
    1020 ;   _wmkdir                                                     @527
    1021 ;   _wmktemp                                                    @528
    1022 ;   _wopen                                                      @529
    1023 ;   _wperror                                                    @530
     1027    _wfopen                     = _MSVCRT__wfopen               @516
     1028    _wfreopen                   = _MSVCRT__wfreopen             @517
     1029    _wfsopen                    = _MSVCRT__wfsopen              @518
     1030    _wfullpath                  = _MSVCRT__wfullpath            @519
     1031    _wgetcwd                    = _MSVCRT__wgetcwd              @520
     1032    _wgetdcwd                   = _MSVCRT__wgetdcwd             @521
     1033    _wgetenv                    = _MSVCRT__wgetenv              @522
     1034    _winmajor                   = CRTDLL__winmajor_dll          @523
     1035    _winminor                   = CRTDLL__winminor_dll          @524
     1036    _winver                     = CRTDLL__winver_dll            @525
     1037    _wmakepath                  = _MSVCRT__wmakepath            @526
     1038    _wmkdir                     = _MSVCRT__wmkdir               @527
     1039    _wmktemp                    = _MSVCRT__wmktemp              @528
     1040    _wopen                      = _MSVCRT__wopen                @529
     1041    _wperror                    = _MSVCRT__wperror              @530
    10241042;   _wpgmptr                                                    @531
    1025 ;   _wpopen                                                     @532
    1026 ;   _wputenv                                                    @533
    1027 ;   _wremove                                                    @534
    1028 ;   _wrename                                                    @535
     1043    _wpopen                     = _MSVCRT__wpopen               @532
     1044    _wputenv                    = _MSVCRT__wputenv              @533
     1045    _wremove                    = _MSVCRT__wremove              @534
     1046    _wrename                    = _MSVCRT__wrename              @535
    10291047    _write                      = CRTDLL__write                 @536
    1030 ;   _wrmdir                                                     @537
    1031 ;   _wsearchenv                                                 @538
    1032 ;   _wsetlocale                                                 @539
    1033 ;   _wsopen                                                     @540
    1034 ;   _wspawnl                                                    @541
    1035 ;   _wspawnle                                                   @542
    1036 ;   _wspawnlp                                                   @543
    1037 ;   _wspawnlpe                                                  @544
    1038 ;   _wspawnv                                                    @545
    1039 ;   _wspawnve                                                   @546
    1040 ;   _wspawnvp                                                   @547
    1041 ;   _wspawnvpe                                                  @548
    1042 ;   _wsplitpath                                                 @549
    1043 ;   _wstat                                                      @550
     1048    _wrmdir                     = _MSVCRT__wrmdir               @537
     1049    _wsearchenv                 = _MSVCRT__wsearchenv           @538
     1050    _wsetlocale                 = _MSVCRT__wsetlocale           @539
     1051    _wsopen                     = _MSVCRT__wsopen               @540
     1052    _wspawnl                    = _MSVCRT__wspawnl              @541
     1053    _wspawnle                   = _MSVCRT__wspawnle             @542
     1054    _wspawnlp                   = _MSVCRT__wspawnlp             @543
     1055    _wspawnlpe                  = _MSVCRT__wspawnlpe            @544
     1056    _wspawnv                    = _MSVCRT__wspawnv              @545
     1057    _wspawnve                   = _MSVCRT__wspawnve             @546
     1058    _wspawnvp                   = _MSVCRT__wspawnvp             @547
     1059    _wspawnvpe                  = _MSVCRT__wspawnvpe            @548
     1060    _wsplitpath                 = _MSVCRT__wsplitpath           @549
     1061    _wstat                      = _MSVCRT__wstat                @550
    10441062;   _wstati64                                                   @551
    1045 ;   _wstrdate                                                   @552
    1046 ;   _wstrtime                                                   @553
    1047 ;   _wsystem                                                    @554
    1048 ;   _wtempnam                                                   @555
    1049 ;   _wtmpnam                                                    @556
     1063    _wstrdate                   = _MSVCRT__wstrdate             @552
     1064    _wstrtime                   = _MSVCRT__wstrtime             @553
     1065    _wsystem                    = _MSVCRT__wsystem              @554
     1066    _wtempnam                   = _MSVCRT__wtempnam             @555
     1067    _wtmpnam                    = _MSVCRT__wtmpnam              @556
    10501068    _wtoi                       = NTDLL__wtoi                   @557
    10511069;   _wtoi64                                                     @558
    10521070    _wtol                       = NTDLL__wtol                   @559
    1053 ;   _wunlink                                                    @560
    1054 ;   _wutime                                                     @561
     1071    _wunlink                    = _MSVCRT__wunlink              @560
     1072    _wutime                     = _MSVCRT__wutime               @561
    10551073    _y0                         = CRTDLL__y0                    @562
    10561074    _y1                         = CRTDLL__y1                    @563
  • TabularUnified trunk/src/shell32/makefile

    r604 r1118  
    1 # $Id: makefile,v 1.10 1999-08-21 12:29:31 sandervl Exp $
     1# $Id: makefile,v 1.11 1999-10-04 09:55:59 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3536
    3637
    37 $(TARGET).lib: $(TARGET).dll
    38         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).dll
     38$(TARGET).lib: $(TARGET)exp.def
     39        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    3940        $(CP) $@ $(PDWIN32_LIB)
    4041
    41 
     42$(TARGET)exp.def: $(TARGET).def
     43        $(IMPDEF) $** $@
    4244
    4345shell32.obj: shell32.cpp shell32.h
  • TabularUnified trunk/src/shell32/new/makefile

    r893 r1118  
    1 # $Id: makefile,v 1.8 1999-09-09 13:04:55 phaller Exp $
     1# $Id: makefile,v 1.9 1999-10-04 09:56:00 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\..\lib
    1111PDWIN32_BIN = ..\..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    4344
    4445
    45 $(TARGET).lib: $(TARGET).dll
    46         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).dll
     46$(TARGET).lib: $(TARGET)exp.def
     47        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    4748        $(CP) $@ $(PDWIN32_LIB)
     49
     50$(TARGET)exp.def: $(TARGET).def
     51        $(IMPDEF) $** $@
    4852
    4953
  • TabularUnified trunk/src/user32/oslibwin.cpp

    r1105 r1118  
    1 /* $Id: oslibwin.cpp,v 1.11 1999-10-02 04:09:12 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.12 1999-10-04 09:56:00 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    126126  } else
    127127  {
    128     if(dwStyle & WS_CAPTION_W)
     128    if((dwStyle & WS_CAPTION_W) == WS_CAPTION_W)
    129129          *OSFrameStyle |= FCF_TITLEBAR;
    130130    if(dwStyle & WS_DLGFRAME_W)
     
    828828                    (WinQueryWindowULong(hwnd, QWL_STYLE) & ~0xffff0000) |
    829829                    OSWinStyle);
    830 }
    831 //******************************************************************************
    832 //******************************************************************************
     830
     831  if(OSFrameStyle != 0)  // maybe WinQueryClassName == WC_FRAME is better
     832  {
     833    if(OSFrameStyle & FCF_TITLEBAR)
     834    {
     835      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_TITLEBAR), hwnd, FALSE);
     836      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_MENU), hwnd, FALSE);
     837    }
     838    else
     839    {
     840      WinSetParent(WinWindowFromID(hwnd, FID_TITLEBAR), HWND_OBJECT, FALSE);
     841      WinSetParent(WinWindowFromID(hwnd, FID_MENU), HWND_OBJECT, FALSE);
     842    }
     843    if(OSFrameStyle & FCF_SYSMENU)
     844      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_SYSMENU), hwnd, FALSE);
     845    else
     846      WinSetParent(WinWindowFromID(hwnd, FID_SYSMENU), HWND_OBJECT, FALSE);
     847
     848    if(OSFrameStyle & FCF_MINBUTTON | OSFrameStyle & FCF_MAXBUTTON)
     849      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_MINMAX), hwnd, FALSE);
     850    else
     851      WinSetParent(WinWindowFromID(hwnd, FID_MINMAX), HWND_OBJECT, FALSE);
     852
     853    if(OSFrameStyle & FCF_VERTSCROLL)
     854      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_VERTSCROLL), hwnd, FALSE);
     855    else
     856      WinSetParent(WinWindowFromID(hwnd, FID_VERTSCROLL), HWND_OBJECT, FALSE);
     857
     858    if(OSFrameStyle & FCF_HORZSCROLL)
     859      WinSetParent(OSLibWinObjectWindowFromID(hwnd, FID_HORZSCROLL), hwnd, FALSE);
     860    else
     861      WinSetParent(WinWindowFromID(hwnd, FID_HORZSCROLL), HWND_OBJECT, FALSE);
     862
     863    WinSendMsg(hwnd, WM_UPDATEFRAME,
     864               MPFROMLONG(FCF_TITLEBAR | FCF_SYSMENU | FCF_MINMAX |
     865                          FCF_MENU | FCF_VERTSCROLL | FCF_HORZSCROLL),
     866               MPVOID);
     867  }
     868}
     869//******************************************************************************
     870//******************************************************************************
     871HWND OSLibWinObjectWindowFromID(HWND hwndOwner, ULONG ID)
     872{
     873  HWND   hwndNext, hwndFound=0;
     874  HENUM  henum;
     875
     876  henum = WinBeginEnumWindows(HWND_OBJECT);
     877  while ((hwndNext = WinGetNextWindow(henum)) != 0)
     878  {
     879    if(WinQueryWindow(hwndNext, QW_OWNER) == hwndOwner &&
     880       WinQueryWindowUShort(hwndNext, QWS_ID) == ID)
     881    {
     882       hwndFound = hwndNext;
     883       break;
     884    }
     885  }
     886  WinEndEnumWindows(henum);
     887  return hwndFound;
     888}
     889//******************************************************************************
     890//******************************************************************************
  • TabularUnified trunk/src/user32/oslibwin.h

    r1105 r1118  
    1 /* $Id: oslibwin.h,v 1.7 1999-10-02 04:09:13 sandervl Exp $ */
     1/* $Id: oslibwin.h,v 1.8 1999-10-04 09:56:00 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    243243BOOL  OSLibWinMapWindowPoints (HWND hwndFrom, HWND hwndTo, OSLIBPOINT *pptl, ULONG num);
    244244
     245HWND  OSLibWinObjectWindowFromID(HWND hwndOwner, ULONG ID);
     246
    245247#define OSLIB_HSCROLL   0
    246248#define OSLIB_VSCROLL   1
  • TabularUnified trunk/src/user32/win32dlg.cpp

    r1063 r1118  
    1 /* $Id: win32dlg.cpp,v 1.5 1999-09-26 14:44:58 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.6 1999-10-04 09:56:01 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    1919#include <win32dlg.h>
    2020#include "oslibmsg.h"
     21#include "win32wdesktop.h"
    2122
    2223#define DEFAULT_DLGFONT "9.WarpSans"
     
    229230    /* Owner must be a top-level window */
    230231    if(getOwner() == NULL) {
    231         dprintf(("Dialog box has no owner!!!"));
    232         return -1;
    233     }
    234     topOwner = getOwner()->getTopParent();
     232         topOwner = windowDesktop;
     233    }
     234    else topOwner = getOwner()->getTopParent();
     235
    235236    if(topOwner == NULL) {
    236237        dprintf(("Dialog box has no top owner!!!"));
  • TabularUnified trunk/src/user32/win32wbase.cpp

    r1105 r1118  
    1 /* $Id: win32wbase.cpp,v 1.21 1999-10-02 04:09:13 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.22 1999-10-04 09:56:02 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    11521152    //WM_NC*BUTTON* is posted when the cursor is in a non-client area of the window
    11531153    if(lastHitTestVal != HTCLIENT) {
    1154             SendInternalMessageA(win32ncmsg, lastHitTestVal, MAKELONG(ncx, ncy)); //TODO:
     1154            return SendInternalMessageA(win32ncmsg, lastHitTestVal, MAKELONG(ncx, ncy)); //TODO:
    11551155    }
    11561156    return  SendInternalMessageA(win32msg, 0, MAKELONG(clx, cly));
  • TabularUnified trunk/src/user32/windlg.cpp

    r1063 r1118  
    1 /* $Id: windlg.cpp,v 1.2 1999-09-26 14:44:58 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.3 1999-10-04 09:56:03 sandervl Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    3939        return 0;
    4040
    41     return CreateDialogIndirectParamA(hInst, (DLGTEMPLATE*)LoadResource(hInst, hrsrc),
     41    return CreateDialogIndirectParamA(hInst, (LPCDLGTEMPLATEA)LoadResource(hInst, hrsrc),
    4242                                      hwndOwner, dlgproc, lParamInit);
    4343}
     
    5353        return 0;
    5454
    55     return CreateDialogIndirectParamW(hInst, (DLGTEMPLATE*)LoadResource(hInst, hrsrc),
     55    return CreateDialogIndirectParamW(hInst, (LPCDLGTEMPLATEW)LoadResource(hInst, hrsrc),
    5656                                      hwndOwner, dlgproc, lParamInit);
    5757}
     
    5959//******************************************************************************
    6060HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hInst,
    61                          DLGTEMPLATE *dlgtemplate,
     61                         LPCDLGTEMPLATEA dlgtemplate,
    6262                         HWND hwndParent, DLGPROC dlgproc,
    6363                         LPARAM lParamInit)
     
    8787//******************************************************************************
    8888HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hInst,
    89                          DLGTEMPLATE *dlgtemplate,
     89                         LPCDLGTEMPLATEW dlgtemplate,
    9090                         HWND hwndParent, DLGPROC dlgproc,
    9191                         LPARAM lParamInit)
     
    115115//******************************************************************************
    116116INT  WIN32API DialogBoxIndirectParamA(HINSTANCE hInst,
    117                       DLGTEMPLATE *dlgtemplate,
     117                      LPCDLGTEMPLATEA dlgtemplate,
    118118                      HWND hwndParent, DLGPROC dlgproc,
    119119                      LPARAM lParamInit)
     
    136136//******************************************************************************
    137137//******************************************************************************
    138 INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, DLGTEMPLATE *dlgtemplate,
     138INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate,
    139139                                      HWND hwndParent, DLGPROC dlgproc,
    140140                                      LPARAM lParamInit)
  • TabularUnified trunk/src/win32k/Makefile

    r909 r1118  
    11################################################################################
    2 # $Id: Makefile,v 1.2 1999-09-12 00:26:27 bird Exp $
     2# $Id: Makefile,v 1.3 1999-10-04 09:56:03 sandervl Exp $
    33#
    44# Copyright 1998-1999 knut st. osmundsen
     
    1616# COMPILER/LINKER/ASSEMBLER
    1717################################################################################
    18 CC16        = cl
     18CC16        = $(MSCPATH)\binp\cl
    1919CC          = icc
     20!if "$(CCENV)" == "VAC36"
     21ILIB        = ilib /nofree
     22!else
     23ILIB        = ilib
     24!endif
    2025LD          = ilink
    2126AS          = alp
     
    7277             -I.                                    \
    7378             -I$(DDKPATH)\h                         \
    74              -If:\ddktools\toolkits\msc60\include   \
     79             -I$(MSCPATH)\include                   \
     80#             -If:\ddktools\toolkits\msc60\include   \
    7581             -I$(PDWIN32_INCLUDE)
    7682
     
    134140# TARGETS
    135141################################################################################
    136 all:$(NAME).sys
     142all: ProbKrnl.exe $(NAME).sys
     143#all:$(NAME).sys
    137144
    138145
     
    181188
    182189
     190!if "$(CCENV)" == "VAC36"
     191LIBS  = $(VACPATH)\lib\cpprni36.lib         \
     192!else
    183193LIBS  = $(VACPATH)\lib\cppon30.lib          \
     194!endif
    184195        $(DDKPATH)\lib\os2286.lib
    185196
     
    197208        $(CDEFINES16) -DDEBUGR3 -Fa$(WIN32KLIST)\$(*B).s     \
    198209        -Foprobkrnl.obj $(CINCLUDES16) dev16\probkrnl.c
    199     link /NOD /MAP:FULL /CO /pmtype:vio probkrnl.obj, probkrnl.exe, probkrnl.map, f:\toolkit\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
     210    $(MSCPATH)\binb\link /NOD /MAP:FULL /CO /pmtype:vio probkrnl.obj, probkrnl.exe, probkrnl.map, $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcr.lib;
     211#    link /NOD /MAP:FULL /CO /pmtype:vio probkrnl.obj, probkrnl.exe, probkrnl.map, f:\toolkit\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
    200212
    201213
     
    218230devhelp.lib: $(DDKPATH)\lib\dhcalls.lib libconv.exe
    219231    libconv $(DDKPATH)\lib\dhcalls.lib $@
    220     ilib /nologo /nobackup /convformat $@;
     232    $(ILIB) /nologo /nobackup /convformat $@;
     233#   ilib /nologo /nobackup /convformat $@;
    221234
    222235clib.lib: $(MSCPATH)\lib\slibcep.lib libconv.exe
    223236    libconv $(MSCPATH)\lib\clibcep.lib $@ > nul
    224     ilib /nologo /nobackup /convformat $@;
     237    $(ILIB) /nologo /nobackup /convformat $@;
     238#   ilib /nologo /nobackup /convformat $@;
    225239
    226240last.lib: object\devlast.obj
    227241    -@del $@ > nul 2> nul
    228     ilib /nologo /nobackup $@ $**;
     242    $(ILIB) /nologo /nobackup $@ $**;
     243#   ilib /nologo /nobackup $@ $**;
    229244
    230245libconv.exe: libconv.c
  • TabularUnified trunk/src/win32k/include/pe2lx.h

    r847 r1118  
    1 /* $Id: pe2lx.h,v 1.1 1999-09-06 02:19:59 bird Exp $
     1/* $Id: pe2lx.h,v 1.2 1999-10-04 09:56:04 sandervl Exp $
    22 *
    33 * Common header file for pe2lx.
     
    3232        #include <string.h>
    3333        #include <builtin.h>
    34         #if 0
     34        #if 1
    3535            #define __malloc_h /* to prevent using the VAC++ malloc.h */
    3636            #include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.