* include/errors.h: New file.

* include/dshow.h: Include <errors.h>.
This commit is contained in:
Dimitri Papadopoulos 2006-05-03 07:06:26 +00:00
parent 100b96f7b9
commit cedb1281cf
3 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/errors.h: New file.
* include/dshow.h: Include <errors.h>.
2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/dshow.h: New file.
@ -17,7 +22,7 @@
* include/mprapi.h (RAS_FLAGS_*,PPP_LCP_*,RASCCPCA_* ,PPP_CCP_*,MAX_*,
RASPRIV_*,*ADDRESSLEN,MPR_ENABLE_*): Define.
* include/mprapi.h (RAS_*_CONDITION): Add enums.
* include/mprapi.h <lmcons.h>: For NETBIOS_NAME_LEN, UNLEN, DLEN.
* include/mprapi.h: <lmcons.h> for NETBIOS_NAME_LEN, UNLEN, DLEN.
2006-05-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net>

View File

@ -7,5 +7,6 @@
#include <evcode.h>
#include <audevcod.h>
#include <dvdevcod.h>
#include <errors.h>
#endif

View File

@ -0,0 +1,23 @@
#ifndef _ERRORS_H
#define _ERRORS_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define MAX_ERROR_TEXT_LEN 160
DWORD WINAPI AMGetErrorTextA(HRESULT,CHAR*,DWORD);
DWORD WINAPI AMGetErrorTextW(HRESULT,WCHAR*,DWORD);
#ifdef UNICODE
#define AMGetErrorText AMGetErrorTextW
#else
#define AMGetErrorText AMGetErrorTextA
#endif
#ifdef __cplusplus
}
#endif
#endif