Add pgs color type setting
[xy_vsfilter.git] / include / realmedia / rmapends.h
blob1cc22856b41e85f6619cdf2dc4e745c6e2a3a5f3
1 /****************************************************************************
2 *
3 * $Id: rmapends.h 7 2003-05-30 02:18:02Z gabest $
4 *
5 * Copyright (C) 1995-1999 RealNetworks, Inc. All rights reserved.
7 * http://www.real.com/devzone
9 * This program contains proprietary
10 * information of Progressive Networks, Inc, and is licensed
11 * subject to restrictions on use and distribution.
14 * Pending Status interfaces
18 #ifndef _RMAPENDS_H_
19 #define _RMAPENDS_H_
22 * Forward declarations of some interfaces defined or used here-in.
24 typedef _INTERFACE IUnknown IUnknown;
25 typedef _INTERFACE IRMAPendingStatus IRMAPendingStatus;
28 /****************************************************************************
30 * Interface:
32 * IRMAPendingStatus
34 * Purpose:
36 * Interface to get the current pending status from an object
38 * IRMAPendingStatus:
40 * {00001100-0901-11d1-8B06-00A024406D59}
43 DEFINE_GUID(IID_IRMAPendingStatus, 0x00001100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
44 0xa0, 0x24, 0x40, 0x6d, 0x59);
46 #undef INTERFACE
47 #define INTERFACE IRMAPendingStatus
49 #define RMA_STATUS_INITIALIZING 0x01
50 #define RMA_STATUS_BUFFERING 0x02
51 #define RMA_STATUS_CONTACTING 0x03
52 #define RMA_STATUS_READY 0x04
54 DECLARE_INTERFACE_(IRMAPendingStatus, IUnknown)
57 * IUnknown methods
59 STDMETHOD(QueryInterface) (THIS_
60 REFIID riid,
61 void** ppvObj) PURE;
63 STDMETHOD_(ULONG,AddRef) (THIS) PURE;
65 STDMETHOD_(ULONG,Release) (THIS) PURE;
68 * IRMAPendingStatus methods
71 /************************************************************************
72 * Method:
73 * IRMAPendingStatus::GetStatus
74 * Purpose:
75 * Called by the user to get the current pending status from an object
77 STDMETHOD(GetStatus) (THIS_
78 REF(UINT16) uStatusCode,
79 REF(IRMABuffer*) pStatusDesc,
80 REF(UINT16) ulPercentDone) PURE;
83 #endif /* _RMAPENDS_H_ */