errors.h (6.05.3790.3959-Windows 5.0) | | errors.h (6.6.6002.18005-Windows 6.0) |
| | |
skipping to change at line 31 | | skipping to change at line 31 |
| | |
// codes 0-01ff are reserved for OLE | | // codes 0-01ff are reserved for OLE |
#define VFW_FIRST_CODE 0x200 | | #define VFW_FIRST_CODE 0x200 |
#define MAX_ERROR_TEXT_LEN 160 | | #define MAX_ERROR_TEXT_LEN 160 |
| | |
#include <VFWMSGS.H> // includes all message definitions | | #include <VFWMSGS.H> // includes all message definitions |
| | |
typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT, char *, DWORD); | | typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT, char *, DWORD); |
typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT, WCHAR *, DWORD); | | typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT, WCHAR *, DWORD); |
| | |
|
AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr , char *pbuffer , DWORD MaxLe | | AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr , __out_ecount(MaxLen) LPSTR |
n); | | pbuffer , DWORD MaxLen); |
AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr , WCHAR *pbuffer , DWORD MaxL | | AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr , __out_ecount(MaxLen) LPWSTR |
en); | | pbuffer , DWORD MaxLen); |
| | |
#ifdef UNICODE | | #ifdef UNICODE |
#define AMGetErrorText AMGetErrorTextW | | #define AMGetErrorText AMGetErrorTextW |
typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC; | | typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC; |
#else | | #else |
#define AMGetErrorText AMGetErrorTextA | | #define AMGetErrorText AMGetErrorTextA |
typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC; | | typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC; |
#endif | | #endif |
| | |
#ifdef __cplusplus | | #ifdef __cplusplus |
| | |
End of changes. 1 change blocks. |
4 lines changed or deleted | | 4 lines changed or added |
|