defines.h
Upload User: hxb_1234
Upload Date: 2010-03-30
Package Size: 8328k
Code Size: 0k
Development Platform:

Visual C++

  1. // Helper macros
  2. #define SAFE_RELEASE(x) {if(x){(x)->Release();(x)=NULL;}}
  3. #define SAFE_FREE_STRING(x) {if(x){SysFreeString(x);(x)=NULL;}}
  4. // User Define RTC Event
  5. #define WM_RTC_EVENT      WM_USER+100
  6. #define QCIF_CX_SIZE  176
  7. #define QCIF_CY_SIZE  144
  8. #define QQCIF_CX_SIZE (QCIF_CX_SIZE/2)
  9. #define QQCIF_CY_SIZE (QCIF_CY_SIZE/2)
  10. struct SESSION_DATA {
  11. BSTR bstrName;
  12. BSTR bstrURI;
  13. };