; --------------------------------------------------------------------------------------------------
;                            vfw32.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF VFW32_INC
VFW32_INC equ <1>


AVIBuildFilterA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIBuildFilter equ <AVIBuildFilterA>
ENDIF

AVIBuildFilterW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIBuildFilter equ <AVIBuildFilterW>
ENDIF

AVIClearClipboard PROTO STDCALL
AVIFileAddRef PROTO STDCALL :DWORD

AVIFileCreateStreamA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIFileCreateStream equ <AVIFileCreateStreamA>
ENDIF

AVIFileCreateStreamW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIFileCreateStream equ <AVIFileCreateStreamW>
ENDIF

AVIFileEndRecord PROTO STDCALL :DWORD
AVIFileExit PROTO STDCALL
AVIFileGetStream PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

AVIFileInfoA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIFileInfo equ <AVIFileInfoA>
ENDIF

AVIFileInfoW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIFileInfo equ <AVIFileInfoW>
ENDIF

AVIFileInit PROTO STDCALL

AVIFileOpenA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIFileOpen equ <AVIFileOpenA>
ENDIF

AVIFileOpenW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIFileOpen equ <AVIFileOpenW>
ENDIF

AVIFileReadData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIFileRelease PROTO STDCALL :DWORD
AVIFileWriteData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIGetFromClipboard PROTO STDCALL :DWORD
AVIMakeCompressedStream PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIMakeFileFromStreams PROTO STDCALL :DWORD,:DWORD,:DWORD
AVIMakeStreamFromClipboard PROTO STDCALL :DWORD,:DWORD,:DWORD
AVIPutFileOnClipboard PROTO STDCALL :DWORD

AVISaveA PROTO C :VARARG
IFNDEF __UNICODE__
  AVISave equ <AVISaveA>
ENDIF

AVISaveOptions PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AVISaveOptionsFree PROTO STDCALL :DWORD,:DWORD

AVISaveVA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVISaveV equ <AVISaveVA>
ENDIF

AVISaveVW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVISaveV equ <AVISaveVW>
ENDIF

AVISaveW PROTO C :VARARG
IFDEF __UNICODE__
  AVISave equ <AVISaveW>
ENDIF

AVIStreamAddRef PROTO STDCALL :DWORD
AVIStreamBeginStreaming PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIStreamCreate PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIStreamEndStreaming PROTO STDCALL :DWORD
AVIStreamFindSample PROTO STDCALL :DWORD,:DWORD,:DWORD
AVIStreamGetFrame PROTO STDCALL :DWORD,:DWORD
AVIStreamGetFrameClose PROTO STDCALL :DWORD
AVIStreamGetFrameOpen PROTO STDCALL :DWORD,:DWORD

AVIStreamInfoA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIStreamInfo equ <AVIStreamInfoA>
ENDIF

AVIStreamInfoW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIStreamInfo equ <AVIStreamInfoW>
ENDIF

AVIStreamLength PROTO STDCALL :DWORD

AVIStreamOpenFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  AVIStreamOpenFromFile equ <AVIStreamOpenFromFileA>
ENDIF

AVIStreamOpenFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  AVIStreamOpenFromFile equ <AVIStreamOpenFromFileW>
ENDIF

AVIStreamRead PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AVIStreamReadData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIStreamReadFormat PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIStreamRelease PROTO STDCALL :DWORD
AVIStreamSampleToTime PROTO STDCALL :DWORD,:DWORD
AVIStreamSetFormat PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AVIStreamStart PROTO STDCALL :DWORD
AVIStreamTimeToSample PROTO STDCALL :DWORD,:DWORD
AVIStreamWrite PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AVIStreamWriteData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AppCleanup PROTO STDCALL :DWORD
CreateEditableStream PROTO STDCALL :DWORD,:DWORD
DrawDibBegin PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawDibChangePalette PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
DrawDibClose PROTO STDCALL :DWORD
DrawDibDraw PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DrawDibEnd PROTO STDCALL :DWORD
DrawDibGetBuffer PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
DrawDibGetPalette PROTO STDCALL :DWORD
DrawDibOpen PROTO STDCALL
DrawDibProfileDisplay PROTO STDCALL :DWORD
DrawDibRealize PROTO STDCALL :DWORD,:DWORD,:DWORD
DrawDibSetPalette PROTO STDCALL :DWORD,:DWORD
DrawDibStart PROTO STDCALL :DWORD,:DWORD
DrawDibStop PROTO STDCALL :DWORD
DrawDibTime PROTO STDCALL :DWORD,:DWORD
EditStreamClone PROTO STDCALL :DWORD,:DWORD
EditStreamCopy PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
EditStreamCut PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
EditStreamPaste PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

EditStreamSetInfoA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  EditStreamSetInfo equ <EditStreamSetInfoA>
ENDIF

EditStreamSetInfoW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  EditStreamSetInfo equ <EditStreamSetInfoW>
ENDIF


EditStreamSetNameA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  EditStreamSetName equ <EditStreamSetNameA>
ENDIF

EditStreamSetNameW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  EditStreamSetName equ <EditStreamSetNameW>
ENDIF


GetOpenFileNamePreviewA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetOpenFileNamePreview equ <GetOpenFileNamePreviewA>
ENDIF

GetOpenFileNamePreviewW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  GetOpenFileNamePreview equ <GetOpenFileNamePreviewW>
ENDIF

GetSaveFileNamePreviewA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  GetSaveFileNamePreview equ <GetSaveFileNamePreviewA>
ENDIF

GetSaveFileNamePreviewW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  GetSaveFileNamePreview equ <GetSaveFileNamePreviewW>
ENDIF

ICClose PROTO STDCALL :DWORD
ICCompress PROTO C :VARARG
ICCompressorChoose PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICCompressorFree PROTO STDCALL :DWORD
ICDecompress PROTO C :VARARG
ICDraw PROTO C :VARARG
ICDrawBegin PROTO C :VARARG
ICGetDisplayFormat PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICGetInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
ICImageCompress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICImageDecompress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
ICInstall PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICLocate PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICMThunk32 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICOpen PROTO STDCALL :DWORD,:DWORD,:DWORD
ICOpenFunction PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ICRemove PROTO STDCALL :DWORD,:DWORD,:DWORD
ICSendMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ICSeqCompressFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ICSeqCompressFrameEnd PROTO STDCALL :DWORD
ICSeqCompressFrameStart PROTO STDCALL :DWORD,:DWORD
IID_IAVIEditStream PROTO C :VARARG
IID_IAVIFile PROTO C :VARARG
IID_IAVIStream PROTO C :VARARG
IID_IGetFrame PROTO C :VARARG

MCIWndCreateA PROTO C :VARARG
IFNDEF __UNICODE__
  MCIWndCreate equ <MCIWndCreateA>
ENDIF

MCIWndCreateW PROTO C :VARARG
IFDEF __UNICODE__
  MCIWndCreate equ <MCIWndCreateW>
ENDIF

MCIWndRegisterClass PROTO C :VARARG
StretchDIB PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
VideoForWindowsVersion PROTO STDCALL

capCreateCaptureWindowA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  capCreateCaptureWindow equ <capCreateCaptureWindowA>
ENDIF

capCreateCaptureWindowW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  capCreateCaptureWindow equ <capCreateCaptureWindowW>
ENDIF

capGetDriverDescriptionA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  capGetDriverDescription equ <capGetDriverDescriptionA>
ENDIF

capGetDriverDescriptionW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  capGetDriverDescription equ <capGetDriverDescriptionW>
ENDIF

videoThunk32 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

ELSE
  echo ----------------------------------------
  echo WARNING duplicate include file vfw32.inc
  echo ----------------------------------------
ENDIF
