MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / GetInterface

Function GetInterface

common/baseclasses/combase.cpp:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 performing a thread safe AddRef as necessary */
215
216STDAPI GetInterface(LPUNKNOWN pUnk, __out void **ppv)
217{
218 CheckPointer(ppv, E_POINTER);
219 *ppv = pUnk;
220 pUnk->AddRef();
221 return NOERROR;
222}
223
224/* Compares two interfaces and returns TRUE if they are on the same object */
225

Calls 1

AddRefMethod · 0.45

Tested by

no test coverage detected