- Timestamp:
- Dec 29, 1999, 12:16:33 AM (26 years ago)
- Location:
- trunk/src/shell32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/shell32.def
r1695 r2237 1 ; $Id: shell32.def,v 1.2 0 1999-11-10 22:13:09 phallerExp $1 ; $Id: shell32.def,v 1.21 1999-12-28 23:16:33 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 68 68 PathQuoteSpaces = _PathQuoteSpacesAW@4 @55 69 69 PathUnquoteSpaces = _PathUnquoteSpacesAW@4 @56 70 PathGetDriveNumber = _PathGetDriveNumber @4@5770 PathGetDriveNumber = _PathGetDriveNumberAW@4 @57 71 71 ParseField = _ParseFieldA@16 @58 72 72 RestartDialog = _RestartDialog@12 @59 … … 314 314 ; Shl1632_ThunkData32 = _Shl1632_ThunkData32@? @299 315 315 ; Shl3216_ThunkData32 = _Shl3216_ThunkData32@? @300 316 ; StrChrA = _StrChrA@?@301316 StrChrA = _StrChrA@8 @301 317 317 ; StrChrIA = _StrChrIA@? @302 318 318 ; StrChrIW = _StrChrIW@? @303 319 319 StrChrW = _StrChrW@8 @304 320 320 ; StrCmpNA = _StrCmpNA@? @305 321 ; StrCmpNIA = _StrCmpNIA@?@306321 StrCmpNIA = _StrCmpNIA@12 @306 322 322 StrCmpNIW = _StrCmpNIW@12 @307 323 323 ; StrCmpNW = _StrCmpNW@? @308 … … 330 330 ; StrCpyA = _StrCpyA@? @315 331 331 StrNCpyW = _StrNCpyW@8 @316 332 ; StrRChrA = _StrRChrA@?@317332 StrRChrA = _StrRChrA@12 @317 333 333 ; StrRChrIA = _StrRChrIA@? @318 334 334 ; StrRChrIW = _StrRChrIW@? @319 … … 378 378 ; FOOBAR1217 = _FOOBAR1217@? @1217 379 379 380 StrRetToBufA = _StrRetToBufA@16 @1000 381 StrRetToBufW = _StrRetToBufW@16 @1001 382 PathMatchSpecA = _PathMatchSpecA@8 @1002 383 PathMatchSpecW = _PathMatchSpecW@8 @1003 384 StrRetToStrNA = _StrRetToStrNA@16 @1004 385 StrRetToStrNW = _StrRetToStrNW@16 @1005 386 PathAddBackslashA = _PathAddBackslashA@4 @1006 387 PathAddBackslashW = _PathAddBackslashW@4 @1007 388 PathFindFilenameA = _PathFindFilenameA@4 @1008 389 PathFindFilenameW = _PathFindFilenameW@4 @1009 390 PathIsRootA = _PathIsRootA@4 @1010 391 PathIsRootW = _PathIsRootW@4 @1011 392 PathRemoveBackslashA = _PathRemoveBackslashA@4 @1012 393 PathRemoveBackslashW = _PathRemoveBackslashW@4 @1013 394 PathRemoveFileSpecA = _PathRemoveFileSpecA@4 @1014 380 _PathMatchSpecA@8 @1002 381 _PathMatchSpecW@8 @1003 382 _StrRetToStrNA@16 @1004 383 _StrRetToStrNW@16 @1005 384 _PathAddBackslashA@4 @1006 385 _PathAddBackslashW@4 @1007 386 _PathFindFilenameA@4 @1008 387 _PathFindFilenameW@4 @1009 388 _PathIsRootA@4 @1010 389 _PathIsRootW@4 @1011 390 _PathRemoveBackslashA@4 @1012 391 _PathRemoveBackslashW@4 @1013 392 _PathRemoveFileSpecA@4 @1014 393 394 _PathCombineA@12 @1015 395 _PathCombineW@12 @1016 396 _PathGetArgsA@4 @1019 397 _PathGetArgsW@4 @1020 398 399 _PathBuildRootA@8 @1021 400 _PathBuildRootW@8 @1022 401 _PathUnquoteSpacesA@4 @1023 402 _PathUnquoteSpacesW@4 @1024 403 _PathFindOnPathA@8 @1025 404 _PathFindOnPathW@8 @1026 405 _PathFileExistsA@4 @1027 406 _PathFileExistsW@4 @1028 407 _PathIsRelativeA@4 @1029 408 _PathIsRelativeW@4 @1030 409 _PathRemoveBlanksA@4 @1031 410 _PathRemoveBlanksW@4 @1032 411 _PathQuoteSpacesA@4 @1033 412 _PathQuoteSpacesW@4 @1034 413 _PathSetDlgItemPathA@12 @1035 414 _PathSetDlgItemPathW@12 @1036 415 _PathGetDriveNumberA@4 @1037 416 _PathGetDriveNumberW@4 @1038 417 _PathIsUNCA@4 @1039 418 _PathIsUNCW@4 @1040 419 _StrFormatByteSizeA@12 @1041 420 _StrFormatByteSizeW@12 @1042 421 _PathAppendA@8 @1043 422 _PathAppendW@8 @1044 -
trunk/src/shell32/shellord.cpp
r1551 r2237 1 /* $Id: shellord.cpp,v 1. 3 1999-11-02 19:17:15 phallerExp $ */1 /* $Id: shellord.cpp,v 1.4 1999-12-28 23:16:33 sandervl Exp $ */ 2 2 /* 3 3 * The parameters of many functions changes between different OS versions … … 46 46 int count, 47 47 IDSTRUCT *idlist) 48 { FIXME("(0x%04x,0x%08lx,0x%08lx,0x%08lx,0x%08x,%p):stub.\n", 48 { 49 FIXME("SHChangeNotifyRegister: (0x%04x,0x%08lx,0x%08lx,0x%08lx,0x%08x,%p):stub.\n", 49 50 hwnd,events1,events2,msg,count,idlist); 50 51 return 0; … … 115 116 */ 116 117 DWORD WINAPI PickIconDlg(DWORD x,DWORD y,DWORD z,DWORD a) 117 { FIXME(" (%08lx,%08lx,%08lx,%08lx):stub.\n",x,y,z,a);118 { FIXME("PickIconDlg(%08lx,%08lx,%08lx,%08lx):stub.\n",x,y,z,a); 118 119 return 0xffffffff; 119 120 } … … 1105 1106 1106 1107 /************************************************************************* 1108 * StrChrA [NT 4.0:SHELL32.651] 1109 * 1110 */ 1111 LPSTR WINAPI StrChrA (LPSTR str, CHAR x ) 1112 { LPSTR ptr=str; 1113 1114 do 1115 { if (*ptr==x) 1116 { return ptr; 1117 } 1118 ptr++; 1119 } while (*ptr); 1120 return NULL; 1121 } 1122 1123 /************************************************************************* 1107 1124 * StrChrW [NT 4.0:SHELL32.651] 1108 1125 * … … 1131 1148 1132 1149 /************************************************************************* 1150 * StrCmpNIA [NT 4.0:SHELL32.*] 1151 * 1152 */ 1153 INT WINAPI StrCmpNIA ( LPSTR wstr1, LPSTR wstr2, INT len) 1154 { FIXME("%s %s %i stub\n", wstr1,wstr2,len); 1155 return 0; 1156 } 1157 1158 /************************************************************************* 1133 1159 * SHAllocShared [SHELL32.520] 1134 1160 * -
trunk/src/shell32/shellpath.cpp
r1553 r2237 1 /* $Id: shellpath.cpp,v 1. 4 1999-11-02 20:05:35 phallerExp $ */1 /* $Id: shellpath.cpp,v 1.5 1999-12-28 23:16:33 sandervl Exp $ */ 2 2 3 3 /* … … 99 99 * PathBuildRoot [SHELL32.30] 100 100 */ 101 ODINFUNCTION2(LPSTR, PathBuildRootA, 102 LPSTR, root, 103 BYTE, drive) 101 LPSTR WINAPI PathBuildRootA(LPSTR root, BYTE drive) 104 102 { 105 103 TRACE("%p %i\n",root, drive); 106 104 strcpy(root,"A:\\"); 105 root[0]+=drive; 106 return root; 107 } 108 109 /************************************************************************* 110 */ 111 LPWSTR WINAPI PathBuildRootW(LPWSTR root, BYTE drive) 112 { 113 lstrcpyW(root, (LPWSTR)L"A:\\"); 107 114 root[0]+=drive; 108 115 return root; … … 329 336 * concats "target\\add" and writes them to target 330 337 */ 331 ODINFUNCTION2(LPSTR, PathAppendA, 332 LPSTR, x1, 333 LPSTR, x2) 338 LPSTR WINAPI PathAppendA(LPSTR x1, LPSTR x2) 334 339 { 335 340 TRACE("%s %s\n",x1,x2); 336 341 while (x2[0]=='\\') x2++; 337 342 return PathCombineA(x1,x1,x2); 343 } 344 345 /************************************************************************* 346 * PathAppend [SHELL32.36] 347 * 348 * NOTES 349 * concat_paths(char*target,const char*add); 350 * concats "target\\add" and writes them to target 351 */ 352 LPWSTR WINAPI PathAppendW(LPWSTR x1, LPWSTR x2) 353 { 354 while (x2[0] == (WCHAR)'\\') x2++; 355 return PathCombineW(x1,x1,x2); 338 356 } 339 357 … … 491 509 TRACE("%s\n",fn); 492 510 if (GetFileAttributesA(fn)==-1) 511 return FALSE; 512 else 513 return TRUE; 514 } 515 /************************************************************************* 516 * PathFileExists [SHELL32.45] 517 * 518 * NOTES 519 * file_exists(char *fn); 520 */ 521 ODINFUNCTION1(BOOL, PathFileExistsW, 522 LPWSTR, fn) 523 { 524 if (GetFileAttributesW(fn)==-1) 493 525 return FALSE; 494 526 else … … 763 795 * 764 796 */ 765 ODINFUNCTION1(HRESULT, PathGetDriveNumber ,797 ODINFUNCTION1(HRESULT, PathGetDriveNumberAW, 766 798 LPSTR, u) 767 799 { FIXME("%s stub\n",debugstr_a(u)); 800 return 0; 801 } 802 803 /************************************************************************* 804 * PathGetDriveNumber32 [SHELL32.57] 805 * 806 */ 807 ODINFUNCTION1(HRESULT, PathGetDriveNumberA, 808 LPSTR, u) 809 { FIXME("%s stub\n",debugstr_a(u)); 810 return 0; 811 } 812 813 /************************************************************************* 814 * PathGetDriveNumber32 [SHELL32.57] 815 * 816 */ 817 ODINFUNCTION1(HRESULT, PathGetDriveNumberW, 818 LPWSTR, u) 819 { 768 820 return 0; 769 821 } … … 1153 1205 * 1154 1206 */ 1155 ODINFUNCTION1(LPSTR,PathRemoveBackslashA,LPSTR,lpPath)1207 LPSTR WINAPI PathRemoveBackslashA(LPSTR lpPath) 1156 1208 { 1157 1209 LPSTR temp = lpPath; … … 1170 1222 } 1171 1223 1172 ODINFUNCTION1(LPWSTR,PathRemoveBackslashW,LPWSTR,lpPath) 1173 { 1174 dprintf(("(%p),stub!\n", lpPath)); 1175 return lpPath; 1176 } 1177 1178 /* 1179 shlwapi functions that have found their way in because most of 1180 shlwapi is unimplemented and doesn't have a home. 1181 1182 FIXME: move to a more appropriate file( when one exists ) 1183 */ 1184 1185 /* SHGetValue: Gets a value from the registry */ 1186 1187 ODINFUNCTION6(DWORD,SHGetValueA,HKEY, hkey, 1188 LPCSTR, pSubKey, 1189 LPCSTR, pValue, 1190 LPDWORD, pwType, 1191 LPVOID, pvData, 1192 LPDWORD, pbData) 1193 { 1194 dprintf(("(%p),stub!\n", pSubKey)); 1195 1196 return ERROR_SUCCESS; /* return success */ 1197 } 1198 1199 ODINFUNCTION6(DWORD,SHGetValueW,HKEY, hkey, 1200 LPCWSTR, pSubKey, 1201 LPCWSTR, pValue, 1202 LPDWORD, pwType, 1203 LPVOID, pvData, 1204 LPDWORD, pbData) 1205 { 1206 dprintf(("(%p),stub!\n", pSubKey)); 1207 1208 return ERROR_SUCCESS; /* return success */ 1209 } 1210 1211 /* gets a user-specific registry value. */ 1212 1213 ODINFUNCTION8(LONG,SHRegGetUSValueA,LPCSTR, pSubKey, 1214 LPCSTR, pValue, 1215 LPDWORD, pwType, 1216 LPVOID, pvData, 1217 LPDWORD, pbData, 1218 BOOL, fIgnoreHKCU, 1219 LPVOID, pDefaultData, 1220 DWORD, wDefaultDataSize) 1221 { 1222 FIXME("(%p),stub!\n", pSubKey); 1223 1224 return ERROR_SUCCESS; /* return success */ 1225 } 1226 1227 ODINFUNCTION8(LONG,SHRegGetUSValueW,LPCWSTR, pSubKey, 1228 LPCWSTR, pValue, 1229 LPDWORD, pwType, 1230 LPVOID, pvData, 1231 LPDWORD, pbData, 1232 BOOL, flagIgnoreHKCU, 1233 LPVOID, pDefaultData, 1234 DWORD, wDefaultDataSize) 1235 { 1236 dprintf(("(%p),stub!\n", pSubKey)); 1237 1238 return ERROR_SUCCESS; /* return success */ 1239 } 1224 LPWSTR WINAPI PathRemoveBackslashW(LPWSTR lpPath) 1225 { 1226 LPWSTR temp = lpPath; 1227 LPWSTR prev = lpPath; 1228 1229 while (*temp) 1230 { 1231 prev = temp++; 1232 } 1233 if ( *prev == (WCHAR)'\\') 1234 { 1235 *prev = (WCHAR)'\0'; 1236 } 1237 1238 return prev; 1239 } 1240
Note:
See TracChangeset
for help on using the changeset viewer.