mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
forget contain of erros.h
svn path=/trunk/; revision=19889
This commit is contained in:
parent
f6407a67c1
commit
86fed7432a
1 changed files with 39 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
#ifndef __ERRORS__
|
||||
#define __ERRORS__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _AMOVIE_
|
||||
#define AMOVIEAPI DECLSPEC_IMPORT
|
||||
#else
|
||||
#define AMOVIEAPI
|
||||
#endif
|
||||
|
||||
#define VFW_FIRST_CODE 0x200
|
||||
#define MAX_ERROR_TEXT_LEN 160
|
||||
#include <VFWMSGS.H>
|
||||
|
||||
typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT,
|
||||
char *, DWORD);
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr ,
|
||||
char *pbuffer , DWORD MaxLen);
|
||||
|
||||
typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT,
|
||||
WCHAR *, DWORD);
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr ,
|
||||
WCHAR *pbuffer , DWORD MaxLen);
|
||||
|
||||
#ifndef UNICODE
|
||||
#define AMGetErrorText AMGetErrorTextA
|
||||
typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC;
|
||||
#else
|
||||
#define AMGetErrorText AMGetErrorTextW
|
||||
typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in a new issue