quartz: Make errors.h more complete and better match the PSDK types.

This commit is contained in:
Francois Gouget 2007-09-01 02:45:13 +02:00 committed by Alexandre Julliard
parent b1ed9ce820
commit c0716ef18c
1 changed files with 7 additions and 2 deletions

View File

@ -23,14 +23,19 @@
extern "C" { extern "C" {
#endif #endif
#define AMOVIEAPI
#define VFW_FIRST_CODE 0x200 #define VFW_FIRST_CODE 0x200
#define MAX_ERROR_TEXT_LEN 160 #define MAX_ERROR_TEXT_LEN 160
#include <vfwmsgs.h> #include <vfwmsgs.h>
DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen); typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT,char*,DWORD);
DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen); typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT,WCHAR*,DWORD);
DECL_WINELIB_TYPE_AW(AMGETERRORTEXTPROC)
DWORD WINAPI AMGetErrorTextA(HRESULT,LPSTR,DWORD);
DWORD WINAPI AMGetErrorTextW(HRESULT,LPWSTR,DWORD);
#define AMGetErrorText WINELIB_NAME_AW(AMGetErrorText) #define AMGetErrorText WINELIB_NAME_AW(AMGetErrorText)
#ifdef __cplusplus #ifdef __cplusplus