ReactOS 0.4.16-dev-297-gc569aee
basicaudio.cpp File Reference
#include "precomp.h"
Include dependency graph for basicaudio.cpp:

Go to the source code of this file.

Classes

class  CKsBasicAudio
 

Functions

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

Function Documentation

◆ CKsBasicAudio_Constructor()

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

Definition at line 272 of file basicaudio.cpp.

276{
277#ifdef KSPROXY_TRACE
278 OutputDebugStringW(L"CKsBasicAudio_Constructor\n");
279#endif
280
282
283 if (!handler)
284 return E_OUTOFMEMORY;
285
286 if (FAILED(handler->QueryInterface(riid, ppv)))
287 {
288 /* not supported */
289 delete handler;
290 return E_NOINTERFACE;
291 }
292
293 return NOERROR;
294}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7512
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