Ignore:
Timestamp:
Sep 23, 1999, 11:38:06 AM (26 years ago)
Author:
sandervl
Message:

Jens Weissner's changes to crtdll + others

File:
1 edited

Legend:

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

    r972 r1012  
    1 /* $Id: msvfw32.cpp,v 1.2 1999-09-18 15:57:30 sandervl Exp $ */
     1/* $Id: msvfw32.cpp,v 1.3 1999-09-23 09:38:05 sandervl Exp $ */
    22/*
    33 * Copyright 1998 Marcus Meissner
     
    1212#define strcasecmp               strcmp
    1313
     14#include <os2win.h>
    1415#include "winerror.h"
    1516#include "heap.h"
     
    2930
    3031
    31 // DEFAULT_DEBUG_CHANNEL(msvideo)
     32DEFAULT_DEBUG_CHANNEL(msvideo)
    3233
    3334
     
    3940DWORD WINAPI VideoForWindowsVersion(void)
    4041{
     42#ifdef DEBUG
     43    dprintf(("MSVFW32: VideoForWindowsVersion\n"));
     44#endif
    4145        return 0x040003B6; /* 4.950 */
    4246}
    43 
    44 /* system.ini: [drivers] */
    4547
    4648
     
    5759                                    UINT     wFlags)
    5860{
     61#ifdef DEBUG
     62    dprintf(("MSVFW32: DrawDibBegin not implemented\n"));
     63#endif
    5964        return TRUE;
    6065}
     
    6772BOOL VFWAPI DrawDibChangePalette(HANDLE /*HDRAWDIB*/ hdd, int iStart, int iLen, LPPALETTEENTRY lppe)
    6873{
     74#ifdef DEBUG
     75    dprintf(("MSVFW32: DrawDibChangePalette not implemented\n"));
     76#endif
    6977        return TRUE;
    7078}
     
    7684BOOL WINAPI DrawDibClose( HANDLE /*HDRAWDIB*/ hDib )
    7785{
     86#ifdef DEBUG
     87    dprintf(("MSVFW32: DrawDibClose not implemented\n"));
     88#endif
    7889       return TRUE;
    7990}
     
    97108                                   UINT     wFlags)
    98109{
     110#ifdef DEBUG
     111    dprintf(("MSVFW32: DrawDibDraw not implemented\n"));
     112#endif
    99113       return TRUE;
    100114}
    101115
    102116
    103 
    104117/****************************************************************************
    105118 *              DrawDibEnd                      [MSVFW.7]
     
    107120BOOL VFWAPI DrawDibEnd(HANDLE /*HDRAWDIB*/ hdd)
    108121{
     122#ifdef DEBUG
     123    dprintf(("MSVFW32: DrawDibEnd not implemented\n"));
     124#endif
    109125       return TRUE;
    110126}
     
    116132LPVOID VFWAPI DrawDibGetBuffer(HANDLE /*HDRAWDIB*/ hdd, LPBITMAPINFOHEADER lpbi, DWORD dwSize, DWORD dwFlags)
    117133{
     134#ifdef DEBUG
     135    dprintf(("MSVFW32: DrawDibGetBuffer not implemented\n"));
     136#endif
    118137       return 0;
    119138}
     
    125144HPALETTE VFWAPI DrawDibGetPalette(HANDLE /*HDRAWDIB*/ hdd)
    126145{
     146#ifdef DEBUG
     147    dprintf(("MSVFW32: DrawDibGetPalette not implemented\n"));
     148#endif
    127149       return TRUE;
    128150}
     
    134156HANDLE /* HDRAWDIB */ WINAPI DrawDibOpen( void )
    135157{
     158#ifdef DEBUG
     159    dprintf(("MSVFW32: DrawDibOpen not implemented\n"));
     160#endif
    136161        return 0xdead;
    137162}
     
    143168DWORD VFWAPI DrawDibProfileDisplay(LPBITMAPINFOHEADER lpbi)
    144169{
     170#ifdef DEBUG
     171    dprintf(("MSVFW32: DrawDibProfileDisplay not implemented\n"));
     172#endif
    145173       return TRUE;
    146174}
    147175
    148176
    149 
    150177/****************************************************************************
    151178 *              DrawDibRealize                  [MSVFW.12]
     
    153180UINT VFWAPI DrawDibRealize(HANDLE /*HDRAWDIB*/ hdd, HDC hdc, BOOL fBackground)
    154181{
     182#ifdef DEBUG
     183    dprintf(("MSVFW32: DrawDibRealize not implemented\n"));
     184#endif
    155185        return 0;
    156186}
     
    162192BOOL VFWAPI DrawDibSetPalette(HANDLE /*HDRAWDIB*/ hdd, HPALETTE hpal)
    163193{
     194#ifdef DEBUG
     195    dprintf(("MSVFW32: DrawDibSetPalette not implemented\n"));
     196#endif
    164197        return TRUE;
    165198}
     
    171204BOOL VFWAPI DrawDibStart(HANDLE /*HDRAWDIB*/ hdd, DWORD rate)
    172205{
     206#ifdef DEBUG
     207    dprintf(("MSVFW32: DrawDibStart not implemented\n"));
     208#endif
    173209        return TRUE;
    174210}
     
    180216BOOL VFWAPI DrawDibStop(HANDLE /*HDRAWDIB*/ hdd)
    181217{
    182         return TRUE;
    183 }
    184 
     218#ifdef DEBUG
     219    dprintf(("MSVFW32: DrawDibStop not implemented\n"));
     220#endif
     221        return TRUE;
     222}
    185223
    186224
     
    190228BOOL VFWAPI DrawDibTime(HANDLE /*HDRAWDIB*/ hdd, LPDRAWDIBTIME lpddtime)
    191229{
    192         return TRUE;
    193 }
    194 
     230#ifdef DEBUG
     231    dprintf(("MSVFW32: DrawDibTime not implemented\n"));
     232#endif
     233        return TRUE;
     234}
    195235
    196236
     
    207247BOOL VFWAPI GetOpenFileNamePreviewA(LPOPENFILENAMEA lpofn)
    208248{
     249#ifdef DEBUG
     250    dprintf(("MSVFW32: GetOpenFileNamePreviewA not implemented\n"));
     251#endif
    209252        return TRUE;
    210253}
     
    216259BOOL VFWAPI GetOpenFileNamePreviewW(LPOPENFILENAMEW lpofn)
    217260{
     261#ifdef DEBUG
     262    dprintf(("MSVFW32: GetOpenFileNamePreviewW not implemented\n"));
     263#endif
    218264        return TRUE;
    219265}
     
    225271BOOL VFWAPI GetSaveFileNamePreviewA(LPOPENFILENAMEA lpofn)
    226272{
     273#ifdef DEBUG
     274    dprintf(("MSVFW32: GetSaveFileNamePreviewA not implemented\n"));
     275#endif
    227276        return TRUE;
    228277}
     
    234283BOOL VFWAPI GetSaveFileNamePreviewW(LPOPENFILENAMEW lpofn)
    235284{
     285#ifdef DEBUG
     286    dprintf(("MSVFW32: GetSaveFileNamePreviewW not implemented\n"));
     287#endif
    236288        return TRUE;
    237289}
     
    243295LRESULT WINAPI ICClose(HIC hic)
    244296{
     297#ifdef DEBUG
     298    dprintf(("MSVFW32: ICClose\n"));
     299#endif
    245300        WINE_HIC        *whic = (WINE_HIC*)hic;
    246301        /* FIXME: correct? */
     
    260315        LPBITMAPINFOHEADER lpbiPrev,LPVOID lpPrev)
    261316{
     317#ifdef DEBUG
     318    dprintf(("MSVFW32: ICCompress\n"));
     319#endif
    262320        ICCOMPRESS      iccmp;
    263321
     
    291349        LPSTR       lpszTitle)          // dialog title (optional)
    292350{
     351#ifdef DEBUG
     352    dprintf(("MSVFW32: ICCompressorChoose not implemented\n"));
     353#endif
    293354        return TRUE;
    294355}
     
    300361void VFWAPI ICCompressorFree(PCOMPVARS pc)
    301362{
     363#ifdef DEBUG
     364    dprintf(("MSVFW32: ICCompressorFree not implemented\n"));
     365#endif
    302366        return;
    303367}
     
    310374                LPVOID lpData,LPBITMAPINFOHEADER  lpbi,LPVOID lpBits)
    311375{
     376#ifdef DEBUG
     377    dprintf(("MSVFW32: ICDecompress\n"));
     378#endif
    312379        ICDECOMPRESS    icd;
    313380
     
    329396        DWORD cbData, LONG lTime)
    330397{
     398#ifdef DEBUG
     399    dprintf(("MSVFW32: ICDraw\n"));
     400#endif
    331401        ICDRAW  icd;
    332402
     
    361431        DWORD                   dwScale)
    362432{
     433#ifdef DEBUG
     434    dprintf(("MSVFW32: ICDrawBegin\n"));
     435#endif
    363436        ICDRAWBEGIN     icdb;
    364437
     
    388461        LPBITMAPINFOHEADER lpbiOut, INT depth,INT dx,INT dy)
    389462{
     463#ifdef DEBUG
     464    dprintf(("MSVFW32: ICGetDisplayFormat\n"));
     465#endif
    390466        HIC     tmphic = hic;
    391467        LRESULT lres;
     
    432508LRESULT WINAPI ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb)
    433509{
     510#ifdef DEBUG
     511    dprintf(("MSVFW32: ICGetInfo\n"));
     512#endif
    434513        LRESULT         ret;
    435514
     
    451530        LONG                plSize)     // compress to this size (0=whatever)
    452531{       
     532#ifdef DEBUG
     533    dprintf(("MSVFW32: ICImageCompress not implemented\n"));
     534#endif
    453535        return 0;
    454536}
     
    465547        LPBITMAPINFO        lpbiOut)    // decompress to this (NULL ==> default)
    466548{       
     549#ifdef DEBUG
     550    dprintf(("MSVFW32: ICImageDecompress not implemented\n"));
     551#endif
    467552        return 0;
    468553}
     
    476561BOOL WINAPI ICInfo(DWORD fccType,DWORD fccHandler,ICINFO *lpicinfo)
    477562{
     563#ifdef DEBUG
     564    dprintf(("MSVFW32: ICInfo\n"));
     565#endif
    478566
    479567        char    type[5],buf[2000];
     
    505593BOOL    VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR szDesc, UINT wFlags)
    506594{       
     595#ifdef DEBUG
     596    dprintf(("MSVFW32: ICInstall not implemented\n"));
     597#endif
    507598        return TRUE;
    508599}
     
    515606        LPBITMAPINFOHEADER lpbiOut, WORD wMode)
    516607{
     608#ifdef DEBUG
     609    dprintf(("MSVFW32: ICLocate\n"));
     610#endif
    517611        char    type[5],handler[5];
    518612        HIC     hic;
     
    559653HIC WINAPI ICOpen(DWORD fccType,DWORD fccHandler,UINT wMode)
    560654{
     655#ifdef DEBUG
     656    dprintf(("MSVFW32: ICOpen\n"));
     657#endif
    561658        char            type[5],handler[5],codecname[20];
    562659        ICOPEN          icopen;
     
    600697FARPROC lpfnHandler)
    601698{
     699#ifdef DEBUG
     700    dprintf(("MSVFW32: ICOpenFunction\n"));
     701#endif
    602702        char            type[5],handler[5];
    603703        HIC             hic;
     
    620720BOOL    VFWAPI ICRemove(DWORD fccType, DWORD fccHandler, UINT wFlags)
    621721{       
     722#ifdef DEBUG
     723    dprintf(("MSVFW32: ICRemove not implemented\n"));
     724#endif
    622725        return TRUE;
    623726}
     
    630733
    631734{
     735#ifdef DEBUG
     736    dprintf(("MSVFW32: ICSendMessage\n"));
     737#endif
    632738        LRESULT         ret;
    633739        WINE_HIC        *whic = (WINE_HIC*)hic;
     
    702808    LONG                    *plSize)    // size to compress to/of returned image
    703809{
     810#ifdef DEBUG
     811    dprintf(("MSVFW32: ICSeqCompressFrame not implemented\n"));
     812#endif
    704813        return 0;
    705814}
     
    711820BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn)
    712821{
    713         return TRUE;
    714 }
    715 
     822#ifdef DEBUG
     823    dprintf(("MSVFW32: ICSeqCompressFrameEnd not implemented\n"));
     824#endif
     825        return TRUE;
     826}
    716827
    717828
     
    721832void VFWAPI ICSeqCompressFrameEnd(PCOMPVARS pc)
    722833{
     834#ifdef DEBUG
     835    dprintf(("MSVFW32: ICSeqCompressFrameStart not implemented\n"));
     836#endif
    723837        return;
    724838}
     
    731845                      DWORD dwStyle,LPVOID szFile)
    732846{       
     847#ifdef DEBUG
     848    dprintf(("MSVFW32: MCIWndCreate not implemented\n"));
     849#endif
    733850        return 0;
    734851}
     
    741858                      DWORD dwStyle,LPCSTR szFile)
    742859{       
     860#ifdef DEBUG
     861    dprintf(("MSVFW32: MCIWndCreateA not implemented\n"));
     862#endif
    743863        return 0;
    744864}
     
    751871                      DWORD dwStyle,LPCWSTR szFile)
    752872{       
     873#ifdef DEBUG
     874    dprintf(("MSVFW32: MCIWndCreateW not implemented\n"));
     875#endif
    753876        return 0;
    754877}
     
    760883BOOL VFWAPIV MCIWndRegisterClass()
    761884{
     885#ifdef DEBUG
     886    dprintf(("MSVFW32: MCIWndRegisterClass not implemented\n"));
     887#endif
    762888        return TRUE;
    763889}
Note: See TracChangeset for help on using the changeset viewer.