Changeset 3281 for trunk/src/shlwapi/shlwapi.cpp
- Timestamp:
- Mar 30, 2000, 5:40:44 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shlwapi/shlwapi.cpp
r2585 r3281 1 /* $Id: shlwapi.cpp,v 1. 4 2000-01-31 22:50:51 phallerExp $ */1 /* $Id: shlwapi.cpp,v 1.5 2000-03-30 15:40:43 cbratschi Exp $ */ 2 2 3 3 /* … … 61 61 dprintf(("(%p),stub!\n", pSubKey)); 62 62 63 63 return ERROR_SUCCESS; /* return success */ 64 64 } 65 65 … … 73 73 dprintf(("(%p),stub!\n", pSubKey)); 74 74 75 75 return ERROR_SUCCESS; /* return success */ 76 76 } 77 77 … … 89 89 FIXME("(%p),stub!\n", pSubKey); 90 90 91 91 return ERROR_SUCCESS; /* return success */ 92 92 } 93 93 … … 103 103 dprintf(("(%p),stub!\n", pSubKey)); 104 104 105 105 return ERROR_SUCCESS; /* return success */ 106 106 } 107 107 … … 128 128 char szBuffer[264]; 129 129 int iLength; 130 130 131 131 dprintf(("(%p),stub!\n", pSubKey)); 132 132 … … 156 156 char szBuffer[264]; 157 157 int iLength; 158 158 159 159 dprintf(("(%p),stub!\n", pSubKey)); 160 160 … … 180 180 if (pszPath[1] == ':') 181 181 return (LPSTR)(pszPath + 2); 182 182 183 183 // check if UNC-style path 184 184 if ( (pszPath[0] == '\\') && … … 193 193 return (LPSTR)pszTemp; 194 194 } 195 195 196 196 // else ... 197 197 return (LPSTR)pszPath; … … 214 214 { 215 215 dprintf(("not implemented")); 216 216 217 217 return (LPWSTR)pszPath; 218 218 } 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 232 ODINFUNCTION1(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 251 ODINFUNCTION1(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 270 ODINFUNCTION1(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 289 ODINFUNCTION1(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 308 ODINFUNCTION1(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 327 ODINFUNCTION1(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 346 ODINFUNCTION1(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 */ 359 LPCSTR 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 } 371 LPCWSTR 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
Note:
See TracChangeset
for help on using the changeset viewer.