Changeset 10884


Ignore:
Timestamp:
Jul 4, 1999, 9:37:53 AM (26 years ago)
Author:
sandervl
Message:

OLE32 fixes for CINTERFACE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/include/win/wtypes.h

    r10645 r10884  
    1 /* $Id: wtypes.h,v 1.1 1999-05-24 20:19:23 ktk Exp $ */
    2 
    31/*
    42 * Defines the basic types used by COM interfaces.
     
    5452typedef GUID    IID,*LPIID;
    5553typedef GUID    FMTID,*LPFMTID;
    56 #ifdef __cplusplus
     54#if defined(__cplusplus) && !defined(CINTERFACE)
    5755#define REFGUID             const GUID &
    5856#define REFCLSID            const CLSID &
    5957#define REFIID              const IID &
    6058#define REFFMTID            const FMTID &
    61 #else /* !defined(__cplusplus) */
     59#else /* !defined(__cplusplus) && !defined(CINTERFACE) */
    6260#define REFGUID             const GUID* const
    6361#define REFCLSID            const CLSID* const
    6462#define REFIID              const IID* const
    6563#define REFFMTID            const FMTID* const
    66 #endif /* !defined(__cplusplus) */
     64#endif /* !defined(__cplusplus) && !defined(CINTERFACE) */
    6765
    6866extern const IID GUID_NULL;
     67#define IID_NULL            GUID_NULL
    6968#define CLSID_NULL GUID_NULL
     69#define FMTID_NULL          GUID_NULL
    7070   
    7171typedef enum tagDVASPECT
     
    135135typedef ULONG PROPID;
    136136
     137#ifndef _tagBLOB_DEFINED
     138#define _tagBLOB_DEFINED
     139#define _BLOB_DEFINED
     140#define _LPBLOB_DEFINED
    137141typedef struct tagBLOB
    138142{
    139143    ULONG cbSize;
    140144    BYTE *pBlobData;
    141 } BLOB;
     145} BLOB, *LPBLOB;
     146#endif
    142147
    143148#ifndef _tagCY_DEFINED
Note: See TracChangeset for help on using the changeset viewer.