From b1f9e28cd155459ab2843690c248ed9f4767bc3f Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Sun, 2 Jun 2019 06:00:38 +0300 Subject: skeleton updated, windows specific stuff added --- dxsdk/Include/dmo.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dxsdk/Include/dmo.h (limited to 'dxsdk/Include/dmo.h') diff --git a/dxsdk/Include/dmo.h b/dxsdk/Include/dmo.h new file mode 100644 index 00000000..30cc2e9d --- /dev/null +++ b/dxsdk/Include/dmo.h @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// File: DMO.h +// +// Desc: Headers needed by almost all DMOs. +// +// Copyright (c) 1999 - 2001, Microsoft Corporation. All rights reserved. +//------------------------------------------------------------------------------ + + +#ifndef __DMO_H__ +#define __DMO_H__ + + +#include "mediaerr.h" + +// When using ATL we get collisions on Lock, so in this case rename +// IMediaObject::Lock to IMediaObject::DMOLock + +#ifdef FIX_LOCK_NAME +#define Lock DMOLock +#endif +#include "mediaobj.h" +#ifdef FIX_LOCK_NAME +#undef Lock +#endif +#include "dmoreg.h" +#include "dmort.h" + +#endif //__DMO_H__ -- cgit v1.2.3