100 return datadir->
Size;
111 rva =
assembly->corhdr->MetaData.VirtualAddress;
static WCHAR * strdupW(const WCHAR *src)
PIMAGE_NT_HEADERS WINAPI ImageNtHeader(_In_ PVOID)
PVOID WINAPI ImageRvaToVa(_In_ PIMAGE_NT_HEADERS, _In_ PVOID, _In_ ULONG, _In_opt_ PIMAGE_SECTION_HEADER *)
#define INVALID_HANDLE_VALUE
#define CreateFileMappingW(a, b, c, d, e, f)
#define HeapFree(x, y, z)
#define FILE_ATTRIBUTE_NORMAL
static const WCHAR version[]
static const WCHAR Signature[]
HRESULT assembly_release(ASSEMBLY *assembly)
static HRESULT parse_metadata_header(ASSEMBLY *assembly, DWORD *hdrsz)
static HRESULT parse_pe_header(ASSEMBLY *assembly)
HRESULT assembly_get_runtime_version(ASSEMBLY *assembly, LPSTR *version)
static HRESULT parse_clr_metadata(ASSEMBLY *assembly)
HRESULT assembly_create(ASSEMBLY **out, LPCWSTR file)
struct tagCLRTABLE CLRTABLE
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
static HRESULT parse_headers(ASSEMBLY *assembly)
HRESULT assembly_from_hmodule(ASSEMBLY **out, HMODULE hmodule)
HRESULT assembly_get_vtable_fixups(ASSEMBLY *assembly, VTableFixup **fixups, DWORD *count)
static void * assembly_rva_to_va(ASSEMBLY *assembly, ULONG rva)
static ULONG assembly_datadir_get_data(ASSEMBLY *assembly, IMAGE_DATA_DIRECTORY *datadir, void **data)
struct _VTableFixup VTableFixup
_In_ ULONG _In_ ULONG Offset
#define IMAGE_NT_OPTIONAL_HDR64_MAGIC
#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR
IMAGE_COR20_HEADER * corhdr
METADATAHDR * metadatahdr
#define FIELD_OFFSET(t, f)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
DWORD WINAPI GetLastError(void)
_Reserved_ PVOID Reserved
#define HRESULT_FROM_WIN32(x)
_Must_inspect_result_ _In_ ULONG Flags