ReactOS  0.4.14-dev-77-gd9e7c48
input_pin.cpp File Reference
#include "precomp.h"
Include dependency graph for input_pin.cpp:

Go to the source code of this file.

Classes

class  CInputPin
 

Functions

HRESULT WINAPI CInputPin_Constructor (IBaseFilter *ParentFilter, LPCWSTR PinName, HANDLE hFilter, ULONG PinId, KSPIN_COMMUNICATION Communication, REFIID riid, LPVOID *ppv)
 

Variables

const GUID IID_IKsPinPipe = {0xe539cd90, 0xa8b4, 0x11d1, {0x81, 0x89, 0x00, 0xa0, 0xc9, 0x06, 0x28, 0x02}}
 
const GUID IID_IKsPinEx = {0x7bb38260L, 0xd19c, 0x11d2, {0xb3, 0x8a, 0x00, 0xa0, 0xc9, 0x5e, 0xc2, 0x2e}}
 
KSPIN_INTERFACE StandardPinInterface
 
KSPIN_MEDIUM StandardPinMedium
 

Function Documentation

◆ CInputPin_Constructor()

HRESULT WINAPI CInputPin_Constructor ( IBaseFilter ParentFilter,
LPCWSTR  PinName,
HANDLE  hFilter,
ULONG  PinId,
KSPIN_COMMUNICATION  Communication,
REFIID  riid,
LPVOID ppv 
)

Definition at line 1766 of file input_pin.cpp.

1774 {
1775  CInputPin * handler = new CInputPin(ParentFilter, PinName, PinId, Communication);
1776 
1777  if (!handler)
1778  return E_OUTOFMEMORY;
1779 
1780  if (FAILED(handler->QueryInterface(riid, ppv)))
1781  {
1782  /* not supported */
1783  delete handler;
1784  return E_NOINTERFACE;
1785  }
1786 
1787  return S_OK;
1788 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define S_OK
Definition: intsafe.h:59
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786

Referenced by CKsProxy::CreatePins().

Variable Documentation

◆ IID_IKsPinEx

const GUID IID_IKsPinEx = {0x7bb38260L, 0xd19c, 0x11d2, {0xb3, 0x8a, 0x00, 0xa0, 0xc9, 0x5e, 0xc2, 0x2e}}

◆ IID_IKsPinPipe

const GUID IID_IKsPinPipe = {0xe539cd90, 0xa8b4, 0x11d1, {0x81, 0x89, 0x00, 0xa0, 0xc9, 0x06, 0x28, 0x02}}

Definition at line 11 of file input_pin.cpp.

Referenced by COutputPin::QueryInterface(), and CInputPin::QueryInterface().

◆ StandardPinInterface

KSPIN_INTERFACE StandardPinInterface
Initial value:

Definition at line 14 of file input_pin.cpp.

Referenced by CInputPin::CreatePin(), and COutputPin::CreatePin().

◆ StandardPinMedium

KSPIN_MEDIUM StandardPinMedium
Initial value:
=
{
0
}
#define STATIC_KSMEDIUMSETID_Standard
Definition: ks.h:303
#define KSMEDIUM_TYPE_ANYINSTANCE
Definition: ks.h:301

Definition at line 21 of file input_pin.cpp.

Referenced by CInputPin::CreatePin(), and COutputPin::CreatePin().