[ros-diffs] [greatlrd] 19889: forget contain of erros.h

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Sun Dec 4 23:15:51 CET 2005


forget contain of erros.h
Modified: trunk/reactos/w32api/include/errors.h
  _____  

Modified: trunk/reactos/w32api/include/errors.h
--- trunk/reactos/w32api/include/errors.h	2005-12-04 22:11:59 UTC
(rev 19888)
+++ trunk/reactos/w32api/include/errors.h	2005-12-04 22:15:27 UTC
(rev 19889)
@@ -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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051204/86e450f2/attachment.html


More information about the Ros-diffs mailing list