Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e331b0c8
Commit
e331b0c8
authored
Sep 19, 2011
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Add missing typedefs.
parent
4072d20f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
0 deletions
+72
-0
corhdr.h
include/corhdr.h
+72
-0
No files found.
include/corhdr.h
View file @
e331b0c8
...
...
@@ -49,10 +49,82 @@ typedef enum CorTokenType
mdtBaseType
=
0x72000000
,
}
CorTokenType
;
typedef
enum
CorElementType
{
ELEMENT_TYPE_END
=
0x00
,
ELEMENT_TYPE_VOID
=
0x01
,
ELEMENT_TYPE_BOOLEAN
=
0x02
,
ELEMENT_TYPE_CHAR
=
0x03
,
ELEMENT_TYPE_I1
=
0x04
,
ELEMENT_TYPE_U1
=
0x05
,
ELEMENT_TYPE_I2
=
0x06
,
ELEMENT_TYPE_U2
=
0x07
,
ELEMENT_TYPE_I4
=
0x08
,
ELEMENT_TYPE_U4
=
0x09
,
ELEMENT_TYPE_I8
=
0x0a
,
ELEMENT_TYPE_U8
=
0x0b
,
ELEMENT_TYPE_R4
=
0x0c
,
ELEMENT_TYPE_R8
=
0x0d
,
ELEMENT_TYPE_STRING
=
0x0e
,
ELEMENT_TYPE_PTR
=
0x0f
,
ELEMENT_TYPE_BYREF
=
0x10
,
ELEMENT_TYPE_VALUETYPE
=
0x11
,
ELEMENT_TYPE_CLASS
=
0x12
,
ELEMENT_TYPE_VAR
=
0x13
,
ELEMENT_TYPE_ARRAY
=
0x14
,
ELEMENT_TYPE_GENERICINST
=
0x15
,
ELEMENT_TYPE_TYPEDBYREF
=
0x16
,
ELEMENT_TYPE_I
=
0x18
,
ELEMENT_TYPE_U
=
0x19
,
ELEMENT_TYPE_FNPTR
=
0x1b
,
ELEMENT_TYPE_OBJECT
=
0x1c
,
ELEMENT_TYPE_SZARRAY
=
0x1d
,
ELEMENT_TYPE_MVAR
=
0x1e
,
ELEMENT_TYPE_CMOD_REQD
=
0x1f
,
ELEMENT_TYPE_CMOD_OPT
=
0x20
,
ELEMENT_TYPE_INTERNAL
=
0x21
,
ELEMENT_TYPE_MAX
=
0x22
,
ELEMENT_TYPE_MODIFIER
=
0x40
,
ELEMENT_TYPE_SENTINEL
=
0x01
|
ELEMENT_TYPE_MODIFIER
,
ELEMENT_TYPE_PINNED
=
0x05
|
ELEMENT_TYPE_MODIFIER
,
ELEMENT_TYPE_R4_HFA
=
0x06
|
ELEMENT_TYPE_MODIFIER
,
ELEMENT_TYPE_R8_HFA
=
0x07
|
ELEMENT_TYPE_MODIFIER
,
}
CorElementType
;
#define RidToToken(rid,tktype) ((rid) |= (tktype))
#define TokenFromRid(rid,tktype) ((rid) | (tktype))
#define RidFromToken(tk) ((RID)((tk) & 0x00ffffff))
#define TypeFromToken(tk) ((ULONG32)((tk) & 0xff000000))
#define IsNilToken(tk) ((RidFromToken(tk)) == 0)
typedef
LPVOID
mdScope
;
typedef
ULONG32
mdToken
;
typedef
mdToken
mdModule
;
typedef
mdToken
mdTypeRef
;
typedef
mdToken
mdTypeDef
;
typedef
mdToken
mdFieldDef
;
typedef
mdToken
mdMethodDef
;
typedef
mdToken
mdParamDef
;
typedef
mdToken
mdInterfaceImpl
;
typedef
mdToken
mdMemberRef
;
typedef
mdToken
mdCustomAttribute
;
typedef
mdToken
mdPermission
;
typedef
mdToken
mdSignature
;
typedef
mdToken
mdEvent
;
typedef
mdToken
mdProperty
;
typedef
mdToken
mdModuleRef
;
typedef
mdToken
mdAssembly
;
typedef
mdToken
mdAssemblyRef
;
typedef
mdToken
mdFile
;
typedef
mdToken
mdExportedType
;
typedef
mdToken
mdManifestResource
;
typedef
mdToken
mdTypeSpec
;
typedef
mdToken
mdGenericParam
;
typedef
mdToken
mdMethodSpec
;
typedef
mdToken
mdGenericParamConstraint
;
typedef
mdToken
mdString
;
typedef
mdToken
mdCPToken
;
#endif
/* __WINE_CORHDR_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment