Annotation of mstools/ole20/samples/spoly/spoly.h, revision 1.1

1.1     ! root        1: /*** 
        !             2: *spoly.h - Application-wide definitions
        !             3: *
        !             4: *  Copyright (C) 1992-93, Microsoft Corporation.  All Rights Reserved.
        !             5: *
        !             6: *Purpose:
        !             7: *
        !             8: *Implementation Notes:
        !             9: *
        !            10: *****************************************************************************/
        !            11: 
        !            12: #include "hostenv.h"
        !            13: #include "resource.h"
        !            14: #include "clsid.h"
        !            15: 
        !            16: #if defined(_MAC)
        !            17: # define PASCAL pascal
        !            18: # define STRSTR strstr
        !            19: #elif defined(WIN32)
        !            20: # include "statbar.h"
        !            21: # define STRSTR strstr
        !            22: #else /* WIN16 */
        !            23: # include "statbar.h"
        !            24: # define STRSTR _fstrstr
        !            25: #endif
        !            26: 
        !            27: #ifdef _MAC
        !            28: # define UNUSED(X) ((void)(void*)&(X))
        !            29: #else
        !            30: # define UNUSED(X) (X)
        !            31: #endif
        !            32: 
        !            33: #define DIM(X) (sizeof(X) / sizeof(X[0]))
        !            34: 
        !            35: extern "C" void Assert(int, char FAR*, int, char FAR*);
        !            36: #define ASSERT(X) Assert(X, __FILE__, __LINE__, NULL)
        !            37: #define ASSERTSZ(X, MSG) Assert(X, __FILE__, __LINE__, MSG)
        !            38: 
        !            39: 
        !            40: 
        !            41: // Description of a single named parameter.
        !            42: //
        !            43: typedef struct tagPARAMDESC {
        !            44:     char FAR* szName;          // parameter name
        !            45: } PARAMDESC;
        !            46: 
        !            47: // Description of a single member.
        !            48: //
        !            49: typedef struct tagMEMBERDESC {
        !            50:     char FAR* szName;          // member name
        !            51:     DISPID id;                 // member id
        !            52:     PARAMDESC FAR* rgpd;       // ptr to array of PARAMDESCs
        !            53:     unsigned int cParams;              // number of parameters
        !            54: } MEMBERDESC;
        !            55: 
        !            56: STDAPI
        !            57: SPolyGetIDsOfNames(
        !            58:     MEMBERDESC FAR* pmd,
        !            59:     unsigned int cMethods,
        !            60:     char FAR* FAR* rgszNames,
        !            61:     unsigned int cNames,
        !            62:     LCID lcid,
        !            63:     DISPID FAR* rgid);
        !            64: 
        !            65: 
        !            66: STDAPI InitOle();
        !            67: STDAPI UninitOle();
        !            68: 

unix.superglobalmegacorp.com

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