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 
)
921 {
922  if (null != 0) {
923  _com_issue_error(E_POINTER);
924  }
925 
926  return p != NULL;
927 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator!= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
930 {
931  return p != i;
932 }
int i[4]
Definition: dvec.h:70
template<typename _Interface >
bool operator< ( int  null,
const _com_ptr_t< _Interface > &  p 
)
935 {
936  if (null != 0) {
937  _com_issue_error(E_POINTER);
938  }
939 
940  return p > NULL;
941 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator< ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
944 {
945  return p > i;
946 }
int i[4]
Definition: dvec.h:70
template<typename _Interface >
bool operator<= ( int  null,
const _com_ptr_t< _Interface > &  p 
)
963 {
964  if (null != 0) {
965  _com_issue_error(E_POINTER);
966  }
967 
968  return p >= NULL;
969 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator<= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
972 {
973  return p >= i;
974 }
int i[4]
Definition: dvec.h:70
template<typename _InterfaceType >
bool operator== ( int  null,
const _com_ptr_t< _InterfaceType > &  p 
)
907 {
908  if (null != 0) {
909  _com_issue_error(E_POINTER);
910  }
911 
912  return p == NULL;
913 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator== ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
916 {
917  return p == i;
918 }
int i[4]
Definition: dvec.h:70
template<typename _Interface >
bool operator> ( int  null,
const _com_ptr_t< _Interface > &  p 
)
949 {
950  if (null != 0) {
951  _com_issue_error(E_POINTER);
952  }
953 
954  return p < NULL;
955 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator> ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
958 {
959  return p < i;
960 }
int i[4]
Definition: dvec.h:70
template<typename _Interface >
bool operator>= ( int  null,
const _com_ptr_t< _Interface > &  p 
)
977 {
978  if (null != 0) {
979  _com_issue_error(E_POINTER);
980  }
981 
982  return p <= NULL;
983 }
void __stdcall _com_issue_error(HRESULT)
#define NULL
Definition: crtdbg.h:30
template<typename _Interface , typename _InterfacePtr >
bool operator>= ( _Interface *  i,
const _com_ptr_t< _InterfacePtr > &  p 
)
986 {
987  return p <= i;
988 }
int i[4]
Definition: dvec.h:70