23#define WM_QUARTZ_DESTROY (WM_USER + WM_DESTROY)
83 IVideoWindow_put_Visible(&
window->IVideoWindow_iface,
OAFALSE);
86 (
void **)&event_sink)))
89 IMediaEventSink_Release(event_sink);
116 ERR(
"Unable to create window\n");
128 return IUnknown_QueryInterface(
window->pFilter->outer_unk, iid,
out);
134 return IUnknown_AddRef(
window->pFilter->outer_unk);
140 return IUnknown_Release(
window->pFilter->outer_unk);
163 TRACE(
"iface %p, iid %s, names %p, count %u, lcid %#lx, ids %p.\n",
180 TRACE(
"iface %p, id %ld, iid %s, lcid %#lx, flags %#x, params %p, result %p, excepinfo %p, error_arg %p.\n",
212 TRACE(
"window %p, caption %p.\n",
window, caption);
333 FIXME(
"window %p, palette %ld, stub!\n",
This, BackgroundPalette);
342 FIXME(
"(%p/%p)->(%p): stub !!!\n",
This, iface, pBackgroundPalette);
351 TRACE(
"window %p, visible %ld.\n",
window, visible);
364 TRACE(
"window %p, visible %p.\n",
window, visible);
533 TRACE(
"(%p/%p)->(%p)\n",
This, iface, Drain);
535 *Drain = (OAHWND)
This->hwndDrain;
560 TRACE(
"(%p)->(%p)\n", iface, FullScreenMode);
630 TRACE(
"window %p, hwnd %#Ix, message %#lx, wparam %#Ix, lparam %#Ix.\n",
639 case WM_DISPLAYCHANGE:
681 FIXME(
"(%p/%p)->(%p, %p, %p, %p): stub !!!\n",
This, iface, pLeft, pTop, pWidth, pHeight);
690 FIXME(
"window %p, hide %ld, stub!\n",
window, hide);
699 FIXME(
"(%p/%p)->(%p): stub !!!\n",
This, iface, CursorHidden);
712 return IUnknown_QueryInterface(
window->pFilter->outer_unk, iid,
out);
718 return IUnknown_AddRef(
window->pFilter->outer_unk);
724 return IUnknown_Release(
window->pFilter->outer_unk);
747 TRACE(
"iface %p, iid %s, names %p, count %u, lcid %#lx, ids %p.\n",
764 TRACE(
"iface %p, id %ld, iid %s, lcid %#lx, flags %#x, params %p, result %p, excepinfo %p, error_arg %p.\n",
785 if (
IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo))
800 TRACE(
"window %p, reftime %p.\n",
window, reftime);
1078 if (left < 0 || left + width > bitmap_header->
biWidth ||
width <= 0)
1080 if (top < 0 || top + height > bitmap_header->
biHeight ||
height <= 0)
1181 FIXME(
"window %p, start %ld, count %ld, ret_count %p, palette %p, stub!\n",
1280 window->IVideoWindow_iface.lpVtbl = vtbl;
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HRESULT WINAPI basic_video_put_DestinationHeight(IBasicVideo *iface, LONG height)
static HRESULT WINAPI basic_video_get_SourceTop(IBasicVideo *iface, LONG *top)
ULONG WINAPI BaseControlWindowImpl_AddRef(IVideoWindow *iface)
HRESULT WINAPI BaseControlWindowImpl_put_Owner(IVideoWindow *iface, OAHWND owner)
static HRESULT WINAPI basic_video_get_BitRate(IBasicVideo *iface, LONG *rate)
HRESULT WINAPI BaseControlWindowImpl_put_FullScreenMode(IVideoWindow *iface, LONG fullscreen)
HRESULT WINAPI BaseControlWindowImpl_get_Caption(IVideoWindow *iface, BSTR *caption)
static HRESULT WINAPI basic_video_get_BitErrorRate(IBasicVideo *iface, LONG *rate)
static HRESULT WINAPI basic_video_get_VideoWidth(IBasicVideo *iface, LONG *width)
ULONG WINAPI BaseControlWindowImpl_Release(IVideoWindow *iface)
HRESULT WINAPI BaseControlWindowImpl_HideCursor(IVideoWindow *iface, LONG hide)
static ULONG WINAPI basic_video_AddRef(IBasicVideo *iface)
static const IBasicVideoVtbl basic_video_vtbl
HRESULT WINAPI BaseControlWindowImpl_GetMaxIdealImageSize(IVideoWindow *iface, LONG *width, LONG *height)
static HRESULT WINAPI basic_video_get_DestinationTop(IBasicVideo *iface, LONG *top)
static HRESULT WINAPI basic_video_get_AvgTimePerFrame(IBasicVideo *iface, REFTIME *reftime)
static HRESULT WINAPI basic_video_GetTypeInfoCount(IBasicVideo *iface, UINT *count)
static HRESULT WINAPI basic_video_GetCurrentImage(IBasicVideo *iface, LONG *size, LONG *image)
static struct video_window * impl_from_IVideoWindow(IVideoWindow *iface)
HRESULT WINAPI BaseControlWindowImpl_get_FullScreenMode(IVideoWindow *iface, LONG *FullScreenMode)
HRESULT WINAPI BaseControlWindowImpl_put_WindowStyle(IVideoWindow *iface, LONG style)
static const BITMAPINFOHEADER * get_bitmap_header(struct video_window *window)
static HRESULT WINAPI basic_video_put_DestinationTop(IBasicVideo *iface, LONG top)
static const WCHAR class_name[]
static HRESULT WINAPI basic_video_put_DestinationWidth(IBasicVideo *iface, LONG width)
HRESULT WINAPI BaseControlWindowImpl_SetWindowPosition(IVideoWindow *iface, LONG left, LONG top, LONG width, LONG height)
HRESULT WINAPI BaseControlWindowImpl_get_WindowState(IVideoWindow *iface, LONG *state)
static HRESULT WINAPI basic_video_IsUsingDefaultDestination(IBasicVideo *iface)
HRESULT WINAPI BaseControlWindowImpl_NotifyOwnerMessage(IVideoWindow *iface, OAHWND hwnd, LONG message, LONG_PTR wparam, LONG_PTR lparam)
static HRESULT WINAPI basic_video_get_DestinationHeight(IBasicVideo *iface, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_put_WindowStyleEx(IVideoWindow *iface, LONG style)
HRESULT video_window_create_window(struct video_window *window)
static struct video_window * impl_from_IBasicVideo(IBasicVideo *iface)
static HRESULT WINAPI basic_video_GetTypeInfo(IBasicVideo *iface, UINT index, LCID lcid, ITypeInfo **typeinfo)
static HRESULT WINAPI basic_video_put_SourceLeft(IBasicVideo *iface, LONG left)
static HRESULT WINAPI basic_video_GetVideoSize(IBasicVideo *iface, LONG *width, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_Invoke(IVideoWindow *iface, DISPID id, REFIID iid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excepinfo, UINT *error_arg)
HRESULT WINAPI BaseControlWindowImpl_put_AutoShow(IVideoWindow *iface, LONG AutoShow)
HRESULT WINAPI BaseControlWindowImpl_QueryInterface(IVideoWindow *iface, REFIID iid, void **out)
HRESULT WINAPI BaseControlWindowImpl_GetMinIdealImageSize(IVideoWindow *iface, LONG *width, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_put_Left(IVideoWindow *iface, LONG left)
#define WM_QUARTZ_DESTROY
static HRESULT WINAPI basic_video_put_SourceHeight(IBasicVideo *iface, LONG height)
HRESULT WINAPI BaseControlWindowImpl_put_Top(IVideoWindow *iface, LONG top)
static HRESULT WINAPI basic_video_get_SourceLeft(IBasicVideo *iface, LONG *left)
static HRESULT WINAPI basic_video_get_VideoHeight(IBasicVideo *iface, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_GetTypeInfoCount(IVideoWindow *iface, UINT *count)
static LRESULT CALLBACK WndProcW(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
static HRESULT WINAPI basic_video_put_SourceWidth(IBasicVideo *iface, LONG width)
HRESULT WINAPI BaseControlWindowImpl_put_Caption(IVideoWindow *iface, BSTR caption)
static HRESULT WINAPI basic_video_get_SourceHeight(IBasicVideo *iface, LONG *height)
void video_window_init(struct video_window *window, const IVideoWindowVtbl *vtbl, struct strmbase_filter *owner, struct strmbase_pin *pin, const struct video_window_ops *ops)
static HRESULT WINAPI basic_video_GetSourcePosition(IBasicVideo *iface, LONG *left, LONG *top, LONG *width, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_SetWindowForeground(IVideoWindow *iface, LONG focus)
static HRESULT WINAPI basic_video_SetDestinationPosition(IBasicVideo *iface, LONG left, LONG top, LONG width, LONG height)
static HRESULT WINAPI basic_video_put_SourceTop(IBasicVideo *iface, LONG top)
HRESULT WINAPI BaseControlWindowImpl_get_Width(IVideoWindow *iface, LONG *width)
HRESULT WINAPI BaseControlWindowImpl_get_Height(IVideoWindow *iface, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_get_Visible(IVideoWindow *iface, LONG *visible)
HRESULT WINAPI BaseControlWindowImpl_get_Top(IVideoWindow *iface, LONG *top)
static HRESULT WINAPI basic_video_get_DestinationWidth(IBasicVideo *iface, LONG *width)
static const VIDEOINFOHEADER * get_video_format(struct video_window *window)
HRESULT WINAPI BaseControlWindowImpl_get_Left(IVideoWindow *iface, LONG *left)
static HRESULT WINAPI basic_video_get_SourceWidth(IBasicVideo *iface, LONG *width)
static HRESULT WINAPI basic_video_SetSourcePosition(IBasicVideo *iface, LONG left, LONG top, LONG width, LONG height)
HRESULT WINAPI BaseControlWindowImpl_get_WindowStyleEx(IVideoWindow *iface, LONG *style)
static HRESULT WINAPI basic_video_GetVideoPaletteEntries(IBasicVideo *iface, LONG start, LONG count, LONG *ret_count, LONG *palette)
static HRESULT WINAPI basic_video_SetDefaultDestinationPosition(IBasicVideo *iface)
HRESULT WINAPI BaseControlWindowImpl_put_Visible(IVideoWindow *iface, LONG visible)
HRESULT WINAPI BaseControlWindowImpl_GetIDsOfNames(IVideoWindow *iface, REFIID iid, LPOLESTR *names, UINT count, LCID lcid, DISPID *ids)
static HRESULT WINAPI basic_video_SetDefaultSourcePosition(IBasicVideo *iface)
static HRESULT WINAPI basic_video_put_DestinationLeft(IBasicVideo *iface, LONG left)
HRESULT WINAPI BaseControlWindowImpl_put_BorderColor(IVideoWindow *iface, LONG Color)
HRESULT WINAPI BaseControlWindowImpl_get_BackgroundPalette(IVideoWindow *iface, LONG *pBackgroundPalette)
HRESULT WINAPI BaseControlWindowImpl_get_MessageDrain(IVideoWindow *iface, OAHWND *Drain)
void video_window_unregister_class(void)
HRESULT WINAPI BaseControlWindowImpl_GetTypeInfo(IVideoWindow *iface, UINT index, LCID lcid, ITypeInfo **typeinfo)
HRESULT WINAPI BaseControlWindowImpl_get_WindowStyle(IVideoWindow *iface, LONG *style)
static HRESULT WINAPI basic_video_GetIDsOfNames(IBasicVideo *iface, REFIID iid, LPOLESTR *names, UINT count, LCID lcid, DISPID *ids)
HRESULT WINAPI BaseControlWindowImpl_put_MessageDrain(IVideoWindow *iface, OAHWND Drain)
static HRESULT WINAPI basic_video_IsUsingDefaultSource(IBasicVideo *iface)
void video_window_cleanup(struct video_window *window)
HRESULT WINAPI BaseControlWindowImpl_GetWindowPosition(IVideoWindow *iface, LONG *left, LONG *top, LONG *width, LONG *height)
static HRESULT WINAPI basic_video_GetDestinationPosition(IBasicVideo *iface, LONG *left, LONG *top, LONG *width, LONG *height)
HRESULT WINAPI BaseControlWindowImpl_get_AutoShow(IVideoWindow *iface, LONG *AutoShow)
HRESULT WINAPI BaseControlWindowImpl_put_Width(IVideoWindow *iface, LONG width)
HRESULT WINAPI BaseControlWindowImpl_get_Owner(IVideoWindow *iface, OAHWND *Owner)
HRESULT WINAPI BaseControlWindowImpl_GetRestorePosition(IVideoWindow *iface, LONG *pLeft, LONG *pTop, LONG *pWidth, LONG *pHeight)
static HRESULT WINAPI basic_video_QueryInterface(IBasicVideo *iface, REFIID iid, void **out)
HRESULT WINAPI BaseControlWindowImpl_put_Height(IVideoWindow *iface, LONG height)
static HRESULT WINAPI basic_video_Invoke(IBasicVideo *iface, DISPID id, REFIID iid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excepinfo, UINT *error_arg)
static HRESULT WINAPI basic_video_get_DestinationLeft(IBasicVideo *iface, LONG *left)
static ULONG WINAPI basic_video_Release(IBasicVideo *iface)
HRESULT WINAPI BaseControlWindowImpl_put_BackgroundPalette(IVideoWindow *iface, LONG BackgroundPalette)
HRESULT WINAPI BaseControlWindowImpl_IsCursorHidden(IVideoWindow *iface, LONG *CursorHidden)
HRESULT WINAPI BaseControlWindowImpl_get_BorderColor(IVideoWindow *iface, LONG *Color)
HRESULT WINAPI BaseControlWindowImpl_put_WindowState(IVideoWindow *iface, LONG state)
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLdouble GLdouble GLdouble GLdouble top
GLenum const GLfloat * params
static IHTMLWindow2 * window
static EXCEPINFO excepinfo
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
static VARIANTARG static DISPID
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
BSTR WINAPI SysAllocString(LPCOLESTR str)
#define WS_OVERLAPPEDWINDOW
#define IsEqualGUID(rguid1, rguid2)
#define WM_QUERYNEWPALETTE
#define GetWindowLongPtrW
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND WINAPI SetParent(_In_ HWND, _In_opt_ HWND)
LONG WINAPI SetWindowLongW(_In_ HWND, _In_ int, _In_ LONG)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
#define WM_PALETTECHANGED
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
#define WM_NCRBUTTONDBLCLK
#define WM_SYSCOLORCHANGE
#define WM_NCLBUTTONDBLCLK
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
int WINAPI GetWindowTextLengthW(_In_ HWND)
BOOL WINAPI OffsetRect(_Inout_ LPRECT, _In_ int, _In_ int)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
#define WM_NCMBUTTONDBLCLK
#define SetWindowLongPtrW
BOOL WINAPI IsWindowVisible(_In_ HWND)
BOOL WINAPI DestroyWindow(_In_ HWND)
#define WM_PALETTEISCHANGING
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
HRESULT strmbase_get_typeinfo(enum strmbase_type_id tid, ITypeInfo **typeinfo)
IVideoWindow IVideoWindow_iface
const struct video_window_ops * ops
IBasicVideo IBasicVideo_iface
#define CONTAINING_RECORD(address, type, field)
#define VFW_E_NO_PALETTE_AVAILABLE
#define VFW_E_NOT_CONNECTED
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
DWORD WINAPI GetLastError(void)
#define ERROR_CLASS_ALREADY_EXISTS
#define ERROR_CLASS_DOES_NOT_EXIST