kdewin
errors.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __ERRORS__
00020 #define __ERRORS__
00021
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 #define AMOVIEAPI
00027
00028 #define VFW_FIRST_CODE 0x200
00029 #define MAX_ERROR_TEXT_LEN 160
00030
00031 #include <vfwmsgs.h>
00032
00033 typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT,char*,DWORD);
00034 typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT,WCHAR*,DWORD);
00035 DECL_WINELIB_TYPE_AW(AMGETERRORTEXTPROC)
00036
00037 DWORD WINAPI AMGetErrorTextA(HRESULT,LPSTR,DWORD);
00038 DWORD WINAPI AMGetErrorTextW(HRESULT,LPWSTR,DWORD);
00039 #define AMGetErrorText WINELIB_NAME_AW(AMGetErrorText)
00040
00041 #ifdef __cplusplus
00042 }
00043 #endif
00044
00045 #endif