ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MinGW/include/objsafe.h
Revision: 1046
Committed: Mon Aug 29 13:19:38 2016 UTC (9 years, 1 month ago) by alloc
Content type: text/x-chdr
File size: 549 byte(s)
Log Message:
Daodan: Added Windows MinGW and build batch file

File Contents

# Content
1 #ifndef _OBJSAFE_H
2 #define _OBJSAFE_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 #define INTERFACESAFE_FOR_UNTRUSTED_CALLER 0x00000001
12 #define INTERFACESAFE_FOR_UNTRUSTED_DATA 0x00000002
13
14 EXTERN_C const IID IID_IObjectSafety;
15 #define INTERFACE IObjectSafety
16 DECLARE_INTERFACE_(IObjectSafety,IUnknown)
17 {
18 STDMETHOD(GetInterfaceSafetyOptions)(THIS_ REFIID,DWORD*,DWORD*) PURE;
19 STDMETHOD(SetInterfaceSafetyOptions)(THIS_ REFIID,DWORD,DWORD) PURE;
20 };
21 #undef INTERFACE
22
23 #ifdef __cplusplus
24 }
25 #endif
26 #endif