Fixed a couple of races with exiting threads in suspend_for_ptrace().
[wine/gsoc_dplay.git] / dlls / avicap32 / avicap32_main.c
blob4b40bfc2e44e683e9a0ddcfeae20cb443884c48e
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 "vfw.h"
21 #include "winternl.h"
22 #include "wine/debug.h"
24 WINE_DEFAULT_DEBUG_CHANNEL(avicap);
27 /***********************************************************************
28 * capCreateCaptureWindowW (AVICAP32.@)
30 HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle, INT x,
31 INT y, INT nWidth, INT nHeight, HWND hWnd,
32 INT nID)
34 FIXME("%s, %08lx, %08x, %08x, %08x, %08x, %p, %08x\n",
35 debugstr_w(lpszWindowName), dwStyle,
36 x, y, nWidth, nHeight, hWnd, nID);
37 return 0;
40 /***********************************************************************
41 * capCreateCaptureWindowA (AVICAP32.@)
43 HWND VFWAPI capCreateCaptureWindowA(LPCSTR lpszWindowName, DWORD dwStyle, INT x,
44 INT y, INT nWidth, INT nHeight, HWND hWnd,
45 INT nID)
46 { UNICODE_STRING nameW;
47 HWND retW;
49 if (lpszWindowName) RtlCreateUnicodeStringFromAsciiz(&nameW, lpszWindowName);
50 else nameW.Buffer = NULL;
52 retW = capCreateCaptureWindowW(nameW.Buffer, dwStyle, x, y, nWidth, nHeight,
53 hWnd, nID);
54 RtlFreeUnicodeString(&nameW);
56 return retW;
59 /***********************************************************************
60 * capGetDriverDescriptionA (AVICAP32.@)
62 BOOL VFWAPI capGetDriverDescriptionA(WORD wDriverIndex, LPSTR lpszName,
63 INT cbName, LPSTR lpszVer, INT cbVer)
65 FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
66 lpszVer, cbVer);
67 return FALSE;
70 /***********************************************************************
71 * capGetDriverDescriptionW (AVICAP32.@)
73 BOOL VFWAPI capGetDriverDescriptionW(WORD wDriverIndex, LPWSTR lpszName,
74 INT cbName, LPWSTR lpszVer, INT cbVer)
76 FIXME("(%d, %p, %d, %p, %d) stub!\n", wDriverIndex, lpszName, cbName,
77 lpszVer, cbVer);
78 return FALSE;