diff options
| author | 2023-12-12 11:41:26 -0500 | |
|---|---|---|
| committer | 2023-12-12 11:41:26 -0500 | |
| commit | ff489bd82ff313bcfd7dc2ab585ed31cec909ebd (patch) | |
| tree | 300e031693a5ddb990a32068ab0596382349aeea /tcc/include/winapi/objsafe.h | |
| parent | init (diff) | |
fix software to compile properly on Windows XP x86
Diffstat (limited to 'tcc/include/winapi/objsafe.h')
| -rw-r--r-- | tcc/include/winapi/objsafe.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tcc/include/winapi/objsafe.h b/tcc/include/winapi/objsafe.h new file mode 100644 index 0000000..ffab650 --- /dev/null +++ b/tcc/include/winapi/objsafe.h @@ -0,0 +1,26 @@ +#ifndef _OBJSAFE_H +#define _OBJSAFE_H +#if __GNUC__ >=3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 0x00000001 +#define INTERFACESAFE_FOR_UNTRUSTED_DATA 0x00000002 + +EXTERN_C const IID IID_IObjectSafety; +#define INTERFACE IObjectSafety +DECLARE_INTERFACE_(IObjectSafety,IUnknown) +{ + STDMETHOD(GetInterfaceSafetyOptions)(THIS_ REFIID,DWORD*,DWORD*) PURE; + STDMETHOD(SetInterfaceSafetyOptions)(THIS_ REFIID,DWORD,DWORD) PURE; +}; +#undef INTERFACE + +#ifdef __cplusplus +} +#endif +#endif |
