|
|
1.1 root 1: /***
2: *dispdemo.h
3: *
4: * Copyright (C) 1992, Microsoft Corporation. All Rights Reserved.
5: * Information Contained Herein Is Proprietary and Confidential.
6: *
7: *Purpose:
8: * IDispatch Demo App definitions.
9: *
10: *Implementation Notes:
11: *
12: *****************************************************************************/
13:
14: #include "hostenv.h"
15: #include "resource.h"
16: #include "clsid.h"
17:
18: #ifdef _MAC
19: # define UNUSED(X) ((void)(void*)&(X))
20: #else
21: # define UNUSED(X) (X)
22: #endif
23:
24: #ifndef NEAR
25: # define NEAR
26: #endif
27:
28: #define DIM(X) (sizeof(X) / sizeof(X[0]))
29:
30: #define ASSERT(X) ChkAssert(X, __FILE__, __LINE__)
31:
32:
33: #ifdef __cplusplus
34: extern "C" {
35: #endif
36:
37: STDAPI InitOle(void);
38: STDAPI UninitOle(void);
39:
40: STDAPI DoPoly(CLSID);
41:
42: void
43: ChkAssert(int, char*, int);
44:
45: #ifdef _MAC
46: void DbPrintf(char*, ...);
47: #endif
48:
49: #ifdef __cplusplus
50: }
51: #endif
52:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.