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.
* include/evcode.h: New file.
* include/audevcod.h: New file.
* 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>
--- /dev/null
+#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