msxml3: Replace macro with another enum entry.
This commit is contained in:
parent
ca48dac882
commit
b148063031
@ -644,6 +644,8 @@ static inline HRESULT variant_from_dt(XDR_DT dt, xmlChar* str, VARIANT* v)
|
|||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
handled = TRUE;
|
handled = TRUE;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
WARN("unknown type %d\n", dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!handled)
|
if (!handled)
|
||||||
|
@ -124,9 +124,9 @@ typedef enum _XDR_DT {
|
|||||||
DT_UI4,
|
DT_UI4,
|
||||||
DT_UI8,
|
DT_UI8,
|
||||||
DT_URI,
|
DT_URI,
|
||||||
DT_UUID
|
DT_UUID,
|
||||||
|
LAST_DT
|
||||||
} XDR_DT;
|
} XDR_DT;
|
||||||
#define DT__N_TYPES (DT_UUID+1)
|
|
||||||
|
|
||||||
extern HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
|
extern HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
|
||||||
extern void release_typelib(void) DECLSPEC_HIDDEN;
|
extern void release_typelib(void) DECLSPEC_HIDDEN;
|
||||||
|
@ -391,7 +391,7 @@ static DWORD dt_hash_bstr(OLECHAR const* bstr, int len /* calculated if -1 */)
|
|||||||
return hval;
|
return hval;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const xmlChar *const DT_string_table[DT__N_TYPES] =
|
static const xmlChar *const DT_string_table[LAST_DT] =
|
||||||
{
|
{
|
||||||
DT_bin_base64,
|
DT_bin_base64,
|
||||||
DT_bin_hex,
|
DT_bin_hex,
|
||||||
@ -431,7 +431,7 @@ static const xmlChar *const DT_string_table[DT__N_TYPES] =
|
|||||||
DT_uuid
|
DT_uuid
|
||||||
};
|
};
|
||||||
|
|
||||||
static const WCHAR *const DT_wstring_table[DT__N_TYPES] =
|
static const WCHAR *const DT_wstring_table[LAST_DT] =
|
||||||
{
|
{
|
||||||
wDT_bin_base64,
|
wDT_bin_base64,
|
||||||
wDT_bin_hex,
|
wDT_bin_hex,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user