ReactOS  0.4.13-dev-544-gede3fdd
datatype.cpp File Reference
#include "precomp.h"
Include dependency graph for datatype.cpp:

Go to the source code of this file.

Classes

class  CKsDataTypeHandler
 

Functions

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

Variables

const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 
const GUID IID_IClassFactory = {0x00000001, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
 

Function Documentation

◆ CKsDataTypeHandler_Constructor()

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

Definition at line 228 of file datatype.cpp.

232 {
233 #ifdef KSPROXY_TRACE
234  OutputDebugStringW(L"CKsDataTypeHandler_Constructor\n");
235 #endif
236 
238 
239  if (!handler)
240  return E_OUTOFMEMORY;
241 
242  if (FAILED(handler->QueryInterface(riid, ppv)))
243  {
244  /* not supported */
245  delete handler;
246  return E_NOINTERFACE;
247  }
248 
249  return NOERROR;
250 }
#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
static const WCHAR L[]
Definition: oid.c:1250
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7786

Variable Documentation

◆ IID_IClassFactory

const GUID IID_IClassFactory = {0x00000001, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}

Definition at line 13 of file datatype.cpp.

◆ IID_IUnknown

const GUID IID_IUnknown = {0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}

Definition at line 12 of file datatype.cpp.

Referenced by CKsDataTypeHandler::QueryInterface().