ReactOS 0.4.16-dev-319-g6cf4263
ipv6.cpp File Reference
#include "precomp.h"
Include dependency graph for ipv6.cpp:

Go to the source code of this file.

Classes

class  CIPV6Filter
 

Functions

HRESULT WINAPI CIPV6Filter_fnConstructor (IBDA_NetworkProvider *pNetworkProvider, REFIID riid, LPVOID *ppv)
 

Function Documentation

◆ CIPV6Filter_fnConstructor()

HRESULT WINAPI CIPV6Filter_fnConstructor ( IBDA_NetworkProvider pNetworkProvider,
REFIID  riid,
LPVOID ppv 
)

Definition at line 149 of file ipv6.cpp.

153{
154 CIPV6Filter * filter = new CIPV6Filter(pNetworkProvider);
155
156 if (!filter)
157 return E_OUTOFMEMORY;
158
159 if (FAILED(filter->QueryInterface(riid, ppv)))
160 {
161 /* not supported */
162 delete filter;
163 return E_NOINTERFACE;
164 }
165
166 return NOERROR;
167}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:7005
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define FAILED(hr)
Definition: intsafe.h:51
#define E_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354

Referenced by CNetworkProvider::QueryInterface().