mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:21:52 +00:00
Find some older works, dxsdk header compatible with dxsdk 2004 dec release. I will clean up sdk so dx thuse dx header belong to dxsdk will be here. later.
In this folder will contain all header that is compatible with dxsdk 2004 dec. later I will upgrade this folder file to more resent dxsdk headers. svn path=/trunk/; revision=26343
This commit is contained in:
parent
5f8f828416
commit
d5f02da15d
12 changed files with 254 additions and 0 deletions
38
reactos/include/dxsdk/errors.h
Normal file
38
reactos/include/dxsdk/errors.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
#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);
|
||||
typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT, WCHAR *, DWORD);
|
||||
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr , char *pbuffer , DWORD MaxLen);
|
||||
AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr , WCHAR *pbuffer , DWORD MaxLen);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define AMGetErrorText AMGetErrorTextW
|
||||
typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC;
|
||||
#else
|
||||
#define AMGetErrorText AMGetErrorTextA
|
||||
typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue