1 |
bearsoft |
1.1 |
//------------------------------------------------------------------------------
|
2 |
|
|
// File: DMO.h
|
3 |
|
|
//
|
4 |
|
|
// Desc: Headers needed by almost all DMOs.
|
5 |
|
|
//
|
6 |
|
|
// Copyright (c) 1999 - 2000, Microsoft Corporation. All rights reserved.
|
7 |
|
|
//------------------------------------------------------------------------------
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
#ifndef __DMO_H__
|
11 |
|
|
#define __DMO_H__
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
#include "mediaerr.h"
|
15 |
|
|
|
16 |
|
|
// When using ATL we get collisions on Lock so in this case rename
|
17 |
|
|
// IMediaObject::Lock to IMediaObject::DMOLock
|
18 |
|
|
|
19 |
|
|
#ifdef FIX_LOCK_NAME
|
20 |
|
|
#define Lock DMOLock
|
21 |
|
|
#endif
|
22 |
|
|
#include "mediaobj.h"
|
23 |
|
|
#ifdef FIX_LOCK_NAME
|
24 |
|
|
#undef Lock
|
25 |
|
|
#endif
|
26 |
|
|
#include "dmoreg.h"
|
27 |
|
|
#include "dmort.h"
|
28 |
|
|
|
29 |
|
|
#endif //__DMO_H__
|