Commit c0716ef1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent b1ed9ce8
...@@ -23,14 +23,19 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment