forked from pmazzocchi/QuantLibAddin-Old
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathframewrk.hpp
49 lines (42 loc) · 1.34 KB
/
framewrk.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
///***************************************************************************
// File: FRAMEWRK.H
//
// Purpose: Header file for Framework library
//
// Platform: Microsoft Windows
//
// Comments:
// Include this file in any source files
// that use the framework library.
//
// From the Microsoft Excel Developer's Kit, Version 8
// Copyright (c) 1997 Microsoft Corporation. All rights reserved.
///***************************************************************************
#ifndef xlsdk_framewrk_hpp
#define xlsdk_framewrk_hpp
#include <string>
//
// Total amount of memory to allocate for all temporary XLOPERs
//
#define MEMORYSIZE 1024
//
// Function prototypes
//
void far __cdecl debugPrintf(LPSTR lpFormat, ...);
LPSTR GetTempMemory(int cBytes);
void FreeAllTempMemory(void);
void __cdecl Excel(int xlfn, LPXLOPER pxResult, int count, ...);
LPXLOPER TempNum(double d);
//LPXLOPER TempStr(LPSTR lpstr);
LPXLOPER TempStrNoSize(LPSTR lpstr);
LPXLOPER TempStrStl(const std::string &s);
LPXLOPER TempBool(int b);
LPXLOPER TempInt(short int i);
LPXLOPER TempActiveRef(WORD rwFirst,WORD rwLast,BYTE colFirst,BYTE colLast);
LPXLOPER TempActiveCell(WORD rw, BYTE col);
LPXLOPER TempActiveRow(WORD rw);
LPXLOPER TempActiveColumn(BYTE col);
LPXLOPER TempErr(WORD i);
LPXLOPER TempMissing(void);
LPXLOPER TempNil();
#endif