Ignore:
Timestamp:
Nov 22, 2000, 12:49:04 AM (25 years ago)
Author:
phaller
Message:

Major move towards WINE CRTDLL, mixture between both code branches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/stubs.cpp

    r2855 r4667  
    1 /* $Id: stubs.cpp,v 1.3 2000-02-21 23:11:31 sandervl Exp $ */
     1/* $Id: stubs.cpp,v 1.4 2000-11-21 23:48:53 phaller Exp $ */
    22
    33/*
     
    2626
    2727/*********************************************************************
    28  *      __dllonexit                             (CRTDLL.25)
    29  */
    30 VOID CDECL CRTDLL___dllonexit ()
    31 {       
    32   dprintf(("__dllonexit not implemented.\n"));
    33   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    34 }
    35 
    36 
    37 /*********************************************************************
    3828 *                  __fpecode            (CRTDLL.27)
    3929 */
     
    5848
    5949/*********************************************************************
    60  *      _abnormal_termination                   (CRTDLL.36)
    61  */
    62 int CDECL CRTDLL__abnormal_termination(void)
    63 {
    64   dprintf(("CRTDLL: _abnormal_termination  not implemented.\n"));
    65   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    66   return FALSE;
    67 }
    68 
    69 
    70 /*********************************************************************
    71  *           _chgsign    (CRTDLL.53)
    72  */
    73 double CDECL CRTDLL__chgsign(double x)
    74 {
    75   dprintf(("CRTDLL: _chgsign not implemented.\n"));
    76   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    77   return FALSE;
    78 }
    79 
    80 
    81 /*********************************************************************
    82  *                  _commit    (CRTDLL.58)
    83  */
    84 int CDECL CRTDLL__commit( int fd )
    85 {
    86   dprintf(("CRTDLL: _commit not implemented.\n"));
    87   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    88   return FALSE;
    89 }
    90 
    91 
    92 /*********************************************************************
    93  *                  _copysign    (CRTDLL.62)
    94  */
    95 double CDECL CRTDLL__copysign( double d, double s )
    96 {
    97   dprintf(("CRTDLL: _copysign not implemented\n"));
    98   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    99   return FALSE;
    100 }
    101 
    102 
    103 /*********************************************************************
    104  *      _expand                                 (CRTDLL.88)
    105  */
    106 void * CDECL CRTDLL__expand( void *ptr, size_t size )
    107 {
    108   dprintf(("CRTDLL: _expand not implemented.\n"));
    109   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    110   return FALSE;
    111 }
    112 
    113 
    114 /*********************************************************************
    115  *      _filbuf                                 (CRTDLL.94)
    116  */
    117 int CDECL CRTDLL__filbuf(FILE * f)
    118 {
    119   dprintf(("CRTDLL: _filbuf not implemented.\n"));
    120   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    121   return FALSE;
    122 }
    123 
    124 
    125 /*********************************************************************
    126 *                  _findclose    (CRTDLL.098)
    127 */
    128 int CDECL CRTDLL__findclose( long handle )
    129 {
    130   dprintf(("CRTDLL: _findclose not implemented.\n"));
    131   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    132   return FALSE;
    133 }
    134 
    135 
    136 /*********************************************************************
    137  *      _findfirst                              (CRTDLL.099)
    138  */
    139 DWORD CDECL CRTDLL__findfirst(const char *_name, struct _finddata_t *result)
    140 {
    141   dprintf(("CRTDLL: _findfirst not implemented.\n"));
    142   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    143   return FALSE;
    144 }
    145 
    146 
    147 /*********************************************************************
    148  *      _findnext                               (CRTDLL.100)
    149  */
    150 INT CDECL CRTDLL__findnext(DWORD hand, struct find_t * x2)
    151 {
    152   dprintf(("CRTDLL: _findnext not implemented.\n"));
    153   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    154   return FALSE;
    155 }
    156 
    157 
    158 /*********************************************************************
    159  *                  _finite     (CRTDLL.101)
    160  */
    161 INT CDECL CRTDLL__finite(double x)
    162 {
    163   dprintf(("CRTDLL: _finite not implemented.\n"));
    164   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    165   return FALSE;
    166 }
    167 
    168 
    169 /*********************************************************************
    170  *      _flsbuf                                 (CRTDLL.102)
    171  */
    172 INT CDECL CRTDLL__flsbuf(int i, FILE * f)
    173 {
    174   dprintf(("CRTDLL: _flsbuf not implemented.\n"));
    175   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    176   return FALSE;
    177 }
    178 
    179 
    180 /*********************************************************************
    18150 *                  _fpclass     (CRTDLL.105)
    18251 */
     
    21281
    21382/*********************************************************************
    214  *      _fsopen                                 (CRTDLL.110)
    215  */
    216 FILE * CDECL CRTDLL__fsopen( const char *file, const char *mode, int shflag )
    217 {
    218   dprintf(("CRTDLL: _fsopen not implemented.\n"));
    219   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    220   return FALSE;
    221 }
    222 
    223 
    224 /*********************************************************************
    22583 *      _futime                                 (CRTDLL.115)
    22684 */
     
    23492
    23593/*********************************************************************
    236  *                  _get_osfhandle     (CRTDLL.117)
    237  */
    238 void* CDECL CRTDLL__get_osfhandle( int fileno )
    239 {
    240   dprintf(("CRTDLL: _get_osfhandle not implemented.\n"));
    241   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    242   return 0;
    243 }
    244 
    245 
    246 /*********************************************************************
    247  *                  _getdiskfree     (CRTDLL.122)
    248  */
    249 unsigned int CDECL CRTDLL__getdiskfree( unsigned int drive, struct _diskfree_t *diskspace)
    250 {
    251   dprintf(("CRTDLL: _getdiskfree not implemented\n"));
    252   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    253   return 0;
    254 }
    255 
    256 
    257 /*********************************************************************
    25894 *                  _getdllprocaddr     (CRTDLL.123)
    25995 */
     
    267103
    268104/*********************************************************************
    269  *      _heapwalk                               (CRTDLL.133)
    270  */
    271 int CDECL CRTDLL__heapwalk( struct _heapinfo *entry )
    272 {
    273   dprintf(("CRTDLL: _heapwalk not implemented.\n"));
    274   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    275   return 0;
    276 }
    277 
    278 
    279 /*********************************************************************
    280  *                  _isatty       (CRTDLL.137)
    281  */
    282 BOOL CDECL CRTDLL__isatty(DWORD x)
    283 {
    284    dprintf(("CRTDLL: _isatty(%ld) not implemented.\n",x));
    285    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    286    return TRUE;
    287 }
    288 
    289 
    290 /*********************************************************************
    291105 *                  _ismbbalnum     (CRTDLL.139)
    292106 */
     
    560374  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    561375  return 0;
    562 }
    563 
    564 
    565 /*********************************************************************
    566  *                  _isnan     (CRTDLL.164)
    567  */
    568 int CDECL CRTDLL__isnan( double x )
    569 {
    570   dprintf(("CRTDLL: _isnan not implemented.\n"));
    571   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    572   return FALSE;
    573376}
    574377
     
    609412
    610413/*********************************************************************
    611  *      _lsearch                                (CRTDLL.177)
    612  */
    613 void * CDECL CRTDLL__lsearch(const void *key, void *base, size_t *nelp, size_t width,
    614          int (*compar)(const void *, const void *))
    615 {
    616   dprintf(("CRTDLL: _lsearch not implemented.\n"));
    617   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    618   return FALSE;
    619 }
    620 
    621 
    622 /*********************************************************************
    623414 *                  _mbbtombc        (CRTDLL.182)
    624415 */
     
    639430  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    640431  return FALSE;
    641 }
    642 
    643 
    644 /*********************************************************************
    645  *                  _mbccpy        (CRTDLL.184)
    646  */
    647 void CDECL CRTDLL__mbccpy( unsigned char *dst, const unsigned char *src )
    648 {
    649   dprintf(("CRTDLL: _mbccpy not implemented.\n"));
    650   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    651432}
    652433
Note: See TracChangeset for help on using the changeset viewer.