- Timestamp:
- Oct 7, 1999, 12:34:48 PM (26 years ago)
- Location:
- trunk/src/shell32/new
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/dataobject.cpp
r1145 r1162 1 /* $Id: dataobject.cpp,v 1. 2 1999-10-05 19:33:37phaller Exp $ */1 /* $Id: dataobject.cpp,v 1.3 1999-10-07 10:34:46 phaller Exp $ */ 2 2 3 3 /* … … 347 347 348 348 static UINT WINAPI IDLList_GetState(LPIDLLIST THIS) 349 { TRACE("(%p)->(uStep=%u dpa=%p)\n",THIS, THIS->uStep, THIS->dpa); 349 { 350 dprintf(("SHELL32:dataobject:IDLList_GetState((%p)->(uStep=%u dpa=%p)\n", 351 THIS, 352 THIS->uStep, 353 THIS->dpa)); 350 354 351 355 if (THIS->uStep == 0) … … 358 362 return(State_UnInit); 359 363 } 364 365 360 366 static LPITEMIDLIST WINAPI IDLList_GetElement(LPIDLLIST THIS, UINT nIndex) 361 { TRACE("(%p)->(index=%u)\n",THIS, nIndex); 367 { 368 dprintf(("SHELL32:dataobject:IDLList_GetElement((%p)->(index=%u)\n", 369 THIS, 370 nIndex)); 371 362 372 return((LPITEMIDLIST)pDPA_GetPtr(THIS->dpa, nIndex)); 363 373 } 374 375 364 376 static UINT WINAPI IDLList_GetCount(LPIDLLIST THIS) 365 { TRACE("(%p)\n",THIS); 377 { 378 dprintf(("SHELL32:dataobject:IDLList_GetCount(%p)\n", 379 THIS)); 380 366 381 return(IDLList_GetState(THIS)==State_Init ? DPA_GetPtrCount(THIS->dpa) : 0); 367 382 } 383 384 368 385 static BOOL WINAPI IDLList_StoreItem(LPIDLLIST THIS, LPITEMIDLIST pidl) 369 { TRACE("(%p)->(pidl=%p)\n",THIS, pidl); 386 { 387 dprintf(("SHELL32:dataobject:IDLList_StoreItem((%p)->(pidl=%p)\n", 388 THIS, 389 pidl)); 390 370 391 if (pidl) 371 392 { if (IDLList_InitList(THIS) && pDPA_InsertPtr(THIS->dpa, 0x7fff, (LPSTR)pidl)>=0) … … 376 397 return(FALSE); 377 398 } 399 400 378 401 static BOOL WINAPI IDLList_AddItems(LPIDLLIST THIS, LPITEMIDLIST *apidl, UINT cidl) 379 { INT i; 380 TRACE("(%p)->(apidl=%p cidl=%u)\n",THIS, apidl, cidl); 402 { 403 INT i; 404 405 dprintf(("SHELL32:dataobject:IDLList_AddItems((%p)->(apidl=%p cidl=%u)\n", 406 THIS, 407 apidl, 408 cidl)); 381 409 382 410 for (i=0; i<cidl; ++i) … … 386 414 return(TRUE); 387 415 } 416 417 388 418 static BOOL WINAPI IDLList_InitList(LPIDLLIST THIS) 389 { TRACE("(%p)\n",THIS); 419 { 420 dprintf(("SHELL32:dataobject:IDLList_InitList(%p)\n", 421 THIS)); 422 390 423 switch (IDLList_GetState(THIS)) 391 424 { case State_Init: … … 402 435 } 403 436 } 437 438 404 439 static void WINAPI IDLList_CleanList(LPIDLLIST THIS) 405 { INT i; 406 TRACE("(%p)\n",THIS); 440 { 441 INT i; 442 443 dprintf(("SHELL32:dataobject:IDLList_CleanList(%p)\n", 444 THIS)); 407 445 408 446 if (THIS->uStep != 0) … … 458 496 char xriid[50]; 459 497 WINE_StringFromCLSID((LPCLSID)riid,xriid); 460 TRACE("(%p)->(\n\tIID:\t%s,%p)\n",This,xriid,ppvObj); 498 499 dprintf(("SHELL32:dataobject:IDataObject_fnQueryInterface((%p)->(\n\tIID:\t%s,%p)\n", 500 This, 501 xriid, 502 ppvObj)); 461 503 462 504 *ppvObj = NULL; … … 484 526 ICOM_THIS(IDataObjectImpl,iface); 485 527 486 TRACE("(%p)->(count=%lu)\n",This, This->ref); 528 dprintf(("SHELL32:dataobject:IDataObject_fnAddRef((%p)->(count=%lu)\n", 529 This, 530 This->ref)); 487 531 488 532 shell32_ObjCount++; … … 495 539 { 496 540 ICOM_THIS(IDataObjectImpl,iface); 497 TRACE("(%p)->()\n",This); 498 541 dprintf(("SHELL32:dataobject:IDataObject_fnRelease(%p)\n", 542 This)); 499 543 shell32_ObjCount--; 500 544 … … 524 568 525 569 GetClipboardFormatNameA (pformatetcIn->cfFormat, szTemp, 256); 526 TRACE("(%p)->(%p %p format=%s)\n", This, pformatetcIn, pmedium, szTemp); 570 571 dprintf(("SHELL32:dataobject:IDataObject_fnGetData(%p)->(%p %p format=%s)\n", 572 This, 573 pformatetcIn, 574 pmedium, 575 szTemp)); 527 576 528 577 /* test expected format */ … … 587 636 return (E_INVALIDARG); 588 637 } 638 639 589 640 static HRESULT WINAPI IDataObject_fnGetDataHere(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium) 590 641 { 591 642 ICOM_THIS(IDataObjectImpl,iface); 592 FIXME("(%p)->()\n", This); 643 dprintf(("SHELL32:dataobject:IDataObject_fnGetDataHere(%p)->(%p %p) not implemented\n", 644 This, 645 pformatetc, 646 pmedium)); 647 593 648 return E_NOTIMPL; 594 649 } 650 651 595 652 static HRESULT WINAPI IDataObject_fnQueryGetData(LPDATAOBJECT iface, LPFORMATETC pformatetc) 596 653 { … … 598 655 UINT i; 599 656 600 TRACE("(%p)->(fmt=0x%08x tym=0x%08lx)\n", This, pformatetc->cfFormat, pformatetc->tymed); 601 657 dprintf(("SHELL32:dataobject:IDataObject_fnQueryGetData((%p)->(fmt=0x%08x tym=0x%08lx)\n", 658 This, 659 pformatetc->cfFormat, 660 pformatetc->tymed)); 661 602 662 if(!(DVASPECT_CONTENT & pformatetc->dwAspect)) 603 663 return DV_E_DVASPECT; … … 615 675 return DV_E_TYMED; 616 676 } 617 static HRESULT WINAPI IDataObject_fnGetCanonicalFormatEtc(LPDATAOBJECT iface, LPFORMATETC pformatectIn, LPFORMATETC pformatetcOut) 618 { 619 ICOM_THIS(IDataObjectImpl,iface); 620 FIXME("(%p)->()\n", This); 677 678 679 static HRESULT WINAPI IDataObject_fnGetCanonicalFormatEtc(LPDATAOBJECT iface, LPFORMATETC pformatetcIn, LPFORMATETC pformatetcOut) 680 { 681 ICOM_THIS(IDataObjectImpl,iface); 682 683 dprintf(("SHELL32:dataobject:IDataObject_fnGetCanonicalFormatEtc((%p)->(%p %p) not implemented\n", 684 This, 685 pformatetcIn, 686 pformatetcOut)); 687 621 688 return E_NOTIMPL; 622 689 } 690 691 623 692 static HRESULT WINAPI IDataObject_fnSetData(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium, BOOL fRelease) 624 693 { 625 694 ICOM_THIS(IDataObjectImpl,iface); 626 FIXME("(%p)->()\n", This); 695 dprintf(("SHELL32:dataobject:IDataObject_fnSetData((%p)->(%p %p %08xh) not implemented\n", 696 This, 697 pformatetc, 698 pmedium, 699 fRelease)); 627 700 return E_NOTIMPL; 628 701 } 702 703 629 704 static HRESULT WINAPI IDataObject_fnEnumFormatEtc(LPDATAOBJECT iface, DWORD dwDirection, IEnumFORMATETC **ppenumFormatEtc) 630 705 { 631 706 ICOM_THIS(IDataObjectImpl,iface); 632 707 633 TRACE("(%p)->()\n", This); 708 dprintf(("SHELL32:dataobject:IDataObject_fnEnumFormatEtc((%p)->(%08xh %p)\n", 709 This, 710 dwDirection, 711 ppenumFormatEtc)); 712 634 713 *ppenumFormatEtc=NULL; 635 714 … … 646 725 { 647 726 ICOM_THIS(IDataObjectImpl,iface); 648 FIXME("(%p)->()\n", This); 727 dprintf(("SHELL32:dataobject:IDataObject_fnDAdvise((%p)->(%p %08xh %p %p) not implemented.\n", 728 This, 729 pformatetc, 730 advf, 731 pAdvSink, 732 pdwConnection)); 733 649 734 return E_NOTIMPL; 650 735 } 736 737 651 738 static HRESULT WINAPI IDataObject_fnDUnadvise(LPDATAOBJECT iface, DWORD dwConnection) 652 739 { 653 740 ICOM_THIS(IDataObjectImpl,iface); 654 FIXME("(%p)->()\n", This); 741 dprintf(("SHELL32:dataobject:IDataObject_fnDUnadvise((%p)->(%08xh) not implemented.\n", 742 This, 743 dwConnection)); 655 744 return E_NOTIMPL; 656 745 } … … 658 747 { 659 748 ICOM_THIS(IDataObjectImpl,iface); 660 FIXME("(%p)->()\n", This); 749 dprintf(("SHELL32:dataobject:IDataObject_fnEnumDAdvise((%p)->(%p) not implemented.\n", 750 This, 751 ppenumAdvise)); 752 661 753 return E_NOTIMPL; 662 754 } … … 711 803 } 712 804 713 TRACE("(%p)->(apidl=%p cidl=%u)\n",dto, apidl, cidl); 805 dprintf(("SHELL32:dataobject:IDataObject_Constructor((%p)->(apidl=%p cidl=%u)\n", 806 dto, 807 apidl, 808 cidl)); 714 809 return (LPDATAOBJECT)dto; 715 810 } -
trunk/src/shell32/new/enumidlist.cpp
r791 r1162 1 /* $Id: enumidlist.cpp,v 1.2 1999-10-07 10:34:46 phaller Exp $ */ 2 3 /* 4 * Win32 SHELL32 for OS/2 5 * 6 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de) 7 * Project Odin Software License can be found in LICENSE.TXT 8 * 9 */ 10 1 11 /* 2 12 * IEnumIDList … … 5 15 */ 6 16 17 18 /***************************************************************************** 19 * Includes * 20 *****************************************************************************/ 21 7 22 #include <stdlib.h> 8 23 #include <string.h> 9 10 24 #include <odin.h> 25 #include <odinwrap.h> 11 26 12 27 #define ICOM_CINTERFACE 1 … … 26 41 #include <misc.h> 27 42 28 DEFAULT_DEBUG_CHANNEL(shell) 43 44 45 ODINDEBUGCHANNEL(SHELL32-ENUMIDLIST) 29 46 30 47 typedef struct tagENUMLIST … … 311 328 char xriid[50]; 312 329 WINE_StringFromCLSID((LPCLSID)riid,xriid); 313 TRACE("(%p)->(\n\tIID:\t%s,%p)\n",This,xriid,ppvObj); 330 331 dprintf(("SHELL32:enumidlist: IEnumIDList_fnQueryInterface((%p)->(\n\tIID:\t%s,%p)\n", 332 This, 333 xriid, 334 ppvObj)); 314 335 315 336 *ppvObj = NULL; … … 340 361 ICOM_THIS(IEnumIDListImpl,iface); 341 362 342 TRACE("(%p)->(%lu)\n",This,This->ref); 363 dprintf(("SHELL32:enumidlist: IEnumIDList_fnAddRef((%p)->(%lu)\n", 364 This, 365 This->ref)); 343 366 344 367 shell32_ObjCount++; … … 353 376 ICOM_THIS(IEnumIDListImpl,iface); 354 377 355 TRACE("(%p)->(%lu)\n",This,This->ref); 378 dprintf(("SHELL32:enumidlist: IEnumIDList_fnRelease((%p)->(%lu)\n", 379 This, 380 This->ref)); 356 381 357 382 shell32_ObjCount--; … … 382 407 LPITEMIDLIST temp; 383 408 384 TRACE("(%p)->(%ld,%p, %p)\n",This,celt,rgelt,pceltFetched); 409 dprintf(("SHELL32:enumidlist: IEnumIDList_fnNext((%p)->(%ld,%p, %p)\n", 410 This, 411 celt, 412 rgelt, 413 pceltFetched)); 385 414 386 415 /* It is valid to leave pceltFetched NULL when celt is 1. Some of explorer's … … 423 452 HRESULT hr = S_OK; 424 453 425 TRACE("(%p)->(%lu)\n",This,celt); 454 dprintf(("SHELL32:enumidlist: IEnumIDList_fnSkip((%p)->(%lu)\n", 455 This, 456 celt)); 426 457 427 458 for(dwIndex = 0; dwIndex < celt; dwIndex++) … … 434 465 return hr; 435 466 } 467 468 436 469 /************************************************************************** 437 470 * IEnumIDList_fnReset … … 442 475 ICOM_THIS(IEnumIDListImpl,iface); 443 476 444 TRACE("(%p)\n",This); 477 dprintf(("SHELL32:enumidlist: IEnumIDList_fnReset((%p)\n", 478 This)); 479 445 480 This->mpCurrent = This->mpFirst; 446 481 return S_OK; … … 454 489 ICOM_THIS(IEnumIDListImpl,iface); 455 490 456 TRACE("(%p)->() to (%p)->() E_NOTIMPL\n",This,ppenum); 491 dprintf(("SHELL32:enumidlist: IEnumIDList_fnClone((%p)->() to (%p)->() not implemented\n", 492 This, 493 ppenum)); 494 457 495 return E_NOTIMPL; 458 496 } … … 488 526 lpeidl = (IEnumIDListImpl*)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IEnumIDListImpl)); 489 527 490 TRACE("(%p)->(%s flags=0x%08lx kind=0x%08lx)\n",lpeidl,debugstr_a(lpszPath),dwFlags, dwKind); 528 dprintf(("SHELL32:enumidlist: IEnumIDList_Constructor((%p)->(%08xh flags=0x%08lx kind=0x%08lx)\n", 529 lpeidl, 530 lpszPath, 531 dwFlags, 532 dwKind)); 491 533 492 534 if (lpeidl) -
trunk/src/shell32/new/if_macros.h
r791 r1162 1 /* $Id: if_macros.h,v 1.2 1999-10-07 10:34:47 phaller Exp $ */ 2 3 /* 4 * Win32 SHELL32 for OS/2 5 * 6 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de) 7 * Project Odin Software License can be found in LICENSE.TXT 8 * 9 */ 10 1 11 #ifndef _WINE_IFMACROS_ 2 12 #define _WINE_IFMACROS_ 3 13 14 15 /***************************************************************************** 16 * Includes * 17 *****************************************************************************/ 18 4 19 #include "shlobj.h" 20 21 22 /***************************************************************************** 23 * Definitions * 24 *****************************************************************************/ 5 25 6 26 #define IShellBrowser_QueryInterface(p,a,b) (p)->lpvtbl->fnQueryInterface(p,a,b) -
trunk/src/shell32/new/pidl.h
r791 r1162 1 /* $Id: pidl.h,v 1.2 1999-10-07 10:34:47 phaller Exp $ */ 2 3 /* 4 * Win32 SHELL32 for OS/2 5 * 6 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de) 7 * Project Odin Software License can be found in LICENSE.TXT 8 * 9 */ 10 1 11 /* 2 12 * internal pidl functions … … 6 16 * 7 17 * The contents of a pidl should never used from a application 8 * directly. 18 * directly. 9 19 * 10 * This stuff is used from SHGetFileAttributes, ShellFolder 20 * This stuff is used from SHGetFileAttributes, ShellFolder 11 21 * EnumIDList and ShellView. 12 22 */ 13 23 14 24 #ifndef __WINE_PIDL_H 15 25 #define __WINE_PIDL_H 16 26 27 28 /***************************************************************************** 29 * Includes * 30 *****************************************************************************/ 31 17 32 #include "shlobj.h" 18 33 19 /* 34 /* 20 35 * the pidl does cache fileattributes to speed up SHGetAttributes when 21 36 * displaying a big number of files. … … 51 66 * (3) two strings "workgroup" "microsoft network" 52 67 * (4) one string "\\sirius" 53 * (5) one string "whole network" 68 * (5) one string "whole network" 54 69 * (6) one string "\\sirius\c" 55 70 * (7) contains string "mk:@MSITStore:C:\path\file.chm::/path/filename.htm" … … 89 104 /* the drive seems to be 25 bytes every time */ 90 105 } drive; 91 struct 106 struct 92 107 { BYTE dummy; /*01 is 0x00 for files or dirs */ 93 108 DWORD dwFileSize; /*02*/ … … 96 111 WORD uFileAttribs; /*10*/ 97 112 CHAR szNames[1]; /*12*/ 98 /* Here are comming two strings. The first is the long name. 113 /* Here are comming two strings. The first is the long name. 99 114 The second the dos name when needed or just 0x00 */ 100 } file, folder, generic; 115 } file, folder, generic; 101 116 struct 102 117 { WORD dummy; /*01*/ -
trunk/src/shell32/new/she.cpp
r1129 r1162 1 /* $Id: she.cpp,v 1. 2 1999-10-04 19:11:27 sandervlExp $ */1 /* $Id: she.cpp,v 1.3 1999-10-07 10:34:47 phaller Exp $ */ 2 2 3 3 /* … … 11 11 * Includes * 12 12 *****************************************************************************/ 13 14 #include <odin.h> 15 #include <odinwrap.h> 13 16 14 17 #include <os2win.h> … … 34 37 *****************************************************************************/ 35 38 39 ODINDEBUGCHANNEL(SHELL32-SHE) 40 36 41 37 42 /***************************************************************************** … … 47 52 *****************************************************************************/ 48 53 49 HRESULT WIN32API SheSetCurDrive(DWORD x1) 54 ODINFUNCTION1(HRESULT, SheSetCurDrive, 55 DWORD, x1) 50 56 { 51 dprintf(("SHELL32: SheSetCurDrive(%08xh) not implemented.\n", 52 x1)); 57 dprintf(("SHELL32: SheSetCurDrive not implemented.\n")); 53 58 54 59 return 0; 55 60 } 61 56 62 57 63 /***************************************************************************** … … 67 73 *****************************************************************************/ 68 74 69 void WIN32API SheRemoveQuotesA(VOID) 75 ODINFUNCTION1(HRESULT, SheRemoveQuotesA, 76 LPCSTR, lpszString) 70 77 { 71 dprintf(("SHELL32: undoc SheRemoveQuotesA\n")); 78 dprintf(("SHELL32: SheRemoveQuotesA\n not implemented")); 79 80 return 0; 72 81 } 82 73 83 74 84 /***************************************************************************** … … 84 94 *****************************************************************************/ 85 95 86 void WIN32API SheRemoveQuotesW(VOID) 96 ODINFUNCTION1(HRESULT, SheRemoveQuotesW, 97 LPCWSTR, lpszString) 87 98 { 88 dprintf(("SHELL32: undoc SheRemoveQuotesW\n")); 99 dprintf(("SHELL32: SheRemoveQuotesW\n not implemented")); 100 101 return 0; 89 102 } 103 -
trunk/src/shell32/new/shell32.def
r901 r1162 1 ; $Id: shell32.def,v 1. 6 1999-09-09 21:30:15phaller Exp $1 ; $Id: shell32.def,v 1.7 1999-10-07 10:34:47 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 290 290 SheGetDirW = _SheGetDirW@8 @280 291 291 ; SheGetPathOffsetW = _SheGetPathOffsetW@? @281 292 SheRemoveQuotesA = _SheRemoveQuotesA@ 0@282293 SheRemoveQuotesW = _SheRemoveQuotesW@ 0@283292 SheRemoveQuotesA = _SheRemoveQuotesA@4 @282 293 SheRemoveQuotesW = _SheRemoveQuotesW@4 @283 294 294 ; SheSetCurDrive = _SheSetCurDrive@? @284 295 295 SheShortenPathA = _SheShortenPathA@8 @285 -
trunk/src/shell32/new/shell32_main.h
r873 r1162 1 /* $Id: shell32_main.h,v 1.4 1999-10-07 10:34:47 phaller Exp $ */ 2 3 /* 4 * Win32 SHELL32 for OS/2 5 * 6 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de) 7 * Project Odin Software License can be found in LICENSE.TXT 8 * 9 */ 10 1 11 /* 2 12 * internal Shell32 Library definitions … … 5 15 #ifndef __WINE_SHELL_MAIN_H 6 16 #define __WINE_SHELL_MAIN_H 17 18 19 /***************************************************************************** 20 * Includes * 21 *****************************************************************************/ 7 22 8 23 #include "imagelist.h" -
trunk/src/shell32/new/shellguid.cpp
r898 r1162 1 /* $Id: shellguid.cpp,v 1.4 1999-10-07 10:34:47 phaller Exp $ */ 2 3 /* 4 * Win32 SHELL32 for OS/2 5 * 6 * Copyright 1997 Marcus Meissner 7 * Copyright 1999 Patrick Haller (haller@zebra.fh-weingarten.de) 8 * Project Odin Software License can be found in LICENSE.TXT 9 * 10 */ 11 1 12 /* 2 13 * Shell UID … … 7 18 * 8 19 */ 20 21 22 /***************************************************************************** 23 * Includes * 24 *****************************************************************************/ 25 9 26 #include <odin.h> 27 #include <odinwrap.h> 10 28 11 29 #define ICOM_CINTERFACE 1 … … 38 56 will have to be in the same place as everybody else. This is * the same 39 57 problem as with "real" Windows programs. */ 58 59 ODINDEBUGCHANNEL(SHELL32-SHELLGUID) 60 61 -
trunk/src/shell32/new/shresdef.h
r1145 r1162 1 /* $Id: shresdef.h,v 1. 2 1999-10-05 19:33:37phaller Exp $ */1 /* $Id: shresdef.h,v 1.3 1999-10-07 10:34:48 phaller Exp $ */ 2 2 3 3 /* … … 11 11 12 12 13 #ifndef __WINE_SHELL_RES_H 14 #define __WINE_SHELL_RES_H 15 16 13 17 /***************************************************************************** 14 18 * Includes * 15 19 *****************************************************************************/ 16 17 #ifndef __WINE_SHELL_RES_H18 #define __WINE_SHELL_RES_H19 20 20 21 /* -
trunk/src/shell32/new/shv_bg_cmenu.cpp
r795 r1162 1 /* $Id: shv_bg_cmenu.cpp,v 1.3 1999-10-07 10:34:48 phaller Exp $ */ 2 3 /* 4 * Project Odin Software License can be found in LICENSE.TXT 5 * Win32 SHELL32 Subsystem for OS/2 6 * 1998/05/19 PH Patrick Haller (haller@zebra.fh-weingarten.de) 7 */ 8 1 9 /* 2 10 * IContextMenu … … 5 13 * Copyright 1999 Juergen Schmied <juergen.schmied@metronet.de> 6 14 */ 15 16 /***************************************************************************** 17 * Includes * 18 *****************************************************************************/ 19 7 20 #include <string.h> 8 21 #include <odin.h> 22 #include <odinwrap.h> 9 23 10 24 #define ICOM_CINTERFACE 1 … … 24 38 #include <misc.h> 25 39 26 DEFAULT_DEBUG_CHANNEL(shell) 40 DEFAULT_DEBUG_CHANNEL(SHELL32-SHV-BG-CMENU) 41 27 42 28 43 /************************************************************************** … … 47 62 WINE_StringFromCLSID((LPCLSID)riid,xriid); 48 63 49 TRACE("(%p)->(\n\tIID:\t%s,%p)\n",This,xriid,ppvObj); 64 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnQueryInterface(%08xh,%s,%08xh)\n", 65 This, 66 xriid, 67 ppvObj)); 50 68 51 69 *ppvObj = NULL; … … 81 99 ICOM_THIS(BgCmImpl, iface); 82 100 83 TRACE("(%p)->(count=%lu)\n",This, This->ref); 101 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnAddRef(%08xh,%u)\n", 102 This, 103 This->ref)); 84 104 85 105 shell32_ObjCount++; … … 94 114 ICOM_THIS(BgCmImpl, iface); 95 115 96 TRACE("(%p)->()\n",This); 116 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnRelease(%08xh)\n", 117 This)); 97 118 98 119 shell32_ObjCount--; … … 124 145 ICOM_THIS(BgCmImpl, iface); 125 146 126 TRACE("(%p)->(hmenu=%x indexmenu=%x cmdfirst=%x cmdlast=%x flags=%x )\n",This, hMenu, indexMenu, idCmdFirst, idCmdLast, uFlags); 147 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnQueryContextMenu(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh)\n", 148 This, 149 hMenu, 150 indexMenu, 151 idCmdFirst, 152 idCmdLast, 153 uFlags)); 127 154 128 155 hMyMenu = LoadMenuA(shell32_hInstance, "MENU_002"); … … 148 175 HWND hWndSV; 149 176 150 TRACE("(%p)->(invcom=%p verb=%p wnd=%x)\n",This,lpcmi,lpcmi->lpVerb, lpcmi->hwnd); 177 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnInvokeCommand((%p)->(invcom=%p verb=%p wnd=%x)\n", 178 This, 179 lpcmi, 180 lpcmi->lpVerb, 181 lpcmi->hwnd)); 151 182 152 183 /* get the active IShellView */ … … 215 246 ICOM_THIS(BgCmImpl, iface); 216 247 217 TRACE("(%p)->(idcom=%x flags=%x %p name=%p len=%x)\n",This, idCommand, uFlags, lpReserved, lpszName, uMaxNameLen); 248 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnGetCommandString((%p)->(idcom=%x flags=%x %p name=%p len=%x)\n", 249 This, 250 idCommand, 251 uFlags, 252 lpReserved, 253 lpszName, 254 uMaxNameLen)); 218 255 219 256 /* test the existance of the menu items, the file dialog enables … … 247 284 ICOM_THIS(BgCmImpl, iface); 248 285 249 FIXME("(%p)->(msg=%x wp=%x lp=%lx)\n",This, uMsg, wParam, lParam); 286 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnHandleMenuMsg((%p)->(msg=%x wp=%x lp=%lx)\n", 287 This, 288 uMsg, 289 wParam, 290 lParam)); 250 291 251 292 return E_NOTIMPL; … … 280 321 cm->ref = 1; 281 322 282 TRACE("(%p)->()\n",cm); 323 dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_Constructor(%p)\n", 324 cm)); 325 283 326 shell32_ObjCount++; 284 327 return (IContextMenu*)cm; -
trunk/src/shell32/new/unknown.cpp
r891 r1162 1 /* $Id: unknown.cpp,v 1. 1 1999-09-09 10:25:28 phaller Exp $ */1 /* $Id: unknown.cpp,v 1.2 1999-10-07 10:34:48 phaller Exp $ */ 2 2 3 3 /* … … 11 11 *****************************************************************************/ 12 12 13 #include <odin.h> 14 #include <odinwrap.h> 13 15 #include <os2win.h> 14 16 #include <shellapi.h> … … 16 18 //#include "shell32.h" 17 19 20 21 ODINDEBUGCHANNEL(SHELL32-UNKNOWN) 18 22 19 23 /***************************************************************************** … … 47 51 *****************************************************************************/ 48 52 49 HINSTANCE WIN32API RealShellExecuteA(HWND hwnd, 50 LPCTSTR lpOperation, 51 LPCTSTR lpFile, 52 LPCTSTR lpParameters, 53 LPCTSTR lpDirectory, 54 INT nShowCmd) 55 { 56 dprintf (("SHELL32: RealShellExecuteA(%08xh,%s,%s,%s,%s,%08xh) not implemented.\n", 57 hwnd, 58 lpOperation, 59 lpFile, 60 lpParameters, 61 lpDirectory, 62 nShowCmd)); 53 ODINFUNCTION6(HINSTANCE, RealShellExecuteA, 54 HWND, hwnd, 55 LPCTSTR, lpOperation, 56 LPCTSTR, lpFile, 57 LPCTSTR, lpParameters, 58 LPCTSTR, lpDirectory, 59 INT, nShowCmd) 60 { 61 dprintf (("SHELL32: RealShellExecuteA not implemented.\n")); 63 62 64 63 return(0); //out of memory … … 83 82 *****************************************************************************/ 84 83 85 HINSTANCE WIN32API RealShellExecuteW(HWND hwnd, 86 LPCWSTR lpOperation, 87 LPCWSTR lpFile, 88 LPCWSTR lpParameters, 89 LPCWSTR lpDirectory, 90 INT nShowCmd) 84 ODINFUNCTION6(HINSTANCE, RealShellExecuteW, 85 HWND, hwnd, 86 LPCWSTR, lpOperation, 87 LPCWSTR, lpFile, 88 LPCWSTR, lpParameters, 89 LPCWSTR, lpDirectory, 90 INT, nShowCmd) 91 91 { 92 92 HINSTANCE hInstance; … … 132 132 *****************************************************************************/ 133 133 134 BOOL WIN32API RealShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo) 135 { 136 dprintf(("SHELL32: RealShellExecuteExA (%08xh) not implemented.\n", 137 lpExecInfo));134 ODINFUNCTION1(BOOL, RealShellExecuteExA, 135 LPSHELLEXECUTEINFOA, lpExecInfo) 136 { 137 dprintf(("SHELL32: RealShellExecuteExA not implemented.\n")); 138 138 139 139 return (0); … … 153 153 *****************************************************************************/ 154 154 155 BOOL WIN32API RealShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo) 156 { 157 dprintf(("SHELL32: RealShellExecuteExW (%08xh) not implemented.\n", 158 lpExecInfo));155 ODINFUNCTION1(BOOL, RealShellExecuteExW, 156 LPSHELLEXECUTEINFOW, lpExecInfo) 157 { 158 dprintf(("SHELL32: RealShellExecuteExW not implemented.\n")); 159 159 160 160 return (0); … … 174 174 *****************************************************************************/ 175 175 176 DWORD WIN32API RegenerateUserEnvironment(DWORD x1, 177 DWORD x2) 178 { 179 dprintf(("SHELL32: RegenerateUserEnvironment(%08xh,%08xhz) not implemented.\n", 180 x1, 181 x2)); 176 ODINFUNCTION2(DWORD, RegenerateUserEnvironment, 177 DWORD, x1, 178 DWORD, x2) 179 { 180 dprintf(("SHELL32: RegenerateUserEnvironment not implemented.\n")); 182 181 183 182 return (0); … … 197 196 *****************************************************************************/ 198 197 199 DWORD WIN32API RestartDialog(DWORD x1, 200 DWORD x2, 201 DWORD x3) 202 { 203 dprintf(("SHELL32: RestartDialog(%08xh,%08xh,%08xh) not implemented.\n", 204 x1, 205 x2, 206 x3)); 198 ODINFUNCTION3(DWORD, RestartDialog, 199 DWORD, x1, 200 DWORD, x2, 201 DWORD, x3) 202 { 203 dprintf(("SHELL32: RestartDialog not implemented.\n")); 207 204 208 205 return (0); … … 222 219 *****************************************************************************/ 223 220 224 DWORD WIN32API SheConvertPathW(DWORD x1, 225 DWORD x2) 226 { 227 dprintf(("SHELL32: SheConvertPathW(%08xh,%08xh) not implemented.\n", 228 x1, 229 x2)); 221 ODINFUNCTION2(DWORD, SheConvertPathW, 222 DWORD, x1, 223 DWORD, x2) 224 { 225 dprintf(("SHELL32: SheConvertPathW not implemented.\n")); 230 226 231 227 return (0); … … 245 241 *****************************************************************************/ 246 242 247 DWORD WIN32API SheShortenPathW(DWORD x1, 248 DWORD x2) 249 { 250 dprintf(("SHELL32: SheShortenPathW(%08xh,%08xh) not implemented.\n", 251 x1, 252 x2)); 243 ODINFUNCTION2(DWORD, SheShortenPathW, 244 DWORD, x1, 245 DWORD, x2) 246 { 247 dprintf(("SHELL32: SheShortenPathW not implemented.\n")); 253 248 254 249 return (0); … … 268 263 *****************************************************************************/ 269 264 270 DWORD WIN32API SheShortenPathA(DWORD x1,271 DWORD x2)272 { 273 dprintf(("SHELL32: SheShortenPathA(%08xh,%08xh) not implemented.\n", 274 x1,275 x2)); 276 277 return (0); 278 } 265 ODINFUNCTION2(DWORD, SheShortenPathA, 266 DWORD, x1, 267 DWORD, x2) 268 { 269 dprintf(("SHELL32: SheShortenPathA not implemented.\n")); 270 271 return (0); 272 } 273
Note:
See TracChangeset
for help on using the changeset viewer.