ReactOS  0.4.13-dev-551-gf37fb1f
digitaldemo.cpp File Reference
#include "precomp.h"
Include dependency graph for digitaldemo.cpp:

Go to the source code of this file.

Classes

class  CBDADigitalDemodulator
 

Functions

HRESULT WINAPI CBDADigitalDemodulator_fnConstructor (IKsPropertySet *pProperty, ULONG NodeId, REFIID riid, LPVOID *ppv)
 

Variables

const GUID IID_IBDA_DigitalDemodulator = {0xef30f379, 0x985b, 0x4d10, {0xb6, 0x40, 0xa7, 0x9d, 0x5e, 0x04, 0xe1, 0xe0}}
 
const GUID KSPROPSETID_BdaDigitalDemodulator = {0xef30f379, 0x985b, 0x4d10, {0xb6, 0x40, 0xa7, 0x9d, 0x5e, 0x4, 0xe1, 0xe0}}
 

Function Documentation

◆ CBDADigitalDemodulator_fnConstructor()

HRESULT WINAPI CBDADigitalDemodulator_fnConstructor ( IKsPropertySet pProperty,
ULONG  NodeId,
REFIID  riid,
LPVOID ppv 
)

Definition at line 312 of file digitaldemo.cpp.

317 {
318  // construct device control
320 
321 #ifdef BDAPLGIN_TRACE
322  OutputDebugStringW(L"CBDADigitalDemodulator_fnConstructor\n");
323 #endif
324 
325  if (!handler)
326  return E_OUTOFMEMORY;
327 
328  if (FAILED(handler->QueryInterface(riid, ppv)))
329  {
330  /* not supported */
331  delete handler;
332  return E_NOINTERFACE;
333  }
334 
335  return NOERROR;
336 }
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
_Must_inspect_result_ _In_ KSP_BDA_NODE_PIN * pProperty
Definition: bdasup.h:156
static const WCHAR L[]
Definition: oid.c:1250
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786

Referenced by CControlNode::QueryInterface().

Variable Documentation

◆ IID_IBDA_DigitalDemodulator

const GUID IID_IBDA_DigitalDemodulator = {0xef30f379, 0x985b, 0x4d10, {0xb6, 0x40, 0xa7, 0x9d, 0x5e, 0x04, 0xe1, 0xe0}}

◆ KSPROPSETID_BdaDigitalDemodulator