Ignore:
Timestamp:
May 29, 2001, 10:25:27 PM (24 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dciman32/dciman32.cpp

    r4519 r5828  
    1 /* $Id: dciman32.cpp,v 1.1 2000-10-23 11:24:38 sandervl Exp $ */
     1/* $Id: dciman32.cpp,v 1.2 2001-05-29 20:25:27 sandervl Exp $ */
    22/*
    33 * DCIMAN32 Stub code
     
    1515#include <misc.h>
    1616
     17#include <dciman.h>
    1718
    1819//******************************************************************************
     
    2526//******************************************************************************
    2627//******************************************************************************
    27 BOOL WIN32API DCICloseProvider(HDC hdc)
     28void WIN32API DCICloseProvider(HDC hdc)
    2829{
    2930    dprintf(("DCICloseProvide %x", hdc));
    30     return DeleteDC(hdc);
     31    DeleteDC(hdc);
    3132}
    3233//******************************************************************************
    3334//******************************************************************************
    34 DWORD WIN32API DCIEnum(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5)
     35int WINAPI DCIEnum(HDC hdc, LPRECT lprDst, LPRECT lprSrc, LPVOID lpFnCallback,
     36                   LPVOID lpContext)
    3537{
    36     dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5));
    37     return -4;
     38    dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", hdc, lprDst, lprSrc, lpFnCallback, lpContext));
     39    return DCI_FAIL_UNSUPPORTED;  //NT returns -4
    3840}
    3941//******************************************************************************
    4042//******************************************************************************
    41 DWORD WIN32API DCICreatePrimary(DWORD arg1, DWORD arg2)
     43int WINAPI DCICreatePrimary(HDC hdc, LPDCISURFACEINFO *lplpSurface)
    4244{
    43     dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", arg1, arg2));
     45    dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", hdc, lplpSurface));
     46    return DCI_FAIL_UNSUPPORTED;
     47}
     48//******************************************************************************
     49//******************************************************************************
     50int WINAPI DCICreateOffscreen(HDC hdc, DWORD dwCompression, DWORD dwRedMask,
     51                              DWORD dwGreenMask, DWORD dwBlueMask, DWORD dwWidth,
     52                              DWORD dwHeight, DWORD dwDCICaps, DWORD dwBitCount,
     53                              LPDCIOFFSCREEN  *lplpSurface)
     54{
     55    dprintf(("DCICreateOffScreen %x %x %x %x %x %x %x %x %x %x NOT IMPLEMENTED", hdc, dwCompression, dwRedMask, dwGreenMask, dwBlueMask, dwWidth, dwHeight, dwDCICaps, dwBitCount, lplpSurface));
     56    return DCI_FAIL_UNSUPPORTED;
     57}
     58//******************************************************************************
     59//******************************************************************************
     60int WINAPI DCICreateOverlay(HDC hdc, LPVOID lpOffscreenSurf,
     61                            LPDCIOVERLAY *lplpSurface)
     62{
     63    dprintf(("DCICreateOverlay %x %x %x NOT IMPLEMENTED", hdc, lpOffscreenSurf, lplpSurface));
     64    return DCI_FAIL_UNSUPPORTED;
     65}
     66//******************************************************************************
     67//******************************************************************************
     68DCIRVAL WINAPI DCIBeginAccess(LPDCISURFACEINFO pdci, int x, int y, int dx, int dy)
     69{
     70    dprintf(("DCIBeginAccess %x %x %x %x %x NOT IMPLEMENTED", pdci, x, y, dx, dy));
     71    return DCI_FAIL_UNSUPPORTED;
     72}
     73//******************************************************************************
     74//******************************************************************************
     75void WINAPI DCIEndAccess(LPDCISURFACEINFO pdci)
     76{
     77    dprintf(("DCIEndAccess %x NOT IMPLEMENTED", pdci));
     78    return;
     79}
     80//******************************************************************************
     81//******************************************************************************
     82void WINAPI DCIDestroy(LPDCISURFACEINFO pdci)
     83{
     84    dprintf(("DCIDestroy %x NOT IMPLEMENTED", pdci));
     85    return;
     86}
     87//******************************************************************************
     88//******************************************************************************
     89DCIRVAL WINAPI DCIDraw(LPDCIOFFSCREEN pdci)
     90{
     91    dprintf(("DCIDraw %x NOT IMPLEMENTED", pdci));
     92    return DCI_FAIL_UNSUPPORTED;
     93}
     94//******************************************************************************
     95//******************************************************************************
     96DCIRVAL WINAPI DCISetClipList(LPDCIOFFSCREEN pdci, LPRGNDATA prd)
     97{
     98    dprintf(("DCISetClipList %x %x NOT IMPLEMENTED", pdci, prd));
     99    return DCI_FAIL_UNSUPPORTED;
     100}
     101//******************************************************************************
     102//******************************************************************************
     103DCIRVAL WINAPI DCISetDestination(LPDCIOFFSCREEN pdci, LPRECT dst, LPRECT src)
     104{
     105    dprintf(("DCISetDestination %x %x %x NOT IMPLEMENTED", pdci, dst, src));
     106    return DCI_FAIL_UNSUPPORTED;
     107}
     108//******************************************************************************
     109//******************************************************************************
     110DCIRVAL WINAPI DCISetSrcDestClip(LPDCIOFFSCREEN pdci, LPRECT srcrc, LPRECT destrc, LPRGNDATA prd )
     111{
     112    dprintf(("DCISetSrcDestClip %x %x %x %x NOT IMPLEMENTED", pdci, srcrc, destrc, prd));
     113    return DCI_FAIL_UNSUPPORTED;
     114}
     115//******************************************************************************
     116//******************************************************************************
     117HWINWATCH WINAPI WinWatchOpen(HWND hwnd)
     118{
     119    dprintf(("WinWatchOpen %x NOT IMPLEMENTED", hwnd));
    44120    return 0;
    45121}
    46122//******************************************************************************
    47123//******************************************************************************
    48 DWORD WIN32API DCICreateOffscreen(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5,
    49                                   DWORD arg6, DWORD arg7, DWORD arg8, DWORD arg9, DWORD arg10)
     124void WINAPI WinWatchClose(HWINWATCH hWW)
    50125{
    51     dprintf(("DCICreateOffScreen %x %x %x %x %x %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10));
    52     return -4;
     126    dprintf(("WinWatchClose %x NOT IMPLEMENTED", hWW));
     127    return;
    53128}
    54129//******************************************************************************
    55130//******************************************************************************
    56 DWORD WIN32API DCICreateOverlay(DWORD arg1, DWORD arg2, DWORD arg3)
     131UINT WINAPI WinWatchGetClipList(HWINWATCH hWW, LPRECT prc, UINT size,  LPRGNDATA prd)
    57132{
    58     dprintf(("DCICreateOverlay %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3));
    59     return -4;
    60 }
    61 //******************************************************************************
    62 //******************************************************************************
    63 DWORD WIN32API DCIBeginAccess(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5)
    64 {
    65     dprintf(("DCIBeginAccess %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5));
     133    dprintf(("WinWatchGetClipList %x %x %x %xNOT IMPLEMENTED", hWW, prc, size, prd));
    66134    return 0;
    67135}
    68136//******************************************************************************
    69137//******************************************************************************
    70 DWORD WIN32API DCIEndAccess(DWORD arg1)
     138BOOL WINAPI WinWatchDidStatusChange(HWINWATCH hWW)
    71139{
    72     dprintf(("DCIEndAccess %x NOT IMPLEMENTED", arg1));
     140    dprintf(("WinWatchDidStatusChange %x NOT IMPLEMENTED", hWW));
    73141    return 0;
    74142}
    75143//******************************************************************************
    76144//******************************************************************************
    77 DWORD WIN32API DCIDestroy(DWORD arg1)
     145BOOL WINAPI WinWatchNotify(HWINWATCH hWW, WINWATCHNOTIFYPROC NotifyCallback,
     146                           LPARAM NotifyParam )
    78147{
    79     dprintf(("DCIDestroy %x NOT IMPLEMENTED", arg1));
     148    dprintf(("WinWatchNotify %x NOT IMPLEMENTED", hWW, NotifyCallback, NotifyParam));
    80149    return 0;
    81150}
    82151//******************************************************************************
    83152//******************************************************************************
    84 DWORD WIN32API DCIDraw(DWORD arg1)
     153DWORD WINAPI GetWindowRegionData(HWND hwnd, DWORD size, LPRGNDATA prd)
    85154{
    86     dprintf(("DCIDraw %x NOT IMPLEMENTED", arg1));
    87     return -4;
    88 }
    89 //******************************************************************************
    90 //******************************************************************************
    91 DWORD WIN32API DCISetClipList(DWORD arg1, DWORD arg2)
    92 {
    93     dprintf(("DCISetClipList %x %x NOT IMPLEMENTED", arg1, arg2));
    94     return -4;
    95 }
    96 //******************************************************************************
    97 //******************************************************************************
    98 DWORD WIN32API DCISetDestination(DWORD arg1, DWORD arg2, DWORD arg3)
    99 {
    100     dprintf(("DCISetDestination %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3));
    101     return -4;
    102 }
    103 //******************************************************************************
    104 //******************************************************************************
    105 DWORD WIN32API DCISetSrcDestClip(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4)
    106 {
    107     dprintf(("DCISetSrcDestClip %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4));
    108     return -4;
    109 }
    110 //******************************************************************************
    111 //******************************************************************************
    112 DWORD WIN32API WinWatchOpen(DWORD arg1)
    113 {
    114     dprintf(("WinWatchOpen %x NOT IMPLEMENTED", arg1));
     155    dprintf(("GetWindowRegionData %x %x %x NOT IMPLEMENTED", hwnd, size, prd));
    115156    return 0;
    116157}
    117158//******************************************************************************
    118159//******************************************************************************
    119 DWORD WIN32API WinWatchClose(DWORD arg1)
     160DWORD WINAPI GetDCRegionData(HDC hdc, DWORD size, LPRGNDATA prd)
    120161{
    121     dprintf(("WinWatchClose %x NOT IMPLEMENTED", arg1));
    122     return 0;
    123 }
    124 //******************************************************************************
    125 //******************************************************************************
    126 DWORD WIN32API WinWatchGetClipList(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4)
    127 {
    128     dprintf(("WinWatchGetClipList %x %x %x %xNOT IMPLEMENTED", arg1, arg2, arg3, arg4));
    129     return 0;
    130 }
    131 //******************************************************************************
    132 //******************************************************************************
    133 DWORD WIN32API WinWatchDidStatusChange(DWORD arg1)
    134 {
    135     dprintf(("WinWatchDidStatusChange %x NOT IMPLEMENTED", arg1));
    136     return 0;
    137 }
    138 //******************************************************************************
    139 //******************************************************************************
    140 DWORD WIN32API WinWatchNotify(DWORD arg1, DWORD arg2, DWORD arg3)
    141 {
    142     dprintf(("WinWatchNotify %x NOT IMPLEMENTED", arg1));
    143     return 0;
    144 }
    145 //******************************************************************************
    146 //******************************************************************************
    147 DWORD WIN32API GetWindowRegionData(DWORD arg1, DWORD arg2, DWORD arg3)
    148 {
    149     dprintf(("GetWindowRegionData %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3));
    150     return 0;
    151 }
    152 //******************************************************************************
    153 //******************************************************************************
    154 DWORD WIN32API GetDCRegionData(DWORD arg1, DWORD arg2, DWORD arg3)
    155 {
    156     dprintf(("GetDCRegionData %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3));
     162    dprintf(("GetDCRegionData %x %x %x NOT IMPLEMENTED", hdc, size, prd));
    157163    return 0;
    158164}
Note: See TracChangeset for help on using the changeset viewer.