#872 missing dx header error.h

WSL
closed
nobody
None
Bug
fixed
featured-pre-wsl
False
2013-02-19
2005-12-04
No

#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

Discussion

  • Magnus Olsen

    Magnus Olsen - 2005-12-04

    Logged In: YES
    user_id=355927

    sorry the name of header is errors.h
    not error.h

     
  • Dimitri Papadopoulos

    Logged In: YES
    user_id=52414

    The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and
    mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically
    merged into the MinGW CVS tree. If you still find problems then please open a new report.

     
  • Dimitri Papadopoulos

    • status: open --> pending-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-19
    • labels: w32api (deprecated use WSL) -->
    • status: closed-fixed --> closed
    • milestone: --> WSL
    • type: --> Bug
    • resolution: --> fixed
    • category: --> featured-pre-wsl
    • patch_attached: --> False