mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
* include/oleauto.h (struct NUMPARSE, NUMPRS_...): add declarations for struct NUMPARSE
* include/oleauto.h (VarParseNumFromStr, VarNumFromParseNum): add function declarations svn path=/trunk/; revision=8478
This commit is contained in:
parent
099d7698c3
commit
01e0ab2caf
1 changed files with 28 additions and 0 deletions
|
@ -116,6 +116,23 @@
|
|||
#define VAR_CALENDAR_THAI 0x80
|
||||
#define VAR_CALENDAR_GREGORIAN 0x100
|
||||
|
||||
#define NUMPRS_LEADING_WHITE 0x00001
|
||||
#define NUMPRS_TRAILING_WHITE 0x00002
|
||||
#define NUMPRS_LEADING_PLUS 0x00004
|
||||
#define NUMPRS_TRAILING_PLUS 0x00008
|
||||
#define NUMPRS_LEADING_MINUS 0x00010
|
||||
#define NUMPRS_TRAILING_MINUS 0x00020
|
||||
#define NUMPRS_HEX_OCT 0x00040
|
||||
#define NUMPRS_PARENS 0x00080
|
||||
#define NUMPRS_DECIMAL 0x00100
|
||||
#define NUMPRS_THOUSANDS 0x00200
|
||||
#define NUMPRS_CURRENCY 0x00400
|
||||
#define NUMPRS_EXPONENT 0x00800
|
||||
#define NUMPRS_USE_ALL 0x01000
|
||||
#define NUMPRS_STD 0x01FFF
|
||||
#define NUMPRS_NEG 0x10000
|
||||
#define NUMPRS_INEXACT 0x20000
|
||||
|
||||
#include <oaidl.h>
|
||||
|
||||
typedef enum tagREGKIND {
|
||||
|
@ -142,6 +159,15 @@ typedef struct tagINTERFACEDATA {
|
|||
UINT cMembers;
|
||||
} INTERFACEDATA,*LPINTERFACEDATA;
|
||||
|
||||
typedef struct {
|
||||
int cDig;
|
||||
unsigned long dwInFlags;
|
||||
unsigned long dwOutFlags;
|
||||
int cchUsed;
|
||||
int nBaseShift;
|
||||
int nPwr10;
|
||||
} NUMPARSE;
|
||||
|
||||
WINOLEAUTAPI_(BSTR) SysAllocString(const OLECHAR*);
|
||||
WINOLEAUTAPI_(int) SysReAllocString(BSTR*,const OLECHAR*);
|
||||
WINOLEAUTAPI_(BSTR) SysAllocStringLen(const OLECHAR*,unsigned int);
|
||||
|
@ -292,6 +318,8 @@ WINOLEAUTAPI CreateErrorInfo(LPCREATEERRORINFO*);
|
|||
WINOLEAUTAPI_(unsigned long) OaBuildVersion(void);
|
||||
WINOLEAUTAPI VectorFromBstr (BSTR, SAFEARRAY **);
|
||||
WINOLEAUTAPI BstrFromVector (SAFEARRAY *, BSTR *);
|
||||
WINOLEAUTAPI VarParseNumFromStr(OLECHAR*,LCID,ULONG,NUMPARSE*,BYTE*);
|
||||
WINOLEAUTAPI VarNumFromParseNum(NUMPARSE*,BYTE*,ULONG,VARIANT*);
|
||||
|
||||
WINOLEAUTAPI VarAdd(LPVARIANT, LPVARIANT, LPVARIANT);
|
||||
WINOLEAUTAPI VarSub(LPVARIANT, LPVARIANT, LPVARIANT);
|
||||
|
|
Loading…
Reference in a new issue