次の方法で共有


DECLARE_IUNKNOWN (Compact 2013)

3/26/2014

This macro declares the three methods of the base interface for a new interface.

Syntax

#define DECLARE_IUNKNOWN

Remarks

When you create a new interface, it must derive from IUnknown, which has three methods: QueryInterface, AddRef, and Release. This macro simplifies the declaration process by declaring each of these methods for the new interface.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IUnknown Macro