Add support for D3DBLEND_ONE for D3DRENDERSTATE_{DEST/SRC}BLEND.
[wine] / dlls / avicap32 / avicap32_main.c
1 /*
2  * Copyright 2002 Dmitry Timoshkov for Codeweavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #include "vfw.h"
20 #include "winternl.h"
21 #include "wine/debug.h"
22
23 WINE_DEFAULT_DEBUG_CHANNEL(avicap);
24
25
26 /***********************************************************************
27  *             capCreateCaptureWindowW   (AVICAP32.@)
28  */
29 HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle, INT x,
30                                     INT y, INT nWidth, INT nHeight, HWND hWnd,
31                                     INT nID)
32 {
33     FIXME("%s, %08lx, %08x, %08x, %08x, %08x, %p, %08x\n",
34            debugstr_w(lpszWindowName), dwStyle,
35            x, y, nWidth, nHeight, hWnd, nID);
36     return 0;
37 }
38
39 /***********************************************************************
40  *             capCreateCaptureWindowA   (AVICAP32.@)
41  */
42 HWND VFWAPI capCreateCaptureWindowA(LPCSTR lpszWindowName, DWORD dwStyle, INT x,
43                                     INT y, INT nWidth, INT nHeight, HWND hWnd,
44                                     INT nID)
45 {   UNICODE_STRING nameW;
46     HWND retW;
47
48     if (lpszWindowName) RtlCreateUnicodeStringFromAsciiz(&nameW, lpszWindowName);
49     else nameW.Buffer = NULL;
50
51     retW = capCreateCaptureWindowW(nameW.Buffer, dwStyle, x, y, nWidth, nHeight,
52                                    hWnd, nID);
53     RtlFreeUnicodeString(&nameW);
54
55     return retW;
56 }
57
58 /***********************************************************************
59  *             capGetDriverDescriptionA   (AVICAP32.@)
60  */
61 BOOL VFWAPI capGetDriverDescriptionA(WORD wDriverIndex, LPSTR lpszName,
62                                      INT cbName, LPSTR lpszVer, INT cbVer)
63 {
64     FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
65           lpszVer, cbVer);
66     return FALSE;
67 }
68
69 /***********************************************************************
70  *             capGetDriverDescriptionW   (AVICAP32.@)
71  */
72 BOOL VFWAPI capGetDriverDescriptionW(WORD wDriverIndex, LPWSTR lpszName,
73                                      INT cbName, LPWSTR lpszVer, INT cbVer)
74 {
75     FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
76           lpszVer, cbVer);
77     return FALSE;
78 }