1 | /** @file
|
---|
2 | *
|
---|
3 | * VBox frontends: VRDP (headless RDP server):
|
---|
4 | * Header file with registration call for ffmpeg framebuffer
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License (GPL) as published by the Free Software
|
---|
14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | *
|
---|
18 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
19 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
20 | * additional information or have any questions.
|
---|
21 | */
|
---|
22 |
|
---|
23 | #ifndef __H_VBOXVRDP
|
---|
24 | #define __H_VBOXVRDP
|
---|
25 |
|
---|
26 | #include <VBox/com/VirtualBox.h>
|
---|
27 |
|
---|
28 | #include <iprt/uuid.h>
|
---|
29 |
|
---|
30 | #include <VBox/com/com.h>
|
---|
31 | #include <VBox/com/string.h>
|
---|
32 |
|
---|
33 | #include <iprt/initterm.h>
|
---|
34 | #include <iprt/critsect.h>
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * Callback function to register an ffmpeg framebuffer.
|
---|
38 | *
|
---|
39 | * @returns COM status code.
|
---|
40 | * @param width Framebuffer width.
|
---|
41 | * @param height Framebuffer height.
|
---|
42 | * @param bitrate Bitrate of mpeg file to be created.
|
---|
43 | * @param pixelFormat Framebuffer pixel format
|
---|
44 | * @param filename Name of mpeg file to be created
|
---|
45 | * @retval retVal The new framebuffer
|
---|
46 | */
|
---|
47 | typedef DECLCALLBACK(HRESULT) FNREGISTERFFMPEGFB(ULONG width,
|
---|
48 | ULONG height, ULONG bitrate,
|
---|
49 | com::Bstr filename,
|
---|
50 | IFramebuffer **retVal);
|
---|
51 | typedef FNREGISTERFFMPEGFB *PFNREGISTERFFMPEGFB;
|
---|
52 |
|
---|
53 | #endif // __H_VBOXVRDP
|
---|