Annotation of mstools/ole20/h/ole2anac.h, revision 1.1

1.1     ! root        1: // ole2anac.h - anachronisms for pre-release code
        !             2: 
        !             3: #if !defined( _OLE2ANAC_H_ )
        !             4: #define _OLE2ANAC_H_
        !             5: 
        !             6: #define IIDEQ(riid1, riid2) IsEqualIID(riid1, riid2)
        !             7: #define CLSIDEQ(rclsid1, rclsid2) IsEqualCLSID(rclsid1, rclsid2)
        !             8: 
        !             9: #define RetryRejectedCall RetryRejectedMessage
        !            10: 
        !            11: #ifndef WIN32
        !            12: #define FileTimeToDosDateTime(pft,pdd,pdt) CoFileTimeToDosDateTime(pft,pdd,pdt)
        !            13: #define DosDateTimeToFileTime(pdd,pdt,pft) CoDosDateTimeToFileTime(pdd,pdt,pft)
        !            14: #endif
        !            15: 
        !            16: typedef enum tagSTGSTATE
        !            17: {
        !            18:     STGSTATE_DOC         = 1,
        !            19:     STGSTATE_CONVERT     = 2,
        !            20:     STGSTATE_FILESTGSAME = 4
        !            21: } STGSTATE;
        !            22: 
        !            23: 
        !            24: #define MK_E_EXCEEDED_DEADLINE      MK_E_EXCEEDEDDEADLINE
        !            25: #define MK_E_NEED_GENERIC           MK_E_NEEDGENERIC
        !            26: #define MK_E_INVALID_EXTENSION      MK_E_INVALIDEXTENSION 
        !            27: #define MK_E_INTERMEDIATE_INTERFACE_NOT_SUPPORTED \
        !            28:     MK_E_INTERMEDIATEINTERFACENONOT_SUPPORTED
        !            29: #define MK_E_NOT_BINDABLE           MK_E_NOTBINDABLE 
        !            30: #define S_TRUE                      S_OK
        !            31: 
        !            32: 
        !            33: #define OLEMETHODCALLTYPE       STDMETHODCALLTYPE
        !            34: #define OLEAPICALLTYPE          STDAPICALLTYPE
        !            35: 
        !            36: #define OLEAPI                  STDAPI
        !            37: #define OLEAPI_(type)           STDAPI_(type)
        !            38: 
        !            39: #define OLEMETHOD(method)       STDMETHOD(method)
        !            40: #define OLEMETHOD_(type,method) STDMETHOD_(type,method)
        !            41: 
        !            42: #define OLEMETHODIMP            STDMETHODIMP
        !            43: #define OLEMETHODIMP_(type)     STDMETHODIMP_(type)
        !            44: 
        !            45: #ifdef WIN32
        !            46: #define OLESTATIC_(type) static type __cdecl
        !            47: #define OLESTATICIMP_(type) type __cdecl
        !            48: #else
        !            49: #define OLESTATIC_(type) static type __export
        !            50: #define OLESTATICIMP_(type) type __export
        !            51: #endif
        !            52: 
        !            53: #define E_BLANK             OLE_E_BLANK
        !            54: #define E_STATIC            OLE_E_STATIC
        !            55: #define E_NOTRUNNING        OLE_E_NOTRUNNING
        !            56: #define E_FORMAT            DV_E_CLIPFORMAT
        !            57: #define E_UNSPEC            E_FAIL
        !            58: #define OLE_E_CLSID         REGDB_E_CLASSNOTREG
        !            59: #define OLE_E_NOTSUPPORTED  E_NOTIMPL
        !            60: #define OLE_E_REGDB_KEY     REGDB_E_KEYMISSING
        !            61: #define OLE_E_REGDB_FMT     REGDB_E_INVALIDVALUE
        !            62: 
        !            63: 
        !            64: #define OLEVERB_PRIMARY     OLEIVERB_PRIMARY
        !            65: #define OLEVERB_SHOW        OLEIVERB_SHOW
        !            66: 
        !            67: #define DAdvise Advise
        !            68: #define DUnadvise Unadvise
        !            69: #define EnumDAdvise EnumAdvise
        !            70: 
        !            71: 
        !            72: // these DDE error codes are not returned anymore; these definitions are
        !            73: // here just to make existing code compile without changes.
        !            74: #define RPC_E_DDE_FIRST    MAKE_SCODE(SEVERITY_ERROR, FACILITY_RPC,  0x100)
        !            75: 
        !            76: #define RPC_E_DDE_BUSY              (RPC_E_DDE_FIRST + 0x0)         
        !            77: #define RPC_E_DDE_CANT_UPDATE       (RPC_E_DDE_FIRST + 0x1)
        !            78: #define RPC_E_DDE_INIT              (RPC_E_DDE_FIRST + 0x2)
        !            79: #define RPC_E_DDE_NACK              (RPC_E_DDE_FIRST + 0x3)
        !            80: #define RPC_E_DDE_LAUNCH            (RPC_E_DDE_FIRST + 0x4)
        !            81: #define RPC_E_DDE_POST              (RPC_E_DDE_FIRST + 0x5)
        !            82: #define RPC_E_DDE_PROTOCOL          (RPC_E_DDE_FIRST + 0x6)
        !            83: #define RPC_E_DDE_REVOKE            (RPC_E_DDE_FIRST + 0x7)
        !            84: #define RPC_E_DDE_SYNTAX_EXECUTE    (RPC_E_DDE_FIRST + 0x8)
        !            85: #define RPC_E_DDE_SYNTAX_ITEM       (RPC_E_DDE_FIRST + 0x9)
        !            86: #define RPC_E_DDE_UNEXP_MSG     (RPC_E_DDE_FIRST + 0xa)
        !            87: #define RPC_E_DDE_DATA              (RPC_E_DDE_FIRST + 0xb)
        !            88: 
        !            89: 
        !            90: #define RPC_E_CONNECTION_LOST           (RPC_E_FIRST + 0x6)         
        !            91: #define RPC_E_BUSY                      (RPC_E_FIRST + 0x0)         
        !            92: #define RPC_E_MSG_REJECTED              (RPC_E_FIRST + 0x1)         
        !            93: #define RPC_E_CANCELLED                 (RPC_E_FIRST + 0x2)         
        !            94: #define RPC_E_DISPATCH_ASYNCCALL        (RPC_E_FIRST + 0x4)         
        !            95: 
        !            96: 
        !            97: #endif // _OLE2ANAC_H_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.