Changeset 13858


Ignore:
Timestamp:
Mar 30, 2000, 5:40:44 PM (25 years ago)
Author:
cbratschi
Message:

explorer.exe stubs

Location:
tags/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/kernel32.def

    r13852 r13858  
    1 ; $Id: kernel32.def,v 1.77 2000-03-29 17:17:17 sandervl Exp $
     1; $Id: kernel32.def,v 1.78 2000-03-30 15:37:14 cbratschi Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    124124;  Ordinal0097 = _OS2Ordinal0097@??           @97
    125125;  Ordinal0098 = _OS2Ordinal0098@??           @98
    126 ;  Ordinal0099 = _OS2Ordinal0099@??           @99
     126   KERNEL32_99 = _KERNEL32_99@4               @99
    127127;  Ordinal0100 = _OS2Ordinal0100@??           @100
    128128;  Ordinal0101 = _OS2Ordinal0101@??           @101
  • TabularUnified tags/trunk/src/kernel32/stubs.cpp

    r13653 r13858  
    1 /* $Id: stubs.cpp,v 1.20 2000-03-10 16:12:00 sandervl Exp $ */
     1/* $Id: stubs.cpp,v 1.21 2000-03-30 15:37:14 cbratschi Exp $ */
    22
    33/*
     
    2424#include "stubs.h"
    2525
    26 #define DBG_LOCALLOG    DBG_stubs
     26#define DBG_LOCALLOG    DBG_stubs
    2727#include "dbglocal.h"
    2828
     
    16131613           lpCurrencyStr,
    16141614           cchCurrency));
    1615  
     1615
    16161616  if(lpValue && lpCurrencyStr) {
    1617         lstrcpyA(lpCurrencyStr, lpValue);
    1618         return lstrlenA(lpCurrencyStr);
     1617        lstrcpyA(lpCurrencyStr, lpValue);
     1618        return lstrlenA(lpCurrencyStr);
    16191619  }
    16201620  return (0);
     
    16561656
    16571657  if(lpValue && lpCurrencyStr) {
    1658         lstrcpyW(lpCurrencyStr, lpValue);
    1659         return lstrlenW(lpCurrencyStr);
     1658        lstrcpyW(lpCurrencyStr, lpValue);
     1659        return lstrlenW(lpCurrencyStr);
    16601660  }
    16611661
     
    25952595}
    25962596
    2597 
     2597/*****************************************************************************
     2598 * Name      : ???
     2599 * Purpose   : Unknown (used by explorer.exe)
     2600 * Parameters: Unknown (wrong)
     2601 * Variables :
     2602 * Result    : Unknown
     2603 * Remark    :
     2604 * Status    : UNTESTED STUB
     2605 *
     2606 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     2607 *****************************************************************************/
     2608
     2609VOID WIN32API KERNEL32_99(DWORD x)
     2610{
     2611  dprintf(("KERNEL32: Unknown API KERNEL32.99\n"));
     2612}
     2613
     2614
  • TabularUnified tags/trunk/src/shlwapi/shlwapi.cpp

    r13166 r13858  
    1 /* $Id: shlwapi.cpp,v 1.4 2000-01-31 22:50:51 phaller Exp $ */
     1/* $Id: shlwapi.cpp,v 1.5 2000-03-30 15:40:43 cbratschi Exp $ */
    22
    33/*
     
    6161    dprintf(("(%p),stub!\n", pSubKey));
    6262
    63         return ERROR_SUCCESS;  /* return success */
     63        return ERROR_SUCCESS;  /* return success */
    6464}
    6565
     
    7373    dprintf(("(%p),stub!\n", pSubKey));
    7474
    75         return ERROR_SUCCESS;  /* return success */
     75        return ERROR_SUCCESS;  /* return success */
    7676}
    7777
     
    8989    FIXME("(%p),stub!\n", pSubKey);
    9090
    91         return ERROR_SUCCESS;  /* return success */
     91        return ERROR_SUCCESS;  /* return success */
    9292}
    9393
     
    103103    dprintf(("(%p),stub!\n", pSubKey));
    104104
    105         return ERROR_SUCCESS;  /* return success */
     105        return ERROR_SUCCESS;  /* return success */
    106106}
    107107
     
    128128  char  szBuffer[264];
    129129  int   iLength;
    130  
     130
    131131  dprintf(("(%p),stub!\n", pSubKey));
    132132
     
    156156  char  szBuffer[264];
    157157  int   iLength;
    158  
     158
    159159  dprintf(("(%p),stub!\n", pSubKey));
    160160
     
    180180  if (pszPath[1] == ':')
    181181    return (LPSTR)(pszPath + 2);
    182  
     182
    183183  // check if UNC-style path
    184184  if ( (pszPath[0] == '\\') &&
     
    193193      return (LPSTR)pszTemp;
    194194  }
    195  
     195
    196196  // else ...
    197197  return (LPSTR)pszPath;
     
    214214{
    215215  dprintf(("not implemented"));
    216  
     216
    217217  return (LPWSTR)pszPath;
    218218}
     219
     220/*****************************************************************************
     221 * Name      : ???
     222 * Purpose   : Unknown (used by explorer.exe)
     223 * Parameters: Unknown (wrong)
     224 * Variables :
     225 * Result    : Unknown
     226 * Remark    :
     227 * Status    : UNTESTED STUB
     228 *
     229 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     230 *****************************************************************************/
     231
     232ODINFUNCTION1(DWORD,SHLWAPI_8,DWORD,x)
     233{
     234  dprintf(("not implemented"));
     235
     236  return 0;
     237}
     238
     239/*****************************************************************************
     240 * Name      : ???
     241 * Purpose   : Unknown (used by explorer.exe)
     242 * Parameters: Unknown (wrong)
     243 * Variables :
     244 * Result    : Unknown
     245 * Remark    :
     246 * Status    : UNTESTED STUB
     247 *
     248 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     249 *****************************************************************************/
     250
     251ODINFUNCTION1(DWORD,SHLWAPI_9,DWORD,x)
     252{
     253  dprintf(("not implemented"));
     254
     255  return 0;
     256}
     257
     258/*****************************************************************************
     259 * Name      : ???
     260 * Purpose   : Unknown (used by explorer.exe)
     261 * Parameters: Unknown (wrong)
     262 * Variables :
     263 * Result    : Unknown
     264 * Remark    :
     265 * Status    : UNTESTED STUB
     266 *
     267 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     268 *****************************************************************************/
     269
     270ODINFUNCTION1(DWORD,SHLWAPI_10,DWORD,x)
     271{
     272  dprintf(("not implemented"));
     273
     274  return 0;
     275}
     276
     277/*****************************************************************************
     278 * Name      : ???
     279 * Purpose   : Unknown (used by explorer.exe)
     280 * Parameters: Unknown (wrong)
     281 * Variables :
     282 * Result    : Unknown
     283 * Remark    :
     284 * Status    : UNTESTED STUB
     285 *
     286 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     287 *****************************************************************************/
     288
     289ODINFUNCTION1(DWORD,SHLWAPI_16,DWORD,x)
     290{
     291  dprintf(("not implemented, explorer.exe will trap now"));
     292
     293  return 0;
     294}
     295
     296/*****************************************************************************
     297 * Name      : PathStripToRootA
     298 * Purpose   : return root (used by explorer.exe)
     299 * Parameters: Unknown (wrong)
     300 * Variables :
     301 * Result    : Unknown
     302 * Remark    :
     303 * Status    : UNTESTED STUB
     304 *
     305 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     306 *****************************************************************************/
     307
     308ODINFUNCTION1(LPSTR,PathStripToRootA,LPSTR,pszPath)
     309{
     310  dprintf(("not implemented"));
     311
     312  return NULL;
     313}
     314
     315/*****************************************************************************
     316 * Name      : PathStripToRootW
     317 * Purpose   : return root (used by explorer.exe)
     318 * Parameters: Unknown (wrong)
     319 * Variables :
     320 * Result    : Unknown
     321 * Remark    :
     322 * Status    : UNTESTED STUB
     323 *
     324 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     325 *****************************************************************************/
     326
     327ODINFUNCTION1(LPSTR,PathStripToRootW,LPSTR,pszPath)
     328{
     329  dprintf(("not implemented"));
     330
     331  return NULL;
     332}
     333
     334/*****************************************************************************
     335 * Name      : StrToIntA
     336 * Purpose   : convert string to integer (used by explorer.exe)
     337 * Parameters: Unknown (wrong)
     338 * Variables :
     339 * Result    : Unknown
     340 * Remark    :
     341 * Status    : UNTESTED STUB
     342 *
     343 * Author    : Christoph Bratschi [Wed, 2000/03/29 19:47]
     344 *****************************************************************************/
     345
     346ODINFUNCTION1(INT,StrToIntA,LPSTR,pszPath)
     347{
     348  dprintf(("not implemented"));
     349
     350  return NULL;
     351}
     352
     353/*************************************************************************
     354 * PathFindExtension [SHELL32.31]
     355 *
     356 * NOTES
     357 *     returns pointer to last . in last pathcomponent or at \0.
     358 */
     359LPCSTR WINAPI PathFindExtensionA(LPCSTR path)
     360{       LPCSTR   lastpoint = NULL;
     361        TRACE("%p %s\n",path,path);
     362        while (*path)
     363        { if (*path=='\\'||*path==' ')
     364            lastpoint=NULL;
     365          if (*path=='.')
     366            lastpoint=path;
     367          path++;
     368        }
     369        return lastpoint?lastpoint:path;
     370}
     371LPCWSTR WINAPI PathFindExtensionW(LPCWSTR path)
     372{       LPCWSTR   lastpoint = NULL;
     373        TRACE("(%p %s)\n",path,debugstr_w(path));
     374        while (*path)
     375        { if (*path==(WCHAR)'\\'||*path==(WCHAR)' ')
     376            lastpoint=NULL;
     377          if (*path==(WCHAR)'.')
     378            lastpoint=path;
     379          path++;
     380        }
     381        return lastpoint?lastpoint:path;
     382}
     383
  • TabularUnified tags/trunk/src/shlwapi/shlwapi.def

    r13831 r13858  
    1 ; $Id: shlwapi.def,v 1.8 2000-03-27 21:46:20 sandervl Exp $
     1; $Id: shlwapi.def,v 1.9 2000-03-30 15:40:44 cbratschi Exp $
    22
    33LIBRARY SHLWAPI INITINSTANCE TERMINSTANCE
     
    417417
    418418EXPORTS
     419    SHLWAPI_8           = _SHLWAPI_8@4                         @8
     420    SHLWAPI_9           = _SHLWAPI_9@4                         @9
     421    SHLWAPI_10          = _SHLWAPI_10@4                        @10
     422    SHLWAPI_16          = _SHLWAPI_16@4                        @16
     423
    419424    PathAddBackslashA = _PathAddBackslashA@4                    @169
    420425    PathAddBackslashW = _PathAddBackslashW@4                    @170
     
    465470    PathSkipRootW        = _PathSkipRootW@4                     @258
    466471
     472    PathStripToRootA     = _PathStripToRootA@4                  @261
     473    PathStripToRootW     = _PathStripToRootW@4                  @262
     474
    467475    PathUnquoteSpacesA   = _PathUnquoteSpacesA@4                @265
    468476    PathUnquoteSpacesW   = _PathUnquoteSpacesW@4                @266
     
    470478    SHGetValueA          = _SHGetValueA@24                      @281
    471479    SHGetValueW          = _SHGetValueW@24                      @282
     480
     481    PathFindExtensionA   = _PathFindExtensionA@4                @191
     482    PathFindExtensionW   = _PathFindExtensionW@4                @192
    472483
    473484    SHRegGetBoolUSValueA = _SHRegGetBoolUSValueA@20             @301
     
    491502    StrStrIW             = _StrStrIW@8                          @356
    492503
     504    StrToIntA            = _StrToIntA@4                         @358
     505
    493506    StrRetToBufA         = _StrRetToBufA@16                     @400
    494507    StrRetToBufW         = _StrRetToBufW@16                     @401
    495 
    496 
Note: See TracChangeset for help on using the changeset viewer.