STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
comip.h File Reference
#include <ole2.h>
#include <malloc.h>
#include <comutil.h>
#include <new.h>

Go to the source code of this file.

Classes

class  _com_IIID< _Interface, _IID >
 
class  _com_ptr_t< _IIID >
 

Macros

#define _INC_COMIP
 

Functions

void __stdcall _com_issue_error (HRESULT)
 
struct __declspec (uuid("00000000-0000-0000-c000-000000000046")) IUnknown
 
template<typename _InterfaceType >
bool operator== (int null, const _com_ptr_t< _InterfaceType > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator== (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 
template<typename _Interface >
bool operator!= (int null, const _com_ptr_t< _Interface > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator!= (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 
template<typename _Interface >
bool operator< (int null, const _com_ptr_t< _Interface > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator< (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 
template<typename _Interface >
bool operator> (int null, const _com_ptr_t< _Interface > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator> (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 
template<typename _Interface >
bool operator<= (int null, const _com_ptr_t< _Interface > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator<= (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 
template<typename _Interface >
bool operator>= (int null, const _com_ptr_t< _Interface > &p)
 
template<typename _Interface , typename _InterfacePtr >
bool operator>= (_Interface *i, const _com_ptr_t< _InterfacePtr > &p)
 

Macro Definition Documentation

#define _INC_COMIP

Function Documentation

struct __declspec ( uuid("00000000-0000-0000-c000-000000000046")  )
void __stdcall _com_issue_error ( HRESULT  )
template<typename _Interface >
bool operator!= ( int  null,
const _com_ptr_t< _Interface > &  p 
)
957 {
958  if (null != 0) {
959  _com_issue_error(E_POINTER);
960  }
961 
962  return p != NULL;
963 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator!= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
966 {
967  return p != i;
968 }
int i[4]
Definition: dvec.h:68
template<typename _Interface >
bool operator< ( int  null,
const _com_ptr_t< _Interface > &  p 
)
971 {
972  if (null != 0) {
973  _com_issue_error(E_POINTER);
974  }
975 
976  return p > NULL;
977 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator< ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
980 {
981  return p > i;
982 }
int i[4]
Definition: dvec.h:68
template<typename _Interface >
bool operator<= ( int  null,
const _com_ptr_t< _Interface > &  p 
)
999 {
1000  if (null != 0) {
1001  _com_issue_error(E_POINTER);
1002  }
1003 
1004  return p >= NULL;
1005 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator<= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
1008 {
1009  return p >= i;
1010 }
int i[4]
Definition: dvec.h:68
template<typename _InterfaceType >
bool operator== ( int  null,
const _com_ptr_t< _InterfaceType > &  p 
)
943 {
944  if (null != 0) {
945  _com_issue_error(E_POINTER);
946  }
947 
948  return p == NULL;
949 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator== ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
952 {
953  return p == i;
954 }
int i[4]
Definition: dvec.h:68
template<typename _Interface >
bool operator> ( int  null,
const _com_ptr_t< _Interface > &  p 
)
985 {
986  if (null != 0) {
987  _com_issue_error(E_POINTER);
988  }
989 
990  return p < NULL;
991 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator> ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
994 {
995  return p < i;
996 }
int i[4]
Definition: dvec.h:68
template<typename _Interface >
bool operator>= ( int  null,
const _com_ptr_t< _Interface > &  p 
)
1013 {
1014  if (null != 0) {
1015  _com_issue_error(E_POINTER);
1016  }
1017 
1018  return p <= NULL;
1019 }
#define NULL
Definition: vcruntime.h:236
void __stdcall _com_issue_error(HRESULT)
template<typename _Interface , typename _InterfacePtr >
bool operator>= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
1022 {
1023  return p <= i;
1024 }
int i[4]
Definition: dvec.h:68