Z
zhenqiang
Unregistered / Unconfirmed
GUEST, unregistred user!
IAMProgramSelect
// {D98B7901-1A83-11d2-8D53-0080ADB66EF4}
DEFINE_GUID(IID_IAMProgramSelect,
0xd98b7901, 0x1a83, 0x11d2, 0x8d, 0x53, 0x0, 0x80, 0xad, 0xb6, 0x6e, 0xf4);
DECLARE_INTERFACE_(IAMProgramSelect, IUnknown)
{
// IUnknown methods.
STDMETHOD(QueryInterface) (THIS_ REFIID, VOID**) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE;
// IAMProgramSelect methods
STDMETHOD (Count) (THIS_ /* [out] */ BYTE *pcAStreams, /* [out] */ BYTE
*pcVStreams) PURE;
STDMETHOD (Enable) (THIS_ /* [in] */ BYTE lIndex, /* [in] */ DWORD dwFlags) PURE;
STDMETHOD (Enable_Video) (THIS_ /* [in] */ BYTE lIndex) PURE;
STDMETHOD (ChangeChannel) (THIS_ /* [in] */ DWORD new_program) PURE;
STDMETHOD (GetChannels) (THIS_ /* [out] */ WORD *Channels, DWORD
*Current_Channel) PURE;
};
在D里该如何表示?本人对C不是很了解
那位兄台帮个忙,谢谢
// {D98B7901-1A83-11d2-8D53-0080ADB66EF4}
DEFINE_GUID(IID_IAMProgramSelect,
0xd98b7901, 0x1a83, 0x11d2, 0x8d, 0x53, 0x0, 0x80, 0xad, 0xb6, 0x6e, 0xf4);
DECLARE_INTERFACE_(IAMProgramSelect, IUnknown)
{
// IUnknown methods.
STDMETHOD(QueryInterface) (THIS_ REFIID, VOID**) PURE;
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
STDMETHOD_(ULONG,Release) (THIS) PURE;
// IAMProgramSelect methods
STDMETHOD (Count) (THIS_ /* [out] */ BYTE *pcAStreams, /* [out] */ BYTE
*pcVStreams) PURE;
STDMETHOD (Enable) (THIS_ /* [in] */ BYTE lIndex, /* [in] */ DWORD dwFlags) PURE;
STDMETHOD (Enable_Video) (THIS_ /* [in] */ BYTE lIndex) PURE;
STDMETHOD (ChangeChannel) (THIS_ /* [in] */ DWORD new_program) PURE;
STDMETHOD (GetChannels) (THIS_ /* [out] */ WORD *Channels, DWORD
*Current_Channel) PURE;
};
在D里该如何表示?本人对C不是很了解
那位兄台帮个忙,谢谢