Changeset 1162 for trunk/src


Ignore:
Timestamp:
Oct 7, 1999, 12:34:48 PM (26 years ago)
Author:
phaller
Message:

Fix: debug info

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:37 phaller Exp $ */
     1/* $Id: dataobject.cpp,v 1.3 1999-10-07 10:34:46 phaller Exp $ */
    22
    33/*
     
    347347
    348348static 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));
    350354
    351355        if (THIS->uStep == 0)
     
    358362        return(State_UnInit);
    359363}
     364
     365
    360366static 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
    362372        return((LPITEMIDLIST)pDPA_GetPtr(THIS->dpa, nIndex));
    363373}
     374
     375
    364376static UINT WINAPI IDLList_GetCount(LPIDLLIST THIS)
    365 {       TRACE("(%p)\n",THIS);
     377{
     378  dprintf(("SHELL32:dataobject:IDLList_GetCount(%p)\n",
     379           THIS));
     380
    366381        return(IDLList_GetState(THIS)==State_Init ? DPA_GetPtrCount(THIS->dpa) : 0);
    367382}
     383
     384
    368385static 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
    370391        if (pidl)
    371392        { if (IDLList_InitList(THIS) && pDPA_InsertPtr(THIS->dpa, 0x7fff, (LPSTR)pidl)>=0)
     
    376397        return(FALSE);
    377398}
     399
     400
    378401static 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));
    381409
    382410        for (i=0; i<cidl; ++i)
     
    386414        return(TRUE);
    387415}
     416
     417
    388418static BOOL WINAPI IDLList_InitList(LPIDLLIST THIS)
    389 {       TRACE("(%p)\n",THIS);
     419{
     420  dprintf(("SHELL32:dataobject:IDLList_InitList(%p)\n",
     421           THIS));
     422
    390423        switch (IDLList_GetState(THIS))
    391424        { case State_Init:
     
    402435        }
    403436}
     437
     438
    404439static 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));
    407445
    408446        if (THIS->uStep != 0)
     
    458496        char    xriid[50];
    459497        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));
    461503
    462504        *ppvObj = NULL;
     
    484526        ICOM_THIS(IDataObjectImpl,iface);
    485527
    486         TRACE("(%p)->(count=%lu)\n",This, This->ref);
     528  dprintf(("SHELL32:dataobject:IDataObject_fnAddRef((%p)->(count=%lu)\n",
     529           This,
     530           This->ref));
    487531
    488532        shell32_ObjCount++;
     
    495539{
    496540        ICOM_THIS(IDataObjectImpl,iface);
    497         TRACE("(%p)->()\n",This);
    498 
     541  dprintf(("SHELL32:dataobject:IDataObject_fnRelease(%p)\n",
     542           This));
    499543        shell32_ObjCount--;
    500544
     
    524568       
    525569        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));
    527576
    528577        /* test expected format */
     
    587636        return (E_INVALIDARG);
    588637}
     638
     639
    589640static HRESULT WINAPI IDataObject_fnGetDataHere(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium)
    590641{
    591642        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
    593648        return E_NOTIMPL;
    594649}
     650
     651
    595652static HRESULT WINAPI IDataObject_fnQueryGetData(LPDATAOBJECT iface, LPFORMATETC pformatetc)
    596653{
     
    598655        UINT i;
    599656       
    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
    602662        if(!(DVASPECT_CONTENT & pformatetc->dwAspect))
    603663          return DV_E_DVASPECT;
     
    615675        return DV_E_TYMED;
    616676}
    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
     679static 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
    621688        return E_NOTIMPL;
    622689}
     690
     691
    623692static HRESULT WINAPI IDataObject_fnSetData(LPDATAOBJECT iface, LPFORMATETC pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
    624693{
    625694        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));
    627700        return E_NOTIMPL;
    628701}
     702
     703
    629704static HRESULT WINAPI IDataObject_fnEnumFormatEtc(LPDATAOBJECT iface, DWORD dwDirection, IEnumFORMATETC **ppenumFormatEtc)
    630705{
    631706        ICOM_THIS(IDataObjectImpl,iface);
    632707
    633         TRACE("(%p)->()\n", This);
     708  dprintf(("SHELL32:dataobject:IDataObject_fnEnumFormatEtc((%p)->(%08xh %p)\n",
     709           This,
     710           dwDirection,
     711           ppenumFormatEtc));
     712
    634713        *ppenumFormatEtc=NULL;
    635714
     
    646725{
    647726        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
    649734        return E_NOTIMPL;
    650735}
     736
     737
    651738static HRESULT WINAPI IDataObject_fnDUnadvise(LPDATAOBJECT iface, DWORD dwConnection)
    652739{
    653740        ICOM_THIS(IDataObjectImpl,iface);
    654         FIXME("(%p)->()\n", This);
     741  dprintf(("SHELL32:dataobject:IDataObject_fnDUnadvise((%p)->(%08xh) not implemented.\n",
     742           This,
     743           dwConnection));
    655744        return E_NOTIMPL;
    656745}
     
    658747{
    659748        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
    661753        return E_NOTIMPL;
    662754}
     
    711803        }
    712804       
    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));
    714809        return (LPDATAOBJECT)dto;
    715810}
  • 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
    111/*
    212 *      IEnumIDList
     
    515 */
    616
     17
     18/*****************************************************************************
     19 * Includes                                                                  *
     20 *****************************************************************************/
     21
    722#include <stdlib.h>
    823#include <string.h>
    9 
    1024#include <odin.h>
     25#include <odinwrap.h>
    1126
    1227#define ICOM_CINTERFACE 1
     
    2641#include <misc.h>
    2742
    28 DEFAULT_DEBUG_CHANNEL(shell)
     43
     44
     45ODINDEBUGCHANNEL(SHELL32-ENUMIDLIST)
    2946
    3047typedef struct tagENUMLIST
     
    311328        char    xriid[50];
    312329        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));
    314335
    315336        *ppvObj = NULL;
     
    340361        ICOM_THIS(IEnumIDListImpl,iface);
    341362
    342         TRACE("(%p)->(%lu)\n",This,This->ref);
     363  dprintf(("SHELL32:enumidlist: IEnumIDList_fnAddRef((%p)->(%lu)\n",
     364           This,
     365           This->ref));
    343366
    344367        shell32_ObjCount++;
     
    353376        ICOM_THIS(IEnumIDListImpl,iface);
    354377
    355         TRACE("(%p)->(%lu)\n",This,This->ref);
     378  dprintf(("SHELL32:enumidlist: IEnumIDList_fnRelease((%p)->(%lu)\n",
     379           This,
     380           This->ref));
    356381
    357382        shell32_ObjCount--;
     
    382407        LPITEMIDLIST  temp;
    383408
    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));
    385414
    386415/* It is valid to leave pceltFetched NULL when celt is 1. Some of explorer's
     
    423452        HRESULT  hr = S_OK;
    424453
    425         TRACE("(%p)->(%lu)\n",This,celt);
     454  dprintf(("SHELL32:enumidlist: IEnumIDList_fnSkip((%p)->(%lu)\n",
     455           This,
     456           celt));
    426457
    427458        for(dwIndex = 0; dwIndex < celt; dwIndex++)
     
    434465        return hr;
    435466}
     467
     468
    436469/**************************************************************************
    437470*  IEnumIDList_fnReset
     
    442475        ICOM_THIS(IEnumIDListImpl,iface);
    443476
    444         TRACE("(%p)\n",This);
     477  dprintf(("SHELL32:enumidlist: IEnumIDList_fnReset((%p)\n",
     478           This));
     479
    445480        This->mpCurrent = This->mpFirst;
    446481        return S_OK;
     
    454489        ICOM_THIS(IEnumIDListImpl,iface);
    455490
    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
    457495        return E_NOTIMPL;
    458496}
     
    488526        lpeidl = (IEnumIDListImpl*)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IEnumIDListImpl));
    489527
    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));
    491533
    492534        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
    111#ifndef _WINE_IFMACROS_
    212#define _WINE_IFMACROS_
    313
     14
     15/*****************************************************************************
     16 * Includes                                                                  *
     17 *****************************************************************************/
     18
    419#include "shlobj.h"
     20
     21
     22/*****************************************************************************
     23 * Definitions                                                               *
     24 *****************************************************************************/
    525
    626#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
    111/*
    212 * internal pidl functions
     
    616 *
    717 * The contents of a pidl should never used from a application
    8  * directly. 
     18 * directly.
    919 *
    10  * This stuff is used from SHGetFileAttributes, ShellFolder 
     20 * This stuff is used from SHGetFileAttributes, ShellFolder
    1121 * EnumIDList and ShellView.
    1222 */
    13  
     23
    1424#ifndef __WINE_PIDL_H
    1525#define __WINE_PIDL_H
    1626
     27
     28/*****************************************************************************
     29 * Includes                                                                  *
     30 *****************************************************************************/
     31
    1732#include "shlobj.h"
    1833
    19 /* 
     34/*
    2035* the pidl does cache fileattributes to speed up SHGetAttributes when
    2136* displaying a big number of files.
     
    5166* (3) two strings       "workgroup" "microsoft network"
    5267* (4) one string        "\\sirius"
    53 * (5) one string        "whole network" 
     68* (5) one string        "whole network"
    5469* (6) one string        "\\sirius\c"
    5570* (7) contains string   "mk:@MSITStore:C:\path\file.chm::/path/filename.htm"
     
    89104            /* the drive seems to be 25 bytes every time */
    90105          } drive;
    91           struct 
     106          struct
    92107          { BYTE dummy;                 /*01 is 0x00 for files or dirs */
    93108            DWORD dwFileSize;           /*02*/
     
    96111            WORD uFileAttribs;          /*10*/
    97112            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.
    99114            The second the dos name when needed or just 0x00 */
    100           } file, folder, generic; 
     115          } file, folder, generic;
    101116          struct
    102117          { WORD dummy;         /*01*/
  • trunk/src/shell32/new/she.cpp

    r1129 r1162  
    1 /* $Id: she.cpp,v 1.2 1999-10-04 19:11:27 sandervl Exp $ */
     1/* $Id: she.cpp,v 1.3 1999-10-07 10:34:47 phaller Exp $ */
    22
    33/*
     
    1111 * Includes                                                                  *
    1212 *****************************************************************************/
     13
     14#include <odin.h>
     15#include <odinwrap.h>
    1316
    1417#include <os2win.h>
     
    3437 *****************************************************************************/
    3538
     39ODINDEBUGCHANNEL(SHELL32-SHE)
     40
    3641
    3742/*****************************************************************************
     
    4752 *****************************************************************************/
    4853
    49 HRESULT WIN32API SheSetCurDrive(DWORD x1)
     54ODINFUNCTION1(HRESULT, SheSetCurDrive,
     55              DWORD, x1)
    5056{
    51   dprintf(("SHELL32: SheSetCurDrive(%08xh) not implemented.\n",
    52            x1));
     57  dprintf(("SHELL32: SheSetCurDrive not implemented.\n"));
    5358
    5459  return 0;
    5560}
     61
    5662
    5763/*****************************************************************************
     
    6773 *****************************************************************************/
    6874
    69 void WIN32API SheRemoveQuotesA(VOID)
     75ODINFUNCTION1(HRESULT, SheRemoveQuotesA,
     76              LPCSTR,  lpszString)
    7077{
    71   dprintf(("SHELL32: undoc SheRemoveQuotesA\n"));
     78  dprintf(("SHELL32: SheRemoveQuotesA\n not implemented"));
     79
     80  return 0;
    7281}
     82
    7383
    7484/*****************************************************************************
     
    8494 *****************************************************************************/
    8595
    86 void WIN32API SheRemoveQuotesW(VOID)
     96ODINFUNCTION1(HRESULT, SheRemoveQuotesW,
     97              LPCWSTR, lpszString)
    8798{
    88   dprintf(("SHELL32: undoc SheRemoveQuotesW\n"));
     99  dprintf(("SHELL32: SheRemoveQuotesW\n not implemented"));
     100
     101  return 0;
    89102}
     103
  • trunk/src/shell32/new/shell32.def

    r901 r1162  
    1 ; $Id: shell32.def,v 1.6 1999-09-09 21:30:15 phaller Exp $
     1; $Id: shell32.def,v 1.7 1999-10-07 10:34:47 phaller Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    290290    SheGetDirW                        = _SheGetDirW@8                         @280
    291291;   SheGetPathOffsetW                 = _SheGetPathOffsetW@?                  @281
    292     SheRemoveQuotesA                  = _SheRemoveQuotesA@0                   @282
    293     SheRemoveQuotesW                  = _SheRemoveQuotesW@0                   @283
     292    SheRemoveQuotesA                  = _SheRemoveQuotesA@4                   @282
     293    SheRemoveQuotesW                  = _SheRemoveQuotesW@4                   @283
    294294;   SheSetCurDrive                    = _SheSetCurDrive@?                     @284
    295295    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
    111/*
    212 *      internal Shell32 Library definitions
     
    515#ifndef __WINE_SHELL_MAIN_H
    616#define __WINE_SHELL_MAIN_H
     17
     18
     19/*****************************************************************************
     20 * Includes                                                                  *
     21 *****************************************************************************/
    722
    823#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
    112/*
    213 *  Shell UID
     
    718 *
    819 */
     20
     21
     22/*****************************************************************************
     23 * Includes                                                                  *
     24 *****************************************************************************/
     25
    926#include <odin.h>
     27#include <odinwrap.h>
    1028
    1129#define ICOM_CINTERFACE 1
     
    3856 will have to be in the same place as everybody else. This is * the same
    3957 problem as with "real" Windows programs. */
     58
     59ODINDEBUGCHANNEL(SHELL32-SHELLGUID)
     60
     61
  • trunk/src/shell32/new/shresdef.h

    r1145 r1162  
    1 /* $Id: shresdef.h,v 1.2 1999-10-05 19:33:37 phaller Exp $ */
     1/* $Id: shresdef.h,v 1.3 1999-10-07 10:34:48 phaller Exp $ */
    22
    33/*
     
    1111
    1212
     13#ifndef __WINE_SHELL_RES_H
     14#define __WINE_SHELL_RES_H
     15
     16
    1317/*****************************************************************************
    1418 * Includes                                                                  *
    1519 *****************************************************************************/
    16 
    17 #ifndef __WINE_SHELL_RES_H
    18 #define __WINE_SHELL_RES_H
    1920
    2021/*
  • 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
    19/*
    210 *      IContextMenu
     
    513 *      Copyright 1999  Juergen Schmied <juergen.schmied@metronet.de>
    614 */
     15
     16/*****************************************************************************
     17 * Includes                                                                  *
     18 *****************************************************************************/
     19
    720#include <string.h>
    821#include <odin.h>
     22#include <odinwrap.h>
    923
    1024#define ICOM_CINTERFACE 1
     
    2438#include <misc.h>
    2539
    26 DEFAULT_DEBUG_CHANNEL(shell)
     40DEFAULT_DEBUG_CHANNEL(SHELL32-SHV-BG-CMENU)
     41
    2742
    2843/**************************************************************************
     
    4762        WINE_StringFromCLSID((LPCLSID)riid,xriid);
    4863
    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));
    5068
    5169        *ppvObj = NULL;
     
    8199        ICOM_THIS(BgCmImpl, iface);
    82100
    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));
    84104
    85105        shell32_ObjCount++;
     
    94114        ICOM_THIS(BgCmImpl, iface);
    95115
    96         TRACE("(%p)->()\n",This);
     116  dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_fnRelease(%08xh)\n",
     117           This));
    97118
    98119        shell32_ObjCount--;
     
    124145        ICOM_THIS(BgCmImpl, iface);
    125146
    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));
    127154
    128155        hMyMenu = LoadMenuA(shell32_hInstance, "MENU_002");
     
    148175        HWND    hWndSV;
    149176
    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));
    151182
    152183        /* get the active IShellView */
     
    215246        ICOM_THIS(BgCmImpl, iface);
    216247
    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));
    218255
    219256        /* test the existance of the menu items, the file dialog enables
     
    247284        ICOM_THIS(BgCmImpl, iface);
    248285
    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));
    250291
    251292        return E_NOTIMPL;
     
    280321        cm->ref = 1;
    281322
    282         TRACE("(%p)->()\n",cm);
     323  dprintf(("SHELL32:shv_bg_cmenu: ISVBgCm_Constructor(%p)\n",
     324           cm));
     325
    283326        shell32_ObjCount++;
    284327        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 $ */
    22
    33/*
     
    1111 *****************************************************************************/
    1212
     13#include <odin.h>
     14#include <odinwrap.h>
    1315#include <os2win.h>
    1416#include <shellapi.h>
     
    1618//#include "shell32.h"
    1719
     20
     21ODINDEBUGCHANNEL(SHELL32-UNKNOWN)
    1822
    1923/*****************************************************************************
     
    4751 *****************************************************************************/
    4852
    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));
     53ODINFUNCTION6(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"));
    6362
    6463  return(0); //out of memory
     
    8382 *****************************************************************************/
    8483
    85 HINSTANCE WIN32API RealShellExecuteW(HWND    hwnd,
    86                                      LPCWSTR lpOperation,
    87                                      LPCWSTR lpFile,
    88                                      LPCWSTR lpParameters,
    89                                      LPCWSTR lpDirectory,
    90                                      INT     nShowCmd)
     84ODINFUNCTION6(HINSTANCE, RealShellExecuteW,
     85              HWND,      hwnd,
     86              LPCWSTR,   lpOperation,
     87              LPCWSTR,   lpFile,
     88              LPCWSTR,   lpParameters,
     89              LPCWSTR,   lpDirectory,
     90              INT,       nShowCmd)
    9191{
    9292  HINSTANCE hInstance;
     
    132132 *****************************************************************************/
    133133
    134 BOOL WIN32API RealShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo)
    135 {
    136   dprintf(("SHELL32: RealShellExecuteExA (%08xh) not implemented.\n",
    137            lpExecInfo));
     134ODINFUNCTION1(BOOL,                RealShellExecuteExA,
     135              LPSHELLEXECUTEINFOA, lpExecInfo)
     136{
     137  dprintf(("SHELL32: RealShellExecuteExA not implemented.\n"));
    138138
    139139  return (0);
     
    153153 *****************************************************************************/
    154154
    155 BOOL WIN32API RealShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo)
    156 {
    157   dprintf(("SHELL32: RealShellExecuteExW (%08xh) not implemented.\n",
    158            lpExecInfo));
     155ODINFUNCTION1(BOOL,                RealShellExecuteExW,
     156              LPSHELLEXECUTEINFOW, lpExecInfo)
     157{
     158  dprintf(("SHELL32: RealShellExecuteExW not implemented.\n"));
    159159
    160160  return (0);
     
    174174 *****************************************************************************/
    175175
    176 DWORD WIN32API RegenerateUserEnvironment(DWORD x1,
    177                                          DWORD x2)
    178 {
    179   dprintf(("SHELL32: RegenerateUserEnvironment(%08xh,%08xhz) not implemented.\n",
    180            x1,
    181            x2));
     176ODINFUNCTION2(DWORD, RegenerateUserEnvironment,
     177              DWORD, x1,
     178              DWORD, x2)
     179{
     180  dprintf(("SHELL32: RegenerateUserEnvironment not implemented.\n"));
    182181
    183182  return (0);
     
    197196 *****************************************************************************/
    198197
    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));
     198ODINFUNCTION3(DWORD, RestartDialog,
     199              DWORD, x1,
     200              DWORD, x2,
     201              DWORD, x3)
     202{
     203  dprintf(("SHELL32: RestartDialog not implemented.\n"));
    207204
    208205  return (0);
     
    222219 *****************************************************************************/
    223220
    224 DWORD WIN32API SheConvertPathW(DWORD x1,
    225                                DWORD x2)
    226 {
    227   dprintf(("SHELL32: SheConvertPathW(%08xh,%08xh) not implemented.\n",
    228            x1,
    229            x2));
     221ODINFUNCTION2(DWORD, SheConvertPathW,
     222              DWORD, x1,
     223              DWORD, x2)
     224{
     225  dprintf(("SHELL32: SheConvertPathW not implemented.\n"));
    230226
    231227  return (0);
     
    245241 *****************************************************************************/
    246242
    247 DWORD WIN32API SheShortenPathW(DWORD x1,
    248                                DWORD x2)
    249 {
    250   dprintf(("SHELL32: SheShortenPathW(%08xh,%08xh) not implemented.\n",
    251            x1,
    252            x2));
     243ODINFUNCTION2(DWORD, SheShortenPathW,
     244              DWORD, x1,
     245              DWORD, x2)
     246{
     247  dprintf(("SHELL32: SheShortenPathW not implemented.\n"));
    253248
    254249  return (0);
     
    268263 *****************************************************************************/
    269264
    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 }
     265ODINFUNCTION2(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.