ReactOS 0.4.15-dev-7918-g2a2556c
interface.cpp File Reference
#include "precomp.h"
Include dependency graph for interface.cpp:

Go to the source code of this file.

Classes

class  CKsInterfaceHandler
 
struct  KSSTREAM_SEGMENT_EXT
 

Typedefs

typedef struct KSSTREAM_SEGMENT_EXTPKSSTREAM_SEGMENT_EXT
 

Functions

HRESULT WINAPI CKsInterfaceHandler_Constructor (IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv)
 

Variables

const GUID IID_IKsObject = {0x423c13a2, 0x2070, 0x11d0, {0x9e, 0xf7, 0x00, 0xaa, 0x00, 0xa2, 0x16, 0xa1}}
 

Typedef Documentation

◆ PKSSTREAM_SEGMENT_EXT

Function Documentation

◆ CKsInterfaceHandler_Constructor()

HRESULT WINAPI CKsInterfaceHandler_Constructor ( IUnknown pUnkOuter,
REFIID  riid,
LPVOID ppv 
)

Definition at line 478 of file interface.cpp.

482{
483#ifdef KSPROXY_TRACE
484 OutputDebugStringW(L"CKsInterfaceHandler_Constructor\n");
485#endif
486
488
489 if (!handler)
490 return E_OUTOFMEMORY;
491
492 if (FAILED(handler->QueryInterface(riid, ppv)))
493 {
494 /* not supported */
495 delete handler;
496 return E_NOINTERFACE;
497 }
498
499 return NOERROR;
500}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7482
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define FAILED(hr)
Definition: intsafe.h:51
#define L(x)
Definition: ntvdm.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354

Variable Documentation

◆ IID_IKsObject

const GUID IID_IKsObject = {0x423c13a2, 0x2070, 0x11d0, {0x9e, 0xf7, 0x00, 0xaa, 0x00, 0xa2, 0x16, 0xa1}}

Definition at line 11 of file interface.cpp.

Referenced by CKsInterfaceHandler::KsSetPin().