Compartilhar via


REGPINMEDIUM Structure

 
Microsoft DirectShow 9.0

REGPINMEDIUM Structure

The REGPINMEDIUM structure describes a pin medium for registration through the IFilterMapper2 interface.

Syntax

typedef struct {
    CLSID clsMedium;
    DWORD dw1;
    DWORD dw2;
} REGPINMEDIUM;

Members

clsMedium

GUID that specifies the medium.

dw1

Variable of type DWORD that specifies the instance of this medium. This is necessary when two identical devices are present on the host system.

dw2

Not used.

Remarks

A medium identifies a hardware path of communication that exists within a single hardware device or between two devices. Register mediums if your filter is built on kernel streaming pins and needs to connect to other such filters.

This structure is equivalent to the KSPIN_MEDIUM structure, which is used by kernel streaming drivers. For more information, see the Microsoft® Windows® Driver Development Kit (DDK).

Requirements

Header: Dshow.h.

See Also