msacm.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
/*
* Declarations for MSACM
*
* Copyright (C) the Wine project
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_MSACM_H
#define __WINE_MSACM_H
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#include <pshpack1.h>
/***********************************************************************
*/
#define ACMERR_BASE 512
#define ACMERR_NOTPOSSIBLE (ACMERR_BASE + 0)
#define MM_ACM_OPEN MM_STREAM_OPEN
#define MM_ACM_CLOSE MM_STREAM_CLOSE
#define MM_ACM_DONE MM_STREAM_DONE
#define ACMDRIVERDETAILS_SHORTNAME_CHARS 32
#define ACMDRIVERDETAILS_LONGNAME_CHARS 128
#define ACMDRIVERDETAILS_COPYRIGHT_CHARS 80
#define ACMDRIVERDETAILS_LICENSING_CHARS 128
#define ACMDRIVERDETAILS_FEATURES_CHARS 512
#define MM_ACM_FILTERCHOOSE 0x8000
#define FILTERCHOOSE_MESSAGE 0
#define FILTERCHOOSE_FILTERTAG_VERIFY (FILTERCHOOSE_MESSAGE+0)
#define ACMFILTERDETAILS_FILTER_CHARS 128
#define ACMFILTERTAGDETAILS_FILTERTAG_CHARS 48
#define ACMHELPMSGSTRINGA "acmchoose_help"
#if defined(__GNUC__)
'c','h','o','o','s','e','_','h','e','l','p',0 }
# define ACMHELPMSGSTRINGW L"acmchoose_help"
#else
'c','h','o','o','s','e','_','h','e','l','p',0 };
#endif
#define ACMHELPMSGCONTEXTMENUA "acmchoose_contextmenu"
#if defined(__GNUC__)
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 }
# define ACMHELPMSGCONTEXTMENUW L"acmchoose_contextmenu"
#else
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','m','e','n','u',0 };
#endif
#define ACMHELPMSGCONTEXTHELPA "acmchoose_contexthelp"
#if defined(__GNUC__)
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 }
# define ACMHELPMSGCONTEXTHELPW L"acmchoose_contexthelp"
#else
'c','h','o','o','s','e','_','c','o','n','t','e','x','t','h','e','l','p',0 };
#endif
#define MM_ACM_FORMATCHOOSE 0x8000
#define FORMATCHOOSE_MESSAGE 0
#define FORMATCHOOSE_FORMATTAG_VERIFY (FORMATCHOOSE_MESSAGE+0)
#define ACMFORMATDETAILS_FORMAT_CHARS 128
#define ACMFORMATTAGDETAILS_FORMATTAG_CHARS 48
#define ACM_METRIC_COUNT_DRIVERS 1
#define ACM_METRIC_COUNT_CODECS 2
#define ACM_METRIC_COUNT_CONVERTERS 3
#define ACM_METRIC_COUNT_FILTERS 4
#define ACM_METRIC_COUNT_DISABLED 5
#define ACM_METRIC_COUNT_HARDWARE 6
#define ACM_METRIC_COUNT_LOCAL_DRIVERS 20
#define ACM_METRIC_COUNT_LOCAL_CODECS 21
#define ACM_METRIC_COUNT_LOCAL_CONVERTERS 22
#define ACM_METRIC_COUNT_LOCAL_FILTERS 23
#define ACM_METRIC_COUNT_LOCAL_DISABLED 24
#define ACM_METRIC_HARDWARE_WAVE_INPUT 30
#define ACM_METRIC_HARDWARE_WAVE_OUTPUT 31
#define ACM_METRIC_MAX_SIZE_FORMAT 50
#define ACM_METRIC_MAX_SIZE_FILTER 51
#define ACM_METRIC_DRIVER_SUPPORT 100
#define ACM_METRIC_DRIVER_PRIORITY 101
#define ACM_STREAMCONVERTF_BLOCKALIGN 0x00000004
#define ACM_STREAMCONVERTF_START 0x00000010
#define ACM_STREAMCONVERTF_END 0x00000020
#define ACM_STREAMOPENF_QUERY 0x00000001
#define ACM_STREAMOPENF_ASYNC 0x00000002
#define ACM_STREAMOPENF_NONREALTIME 0x00000004
#define ACMDM_BASE ACMDM_RESERVED_LOW
/* handles */
/***********************************************************************
* Callbacks
*/
);
);
);
);
);
/***********************************************************************
* Structures
*/
typedef struct _ACMDRIVERDETAILSA
{
typedef struct _ACMDRIVERDETAILSW
{
typedef struct _ACMFILTERCHOOSEA
{
typedef struct _ACMFILTERCHOOSEW
{
typedef struct _ACMFILTERDETAILSA
{
typedef struct _ACMFILTERDETAILSW
{
typedef struct _ACMFILTERTAGDETAILSA
{
typedef struct _ACMFILTERTAGDETAILSW
{
typedef struct _ACMFORMATCHOOSEA
{
typedef struct _ACMFORMATCHOOSEW
{
typedef struct _ACMFORMATDETAILSA
{
typedef struct _ACMFORMATDETAILSW
{
typedef struct _ACMFORMATTAGDETAILSA
{
typedef struct _ACMFORMATTAGDETAILSW
{
#ifdef _WIN64
# define _ACMSTREAMHEADERRESERVE 15
#else
# define _ACMSTREAMHEADERRESERVE 10
#endif
typedef struct _ACMSTREAMHEADER
{
/***********************************************************************
* Callbacks 2
*/
);
);
);
);
);
);
);
);
/***********************************************************************
* Functions - Win32
*/
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
);
#include <poppack.h>
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_MSACM_H */