ReactOS 0.4.15-dev-7958-gcd0bb1a
proxy.cpp File Reference
#include "precomp.h"
Include dependency graph for proxy.cpp:

Go to the source code of this file.

Classes

class  CKsProxy
 

Functions

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

Variables

const GUID IID_IPersistPropertyBag = {0x37D84F60, 0x42CB, 0x11CE, {0x81, 0x35, 0x00, 0xAA, 0x00, 0x4B, 0xB8, 0x51}}
 
const GUID IID_ISpecifyPropertyPages = {0xB196B28B, 0xBAB4, 0x101A, {0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}}
 
const GUID IID_IPersistStream = {0x00000109, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 
const GUID IID_IPersist = {0x0000010c, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 
const GUID IID_IBDA_DeviceControl = {0xFD0A5AF3, 0xB41D, 0x11d2, {0x9C, 0x95, 0x00, 0xC0, 0x4F, 0x79, 0x71, 0xE0}}
 
const GUID IID_IKsAggregateControl = {0x7F40EAC0, 0x3947, 0x11D2, {0x87, 0x4E, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}
 
const GUID IID_IKsClockPropertySet = {0x5C5CBD84, 0xE755, 0x11D0, {0xAC, 0x18, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}
 
const GUID IID_IKsTopology = {0x28F54683, 0x06FD, 0x11D2, {0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}
 
const GUID IID_IKsClock = {0x877E4351, 0x6FEA, 0x11D0, {0xB8, 0x63, 0x00, 0xAA, 0x00, 0xA2, 0x16, 0xA1}}
 

Function Documentation

◆ CKsProxy_Constructor()

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

Definition at line 3159 of file proxy.cpp.

3163{
3164#ifdef KSPROXY_TRACE
3165 WCHAR Buffer[100];
3166 LPOLESTR pstr;
3167 StringFromCLSID(riid, &pstr);
3168 swprintf(Buffer, L"CKsProxy_Constructor pUnkOuter %p riid %s\n", pUnkOuter, pstr);
3170#endif
3171
3172 CKsProxy * handler = new CKsProxy();
3173
3174 if (!handler)
3175 return E_OUTOFMEMORY;
3176
3177 if (FAILED(handler->QueryInterface(riid, ppv)))
3178 {
3179 /* not supported */
3180 delete handler;
3181 return E_NOINTERFACE;
3182 }
3183
3184 return S_OK;
3185}
Definition: bufpool.h:45
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7482
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
#define swprintf
Definition: precomp.h:40
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 S_OK
Definition: intsafe.h:52
#define FAILED(hr)
Definition: intsafe.h:51
static LPOLESTR
Definition: stg_prop.c:27
#define L(x)
Definition: ntvdm.h:50
#define E_NOINTERFACE
Definition: winerror.h:2364
__wchar_t WCHAR
Definition: xmlstorage.h:180

Variable Documentation

◆ IID_IBDA_DeviceControl

const GUID IID_IBDA_DeviceControl = {0xFD0A5AF3, 0xB41D, 0x11d2, {0x9C, 0x95, 0x00, 0xC0, 0x4F, 0x79, 0x71, 0xE0}}

Definition at line 15 of file proxy.cpp.

◆ IID_IKsAggregateControl

const GUID IID_IKsAggregateControl = {0x7F40EAC0, 0x3947, 0x11D2, {0x87, 0x4E, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}

◆ IID_IKsClock

const GUID IID_IKsClock = {0x877E4351, 0x6FEA, 0x11D0, {0xB8, 0x63, 0x00, 0xAA, 0x00, 0xA2, 0x16, 0xA1}}

Definition at line 19 of file proxy.cpp.

Referenced by CKsProxy::QueryInterface(), and CKsProxy::SetSyncSource().

◆ IID_IKsClockPropertySet

const GUID IID_IKsClockPropertySet = {0x5C5CBD84, 0xE755, 0x11D0, {0xAC, 0x18, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}

Definition at line 17 of file proxy.cpp.

Referenced by CKsProxy::QueryInterface().

◆ IID_IKsTopology

const GUID IID_IKsTopology = {0x28F54683, 0x06FD, 0x11D2, {0xB2, 0x7A, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}}

Definition at line 18 of file proxy.cpp.

Referenced by CKsProxy::QueryInterface().

◆ IID_IPersist

const GUID IID_IPersist = {0x0000010c, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}

Definition at line 14 of file proxy.cpp.

Referenced by AntiMonikerImpl_QueryInterface(), AsyncReader_QueryInterface(), AtlGetObjectSourceInterface(), AVICompressor_QueryInterface(), AviMux_QueryInterface(), BaseFilterImpl_QueryInterface(), ClassMoniker_QueryInterface(), CompositeMonikerImpl_QueryInterface(), DataCache_NDIUnknown_QueryInterface(), debugstr_mshtml_guid(), DefaultHandler_NDIUnknown_QueryInterface(), DEVENUM_IMediaCatMoniker_QueryInterface(), Dispatch_QueryInterface(), FileMonikerImpl_QueryInterface(), FilterGraphInner_QueryInterface(), htmldoc_qi(), ItemMonikerImpl_QueryInterface(), IUnknown_GetClassID(), local_server_QueryInterface(), MediaStreamFilterImpl_QueryInterface(), MetadataHandler_QueryInterface(), MimeBody_QueryInterface(), MimeMessage_QueryInterface(), Moniker_QueryInterface(), MonikerNoROTData_QueryInterface(), MPEGSplitter_QueryInterface(), OLEFontImpl_QueryInterface(), OLEPictureImpl_QueryInterface(), Parser_QueryInterface(), PointerMonikerImpl_QueryInterface(), CQITestObject::QueryInterface(), CKsProxy::QueryInterface(), SEALED_::queryInterface(), SampleGrabber_QueryInterface(), START_TEST(), test_BindToObject(), test_desktop_IPersist(), test_GetItemObject(), test_iface_ptr(), test_local_server(), test_moniker_QueryInterface(), test_OleCreateStaticFromData(), test_persist_GetClassId(), test_persist_QueryInterface(), test_persiststream(), test_samplegrabber(), test_storage_stream(), TestFilter_QueryInterface(), testpersist_QI(), unknown_inner_QueryInterface(), Unknown_QueryInterface(), URLMoniker_QueryInterface(), and WebBrowser_QueryInterface().

◆ IID_IPersistPropertyBag

◆ IID_IPersistStream

◆ IID_ISpecifyPropertyPages

const GUID IID_ISpecifyPropertyPages = {0xB196B28B, 0xBAB4, 0x101A, {0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07}}