mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
815 B
51 lines
815 B
/***
|
|
*dispdemo.h
|
|
*
|
|
* Copyright (C) 1992-1994, Microsoft Corporation. All Rights Reserved.
|
|
* Information Contained Herein Is Proprietary and Confidential.
|
|
*
|
|
*Purpose:
|
|
* IDispatch Demo App definitions.
|
|
*
|
|
*Implementation Notes:
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#include "hostenv.h"
|
|
#include "resource.h"
|
|
#include "clsid.h"
|
|
|
|
#ifdef _MAC
|
|
# define UNUSED(X) ((void)(void*)&(X))
|
|
#else
|
|
# define UNUSED(X) (X)
|
|
#endif
|
|
|
|
#ifndef NEAR
|
|
# define NEAR
|
|
#endif
|
|
|
|
#define DIM(X) (sizeof(X) / sizeof(X[0]))
|
|
|
|
#define ASSERT(X) Assert(X, __FILE__, __LINE__)
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
STDAPI InitOle(void);
|
|
STDAPI UninitOle(void);
|
|
|
|
STDAPI DoPoly(CLSID);
|
|
|
|
void Assert(int, char FAR*, int);
|
|
|
|
#ifdef _MAC
|
|
void DbPrintf(char*, ...);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|