Changeset 4356 for trunk/src


Ignore:
Timestamp:
Oct 1, 2000, 11:25:49 PM (25 years ago)
Author:
phaller
Message:

.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/blit.cpp

    r4254 r4356  
    1 /* $Id: blit.cpp,v 1.18 2000-09-13 21:00:22 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.19 2000-10-01 21:21:15 phaller Exp $ */
    22
    33/*
     
    5555//******************************************************************************
    5656//******************************************************************************
    57 BOOL WIN32API BitBlt(HDC hdcDest, int arg2, int arg3, int arg4, int arg5, HDC hdcSrc, int arg7, int arg8, DWORD  arg9)
    58 {
    59  BOOL rc;
    60 
    61     SetLastError(ERROR_SUCCESS);
    62     if(DIBSection::getSection() != NULL) {
    63         DIBSection *dsect = DIBSection::findHDC(hdcSrc);
    64         if(dsect) {
    65                 return dsect->BitBlt(hdcDest, arg2, arg3, arg4, arg5, arg7, arg8, arg4, arg5, arg9);
    66         }
    67     }
    68     dprintf(("GDI32: BitBlt to hdc %X from (%d,%d) to (%d,%d), (%d,%d) rop %X\n", hdcDest, arg7, arg8, arg2, arg3, arg4, arg5, arg9));
    69     return O32_BitBlt(hdcDest, arg2, arg3, arg4, arg5, hdcSrc, arg7, arg8, arg9);
     57BOOL WIN32API BitBlt(HDC hdcDest,
     58                     int nXDest,
     59                     int nYDest,
     60                     int nWidth,
     61                     int nHeight,
     62                     HDC hdcSrc,
     63                     int nXSrc,
     64                     int nYSrc,
     65                     DWORD  dwRop)
     66{
     67  BOOL rc;
     68
     69  SetLastError(ERROR_SUCCESS);
     70  if(DIBSection::getSection() != NULL)
     71  {
     72    DIBSection *dsect = DIBSection::findHDC(hdcSrc);
     73    if(dsect)
     74    {
     75      return dsect->BitBlt(hdcDest,
     76                           nXDest,
     77                           nYDest,
     78                           nWidth,
     79                           nHeight,
     80                           nXSrc,
     81                           nYSrc,
     82                           nWidth,
     83                           nHeight,
     84                           dwRop);
     85    }
     86  }
     87  dprintf(("GDI32: BitBlt to hdc %X from (%d,%d) to (%d,%d), (%d,%d) rop %X\n",
     88           hdcDest, nXSrc, nYSrc, nXDest, nYDest, nWidth, nHeight, dwRop));
     89  return O32_BitBlt(hdcDest, nXDest, nYDest, nWidth, nHeight, hdcSrc, nXSrc, nYSrc, dwRop);
    7090}
    7191//******************************************************************************
  • trunk/src/kernel32/time.cpp

    r4213 r4356  
    1 /* $Id: time.cpp,v 1.12 2000-09-08 00:33:16 phaller Exp $ */
     1/* $Id: time.cpp,v 1.13 2000-10-01 21:21:09 phaller Exp $ */
    22
    33/*
     
    122122//******************************************************************************
    123123//******************************************************************************
    124 BOOL WIN32API FileTimeToSystemTime(const FILETIME * arg1, LPSYSTEMTIME  arg2)
    125 {
    126     dprintf(("KERNEL32:  FileTimeToSystemTime"));
    127     return O32_FileTimeToSystemTime(arg1, arg2);
     124ODINFUNCTION2(BOOL, FileTimeToSystemTime,
     125              const FILETIME *, arg1,
     126              LPSYSTEMTIME, arg2)
     127{
     128  return O32_FileTimeToSystemTime(arg1, arg2);
    128129}
    129130//******************************************************************************
  • trunk/src/ole32/library.cpp

    r4274 r4356  
    1 /* $Id: library.cpp,v 1.3 2000-09-17 10:31:05 davidr Exp $ */
     1/* $Id: library.cpp,v 1.4 2000-10-01 21:22:08 phaller Exp $ */
    22/*
    33 *
     
    1919 */
    2020
     21/*****************************************************************************
     22 * Includes                                                                  *
     23 *****************************************************************************/
     24
     25#include <odin.h>
     26#include <odinwrap.h>
     27#include <os2sel.h>
     28
     29
    2130#include "ole32.h"
    2231
    2332#include "oString.h"
    2433#include "moniker.h"    // RunningObjectTableImpl_***
     34
     35
     36/*****************************************************************************
     37 * Defines                                                                   *
     38 *****************************************************************************/
     39
     40ODINDEBUGCHANNEL(OLE32-LIBRARY)
     41
    2542
    2643// ======================================================================
     
    4966// CoLoadLibrary
    5067// ----------------------------------------------------------------------
    51 HINSTANCE WIN32API CoLoadLibrary(LPSTR lpszLibName, BOOL bAutoFree)
     68//HINSTANCE WIN32API CoLoadLibrary(LPSTR lpszLibName, BOOL bAutoFree)
     69ODINFUNCTION2(HINSTANCE, CoLoadLibrary,
     70              LPSTR, lpszLibName,
     71              BOOL, bAutoFree)
    5272{
    5373    HINSTANCE   hLibrary;
Note: See TracChangeset for help on using the changeset viewer.