Changeset 1012 for trunk/src/msvfw32/msvfw32.cpp
- Timestamp:
- Sep 23, 1999, 11:38:06 AM (26 years ago)
- 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:30sandervl Exp $ */1 /* $Id: msvfw32.cpp,v 1.3 1999-09-23 09:38:05 sandervl Exp $ */ 2 2 /* 3 3 * Copyright 1998 Marcus Meissner … … 12 12 #define strcasecmp strcmp 13 13 14 #include <os2win.h> 14 15 #include "winerror.h" 15 16 #include "heap.h" … … 29 30 30 31 31 //DEFAULT_DEBUG_CHANNEL(msvideo)32 DEFAULT_DEBUG_CHANNEL(msvideo) 32 33 33 34 … … 39 40 DWORD WINAPI VideoForWindowsVersion(void) 40 41 { 42 #ifdef DEBUG 43 dprintf(("MSVFW32: VideoForWindowsVersion\n")); 44 #endif 41 45 return 0x040003B6; /* 4.950 */ 42 46 } 43 44 /* system.ini: [drivers] */45 47 46 48 … … 57 59 UINT wFlags) 58 60 { 61 #ifdef DEBUG 62 dprintf(("MSVFW32: DrawDibBegin not implemented\n")); 63 #endif 59 64 return TRUE; 60 65 } … … 67 72 BOOL VFWAPI DrawDibChangePalette(HANDLE /*HDRAWDIB*/ hdd, int iStart, int iLen, LPPALETTEENTRY lppe) 68 73 { 74 #ifdef DEBUG 75 dprintf(("MSVFW32: DrawDibChangePalette not implemented\n")); 76 #endif 69 77 return TRUE; 70 78 } … … 76 84 BOOL WINAPI DrawDibClose( HANDLE /*HDRAWDIB*/ hDib ) 77 85 { 86 #ifdef DEBUG 87 dprintf(("MSVFW32: DrawDibClose not implemented\n")); 88 #endif 78 89 return TRUE; 79 90 } … … 97 108 UINT wFlags) 98 109 { 110 #ifdef DEBUG 111 dprintf(("MSVFW32: DrawDibDraw not implemented\n")); 112 #endif 99 113 return TRUE; 100 114 } 101 115 102 116 103 104 117 /**************************************************************************** 105 118 * DrawDibEnd [MSVFW.7] … … 107 120 BOOL VFWAPI DrawDibEnd(HANDLE /*HDRAWDIB*/ hdd) 108 121 { 122 #ifdef DEBUG 123 dprintf(("MSVFW32: DrawDibEnd not implemented\n")); 124 #endif 109 125 return TRUE; 110 126 } … … 116 132 LPVOID VFWAPI DrawDibGetBuffer(HANDLE /*HDRAWDIB*/ hdd, LPBITMAPINFOHEADER lpbi, DWORD dwSize, DWORD dwFlags) 117 133 { 134 #ifdef DEBUG 135 dprintf(("MSVFW32: DrawDibGetBuffer not implemented\n")); 136 #endif 118 137 return 0; 119 138 } … … 125 144 HPALETTE VFWAPI DrawDibGetPalette(HANDLE /*HDRAWDIB*/ hdd) 126 145 { 146 #ifdef DEBUG 147 dprintf(("MSVFW32: DrawDibGetPalette not implemented\n")); 148 #endif 127 149 return TRUE; 128 150 } … … 134 156 HANDLE /* HDRAWDIB */ WINAPI DrawDibOpen( void ) 135 157 { 158 #ifdef DEBUG 159 dprintf(("MSVFW32: DrawDibOpen not implemented\n")); 160 #endif 136 161 return 0xdead; 137 162 } … … 143 168 DWORD VFWAPI DrawDibProfileDisplay(LPBITMAPINFOHEADER lpbi) 144 169 { 170 #ifdef DEBUG 171 dprintf(("MSVFW32: DrawDibProfileDisplay not implemented\n")); 172 #endif 145 173 return TRUE; 146 174 } 147 175 148 176 149 150 177 /**************************************************************************** 151 178 * DrawDibRealize [MSVFW.12] … … 153 180 UINT VFWAPI DrawDibRealize(HANDLE /*HDRAWDIB*/ hdd, HDC hdc, BOOL fBackground) 154 181 { 182 #ifdef DEBUG 183 dprintf(("MSVFW32: DrawDibRealize not implemented\n")); 184 #endif 155 185 return 0; 156 186 } … … 162 192 BOOL VFWAPI DrawDibSetPalette(HANDLE /*HDRAWDIB*/ hdd, HPALETTE hpal) 163 193 { 194 #ifdef DEBUG 195 dprintf(("MSVFW32: DrawDibSetPalette not implemented\n")); 196 #endif 164 197 return TRUE; 165 198 } … … 171 204 BOOL VFWAPI DrawDibStart(HANDLE /*HDRAWDIB*/ hdd, DWORD rate) 172 205 { 206 #ifdef DEBUG 207 dprintf(("MSVFW32: DrawDibStart not implemented\n")); 208 #endif 173 209 return TRUE; 174 210 } … … 180 216 BOOL VFWAPI DrawDibStop(HANDLE /*HDRAWDIB*/ hdd) 181 217 { 182 return TRUE; 183 } 184 218 #ifdef DEBUG 219 dprintf(("MSVFW32: DrawDibStop not implemented\n")); 220 #endif 221 return TRUE; 222 } 185 223 186 224 … … 190 228 BOOL VFWAPI DrawDibTime(HANDLE /*HDRAWDIB*/ hdd, LPDRAWDIBTIME lpddtime) 191 229 { 192 return TRUE; 193 } 194 230 #ifdef DEBUG 231 dprintf(("MSVFW32: DrawDibTime not implemented\n")); 232 #endif 233 return TRUE; 234 } 195 235 196 236 … … 207 247 BOOL VFWAPI GetOpenFileNamePreviewA(LPOPENFILENAMEA lpofn) 208 248 { 249 #ifdef DEBUG 250 dprintf(("MSVFW32: GetOpenFileNamePreviewA not implemented\n")); 251 #endif 209 252 return TRUE; 210 253 } … … 216 259 BOOL VFWAPI GetOpenFileNamePreviewW(LPOPENFILENAMEW lpofn) 217 260 { 261 #ifdef DEBUG 262 dprintf(("MSVFW32: GetOpenFileNamePreviewW not implemented\n")); 263 #endif 218 264 return TRUE; 219 265 } … … 225 271 BOOL VFWAPI GetSaveFileNamePreviewA(LPOPENFILENAMEA lpofn) 226 272 { 273 #ifdef DEBUG 274 dprintf(("MSVFW32: GetSaveFileNamePreviewA not implemented\n")); 275 #endif 227 276 return TRUE; 228 277 } … … 234 283 BOOL VFWAPI GetSaveFileNamePreviewW(LPOPENFILENAMEW lpofn) 235 284 { 285 #ifdef DEBUG 286 dprintf(("MSVFW32: GetSaveFileNamePreviewW not implemented\n")); 287 #endif 236 288 return TRUE; 237 289 } … … 243 295 LRESULT WINAPI ICClose(HIC hic) 244 296 { 297 #ifdef DEBUG 298 dprintf(("MSVFW32: ICClose\n")); 299 #endif 245 300 WINE_HIC *whic = (WINE_HIC*)hic; 246 301 /* FIXME: correct? */ … … 260 315 LPBITMAPINFOHEADER lpbiPrev,LPVOID lpPrev) 261 316 { 317 #ifdef DEBUG 318 dprintf(("MSVFW32: ICCompress\n")); 319 #endif 262 320 ICCOMPRESS iccmp; 263 321 … … 291 349 LPSTR lpszTitle) // dialog title (optional) 292 350 { 351 #ifdef DEBUG 352 dprintf(("MSVFW32: ICCompressorChoose not implemented\n")); 353 #endif 293 354 return TRUE; 294 355 } … … 300 361 void VFWAPI ICCompressorFree(PCOMPVARS pc) 301 362 { 363 #ifdef DEBUG 364 dprintf(("MSVFW32: ICCompressorFree not implemented\n")); 365 #endif 302 366 return; 303 367 } … … 310 374 LPVOID lpData,LPBITMAPINFOHEADER lpbi,LPVOID lpBits) 311 375 { 376 #ifdef DEBUG 377 dprintf(("MSVFW32: ICDecompress\n")); 378 #endif 312 379 ICDECOMPRESS icd; 313 380 … … 329 396 DWORD cbData, LONG lTime) 330 397 { 398 #ifdef DEBUG 399 dprintf(("MSVFW32: ICDraw\n")); 400 #endif 331 401 ICDRAW icd; 332 402 … … 361 431 DWORD dwScale) 362 432 { 433 #ifdef DEBUG 434 dprintf(("MSVFW32: ICDrawBegin\n")); 435 #endif 363 436 ICDRAWBEGIN icdb; 364 437 … … 388 461 LPBITMAPINFOHEADER lpbiOut, INT depth,INT dx,INT dy) 389 462 { 463 #ifdef DEBUG 464 dprintf(("MSVFW32: ICGetDisplayFormat\n")); 465 #endif 390 466 HIC tmphic = hic; 391 467 LRESULT lres; … … 432 508 LRESULT WINAPI ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb) 433 509 { 510 #ifdef DEBUG 511 dprintf(("MSVFW32: ICGetInfo\n")); 512 #endif 434 513 LRESULT ret; 435 514 … … 451 530 LONG plSize) // compress to this size (0=whatever) 452 531 { 532 #ifdef DEBUG 533 dprintf(("MSVFW32: ICImageCompress not implemented\n")); 534 #endif 453 535 return 0; 454 536 } … … 465 547 LPBITMAPINFO lpbiOut) // decompress to this (NULL ==> default) 466 548 { 549 #ifdef DEBUG 550 dprintf(("MSVFW32: ICImageDecompress not implemented\n")); 551 #endif 467 552 return 0; 468 553 } … … 476 561 BOOL WINAPI ICInfo(DWORD fccType,DWORD fccHandler,ICINFO *lpicinfo) 477 562 { 563 #ifdef DEBUG 564 dprintf(("MSVFW32: ICInfo\n")); 565 #endif 478 566 479 567 char type[5],buf[2000]; … … 505 593 BOOL VFWAPI ICInstall(DWORD fccType, DWORD fccHandler, LPARAM lParam, LPSTR szDesc, UINT wFlags) 506 594 { 595 #ifdef DEBUG 596 dprintf(("MSVFW32: ICInstall not implemented\n")); 597 #endif 507 598 return TRUE; 508 599 } … … 515 606 LPBITMAPINFOHEADER lpbiOut, WORD wMode) 516 607 { 608 #ifdef DEBUG 609 dprintf(("MSVFW32: ICLocate\n")); 610 #endif 517 611 char type[5],handler[5]; 518 612 HIC hic; … … 559 653 HIC WINAPI ICOpen(DWORD fccType,DWORD fccHandler,UINT wMode) 560 654 { 655 #ifdef DEBUG 656 dprintf(("MSVFW32: ICOpen\n")); 657 #endif 561 658 char type[5],handler[5],codecname[20]; 562 659 ICOPEN icopen; … … 600 697 FARPROC lpfnHandler) 601 698 { 699 #ifdef DEBUG 700 dprintf(("MSVFW32: ICOpenFunction\n")); 701 #endif 602 702 char type[5],handler[5]; 603 703 HIC hic; … … 620 720 BOOL VFWAPI ICRemove(DWORD fccType, DWORD fccHandler, UINT wFlags) 621 721 { 722 #ifdef DEBUG 723 dprintf(("MSVFW32: ICRemove not implemented\n")); 724 #endif 622 725 return TRUE; 623 726 } … … 630 733 631 734 { 735 #ifdef DEBUG 736 dprintf(("MSVFW32: ICSendMessage\n")); 737 #endif 632 738 LRESULT ret; 633 739 WINE_HIC *whic = (WINE_HIC*)hic; … … 702 808 LONG *plSize) // size to compress to/of returned image 703 809 { 810 #ifdef DEBUG 811 dprintf(("MSVFW32: ICSeqCompressFrame not implemented\n")); 812 #endif 704 813 return 0; 705 814 } … … 711 820 BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn) 712 821 { 713 return TRUE; 714 } 715 822 #ifdef DEBUG 823 dprintf(("MSVFW32: ICSeqCompressFrameEnd not implemented\n")); 824 #endif 825 return TRUE; 826 } 716 827 717 828 … … 721 832 void VFWAPI ICSeqCompressFrameEnd(PCOMPVARS pc) 722 833 { 834 #ifdef DEBUG 835 dprintf(("MSVFW32: ICSeqCompressFrameStart not implemented\n")); 836 #endif 723 837 return; 724 838 } … … 731 845 DWORD dwStyle,LPVOID szFile) 732 846 { 847 #ifdef DEBUG 848 dprintf(("MSVFW32: MCIWndCreate not implemented\n")); 849 #endif 733 850 return 0; 734 851 } … … 741 858 DWORD dwStyle,LPCSTR szFile) 742 859 { 860 #ifdef DEBUG 861 dprintf(("MSVFW32: MCIWndCreateA not implemented\n")); 862 #endif 743 863 return 0; 744 864 } … … 751 871 DWORD dwStyle,LPCWSTR szFile) 752 872 { 873 #ifdef DEBUG 874 dprintf(("MSVFW32: MCIWndCreateW not implemented\n")); 875 #endif 753 876 return 0; 754 877 } … … 760 883 BOOL VFWAPIV MCIWndRegisterClass() 761 884 { 885 #ifdef DEBUG 886 dprintf(("MSVFW32: MCIWndRegisterClass not implemented\n")); 887 #endif 762 888 return TRUE; 763 889 }
Note:
See TracChangeset
for help on using the changeset viewer.