Changeset 16987


Ignore:
Timestamp:
Jul 31, 2001, 9:56:48 AM (24 years ago)
Author:
sandervl
Message:

DDE callback change for new WGSS

Location:
tags/trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/user32/Makefile

    r16976 r16987  
    1 # $Id: Makefile,v 1.90 2001-07-30 18:09:29 sandervl Exp $
     1# $Id: Makefile,v 1.91 2001-07-31 07:56:48 sandervl Exp $
    22
    33#
     
    111111$(ODIN32_LIB)/libuls.lib \
    112112$(ODIN32_LIB)/$(ODINCRT).lib \
    113 $(ODIN32_LIB)/pmwinx.lib \
    114113OS2386.LIB \
    115114$(RTLLIB_O)
  • TabularUnified tags/trunk/src/user32/dde.cpp

    r16033 r16987  
    1 /* $Id: dde.cpp,v 1.12 2001-04-04 09:01:24 sandervl Exp $ */
     1/* $Id: dde.cpp,v 1.13 2001-07-31 07:56:48 sandervl Exp $ */
    22
    33/*
     
    2121BOOL WIN32API DdeAbandonTransaction( DWORD arg1, HCONV arg2, DWORD  arg3)
    2222{
    23     dprintf(("USER32:  DdeAbandonTransaction\n"));
     23    dprintf(("USER32: DdeAbandonTransaction %x %x %x", arg1, arg2, arg3));
    2424    return O32_DdeAbandonTransaction(arg1, arg2, arg3);
    2525}
     
    2828PBYTE WIN32API DdeAccessData(HDDEDATA arg1, PDWORD  arg2)
    2929{
    30     dprintf(("USER32:  DdeAccessData\n"));
     30    dprintf(("USER32: DdeAccessData %x %x", arg1, arg2));
    3131    return O32_DdeAccessData(arg1, arg2);
    3232}
     
    3535HDDEDATA WIN32API DdeAddData( HDDEDATA arg1, PVOID arg2, DWORD arg3, DWORD  arg4)
    3636{
    37     dprintf(("USER32:  DdeAddData"));
     37    dprintf(("USER32: DdeAddData %x %x %x %x", arg1, arg2, arg3, arg4));
    3838    return O32_DdeAddData(arg1, arg2, arg3, arg4);
    3939}
     
    4444                                       PDWORD  arg8)
    4545{
    46     dprintf(("USER32:  DdeClientTransaction\n"));
     46    dprintf(("USER32: DdeClientTransaction %x %x %x %x %x %x %x %x", arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8));
    4747
    4848    return O32_DdeClientTransaction(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
     
    5252int WIN32API DdeCmpStringHandles( HSZ arg1, HSZ  arg2)
    5353{
    54 
    55     dprintf(("USER32:  DdeCmpStringHandles\n"));
     54    dprintf(("USER32: DdeCmpStringHandles %x %x", arg1, arg2));
    5655
    5756    return O32_DdeCmpStringHandles(arg1, arg2);
     
    7372{
    7473
    75     dprintf(("USER32:  DdeConnectList\n"));
     74    dprintf(("USER32: DdeConnectList %x %x %x %x %x", arg1, arg2, arg3, arg4, arg5));
    7675
    7776    return O32_DdeConnectList(arg1, arg2, arg3, arg4, arg5);
     
    8281                                      HSZ arg5, UINT arg6, UINT  arg7)
    8382{
    84     dprintf(("USER32:  DdeCreateDataHandle\n"));
     83    dprintf(("USER32: DdeCreateDataHandle %x %x %x %x %x %x %x", arg1, arg2, arg3, arg4, arg5, arg6, arg7));
    8584    return O32_DdeCreateDataHandle(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
    8685}
     
    111110BOOL WIN32API DdeDisconnect(HCONV arg1)
    112111{
    113 
    114     dprintf(("USER32:  DdeDisconnect\n"));
     112    dprintf(("USER32: DdeDisconnect %x", arg1));
    115113
    116114    return O32_DdeDisconnect(arg1);
     
    120118BOOL WIN32API DdeDisconnectList( HCONVLIST arg1)
    121119{
    122 
    123     dprintf(("USER32:  DdeDisconnectList\n"));
     120    dprintf(("USER32: DdeDisconnectList %x", arg1));
    124121
    125122    return O32_DdeDisconnectList(arg1);
     
    129126BOOL WIN32API DdeEnableCallback(DWORD arg1, HCONV arg2, UINT  arg3)
    130127{
    131 
    132     dprintf(("USER32:  DdeEnableCallback\n"));
     128    dprintf(("USER32: DdeEnableCallback %x %x %x", arg1, arg2, arg3));
    133129
    134130    return O32_DdeEnableCallback(arg1, arg2, arg3);
     
    138134BOOL WIN32API DdeFreeDataHandle( HDDEDATA arg1)
    139135{
    140 
    141     dprintf(("USER32:  DdeFreeDataHandle\n"));
     136    dprintf(("USER32: DdeFreeDataHandle %x", arg1));
    142137
    143138    return O32_DdeFreeDataHandle(arg1);
     
    147142BOOL WIN32API DdeFreeStringHandle(DWORD arg1, HSZ  arg2)
    148143{
    149 
    150     dprintf(("USER32:  DdeFreeStringHandle\n"));
     144    dprintf(("USER32: DdeFreeStringHandle %x %x", arg1, arg2));
    151145
    152146    return O32_DdeFreeStringHandle(arg1, arg2);
     
    156150DWORD WIN32API DdeGetData( HDDEDATA arg1, PVOID arg2, DWORD arg3, DWORD  arg4)
    157151{
    158 
    159     dprintf(("USER32:  DdeGetData\n"));
     152    dprintf(("USER32: DdeGetData %x %x %x %x", arg1, arg2, arg3, arg4));
    160153
    161154    return O32_DdeGetData(arg1, arg2, arg3, arg4);
     
    165158UINT WIN32API DdeGetLastError(DWORD arg1)
    166159{
    167 
    168     dprintf(("USER32:  DdeGetLastError\n"));
     160    dprintf(("USER32: DdeGetLastError %x", arg1));
    169161
    170162    return O32_DdeGetLastError(arg1);
    171163}
     164#ifdef USING_OPEN32
    172165//******************************************************************************
    173166//******************************************************************************
     
    180173   return 0;
    181174}
     175#endif
    182176//******************************************************************************
    183177//******************************************************************************
     
    187181 UINT ret;
    188182
    189 //    ret = O32_DdeInitialize(lpidInst, pfnCallback, afCmd, ulRes);
     183#ifdef USING_OPEN32
    190184    ret = O32_DdeInitialize(lpidInst, (PFNCALLBACK_O32)DdeCallback, afCmd, ulRes);
     185#else
     186    ret = O32_DdeInitialize(lpidInst, (PFNCALLBACK_O32)pfnCallback, afCmd, ulRes);
     187#endif
    191188    dprintf(("USER32: DdeInitialize %x %x %x %x returned %x", lpidInst, pfnCallback, afCmd, ulRes, ret));
    192189    return ret;
     
    200197
    201198    // NOTE: This will not work as is (needs UNICODE support)
     199#ifdef USING_OPEN32
    202200    ret = O32_DdeInitialize(lpidInst, (PFNCALLBACK_O32)DdeCallback, afCmd, ulRes);
     201#else
     202    ret = O32_DdeInitialize(lpidInst, (PFNCALLBACK_O32)pfnCallback, afCmd, ulRes);
     203#endif
    203204    dprintf(("USER32: DdeInitializeW %x %x %x %x returned %x", lpidInst, pfnCallback, afCmd, ulRes, ret));
    204205    return ret;
     
    209210BOOL WIN32API DdeKeepStringHandle(DWORD arg1, HSZ  arg2)
    210211{
    211 
    212212    dprintf(("USER32:  DdeKeepStringHandle\n"));
    213213
     
    218218HDDEDATA WIN32API DdeNameService( DWORD arg1, HSZ  arg2, HSZ  arg3, UINT  arg4)
    219219{
    220 
    221220    dprintf(("USER32:  DdeNameService\n"));
    222221
     
    311310BOOL WIN32API FreeDDElParam( UINT arg1, LONG  arg2)
    312311{
    313 
    314312    dprintf(("USER32:  FreeDDElParam\n"));
    315313
     
    320318LONG WIN32API PackDDElParam(UINT arg1, UINT arg2, UINT  arg3)
    321319{
    322 
    323320    dprintf(("USER32:  PackDDElParam\n"));
    324321
     
    329326UINT WIN32API ReuseDDElParam( UINT arg1, UINT arg2, UINT arg3, UINT arg4, UINT arg5)
    330327{
    331 
    332328    dprintf(("USER32:  ReuseDDElParam\n"));
    333329
     
    338334BOOL WIN32API UnpackDDElParam(UINT arg1, UINT arg2, LPUINT arg3, LPUINT  arg4)
    339335{
    340 
    341336    dprintf(("USER32:  UnpackDDElParam\n"));
    342337
Note: See TracChangeset for help on using the changeset viewer.