1 /****************************************************************************
3 * $Id: rmapends.h 7 2003-05-30 02:18:02Z gabest $
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
22 * Forward declarations of some interfaces defined or used here-in.
24 typedef _INTERFACE IUnknown IUnknown
;
25 typedef _INTERFACE IRMAPendingStatus IRMAPendingStatus
;
28 /****************************************************************************
36 * Interface to get the current pending status from an object
40 * {00001100-0901-11d1-8B06-00A024406D59}
43 DEFINE_GUID(IID_IRMAPendingStatus
, 0x00001100, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
44 0xa0, 0x24, 0x40, 0x6d, 0x59);
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
)
59 STDMETHOD(QueryInterface
) (THIS_
63 STDMETHOD_(ULONG
,AddRef
) (THIS
) PURE
;
65 STDMETHOD_(ULONG
,Release
) (THIS
) PURE
;
68 * IRMAPendingStatus methods
71 /************************************************************************
73 * IRMAPendingStatus::GetStatus
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_ */