ReactOS  0.4.15-dev-499-g1f31905
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_NOINTERFACE
Definition: winerror.h:2364
#define NOERROR
Definition: winerror.h:2354
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glext.h:7005

Referenced by CNetworkProvider::QueryInterface().