- Fix hotspot handling
[wine/multimedia.git] / dlls / avicap32 / avicap32_main.c
blob781a5e4df173ff722bb5c1bb525488eaceb870bf
1 /*
2 * Copyright 2002 Dmitry Timoshkov for CodeWeavers
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.
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.
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
19 #define COM_NO_WINDOWS_H
20 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "wingdi.h"
25 #include "winuser.h"
26 #include "vfw.h"
27 #include "winreg.h"
28 #include "winternl.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(avicap);
34 /***********************************************************************
35 * capCreateCaptureWindowW (AVICAP32.@)
37 HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle, INT x,
38 INT y, INT nWidth, INT nHeight, HWND hWnd,
39 INT nID)
41 FIXME("%s, %08lx, %08x, %08x, %08x, %08x, %p, %08x\n",
42 debugstr_w(lpszWindowName), dwStyle,
43 x, y, nWidth, nHeight, hWnd, nID);
44 return 0;
47 /***********************************************************************
48 * capCreateCaptureWindowA (AVICAP32.@)
50 HWND VFWAPI capCreateCaptureWindowA(LPCSTR lpszWindowName, DWORD dwStyle, INT x,
51 INT y, INT nWidth, INT nHeight, HWND hWnd,
52 INT nID)
53 { UNICODE_STRING nameW;
54 HWND retW;
56 if (lpszWindowName) RtlCreateUnicodeStringFromAsciiz(&nameW, lpszWindowName);
57 else nameW.Buffer = NULL;
59 retW = capCreateCaptureWindowW(nameW.Buffer, dwStyle, x, y, nWidth, nHeight,
60 hWnd, nID);
61 RtlFreeUnicodeString(&nameW);
63 return retW;
66 /***********************************************************************
67 * capGetDriverDescriptionA (AVICAP32.@)
69 BOOL VFWAPI capGetDriverDescriptionA(WORD wDriverIndex, LPSTR lpszName,
70 INT cbName, LPSTR lpszVer, INT cbVer)
72 FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
73 lpszVer, cbVer);
74 return FALSE;
77 /***********************************************************************
78 * capGetDriverDescriptionW (AVICAP32.@)
80 BOOL VFWAPI capGetDriverDescriptionW(WORD wDriverIndex, LPWSTR lpszName,
81 INT cbName, LPWSTR lpszVer, INT cbVer)
83 FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
84 lpszVer, cbVer);
85 return FALSE;