Add UUID pointer values

This commit is contained in:
gingerBill
2022-02-17 13:14:21 +00:00
parent 75e15b05b0
commit f138f71fa6
3 changed files with 170 additions and 88 deletions
+5 -1
View File
@@ -109,18 +109,22 @@ SHADER_MACRO :: struct {
Definition: cstring,
}
ID3D10Blob_UUID_STRING :: "8BA5FB08-5195-40E2-AC58-0D989C3A0102"
ID3D10Blob_UUID := &IID{0x8BA5FB08, 0x5195, 0x40E2, {0xAC, 0x58, 0x0D, 0x98, 0x9C, 0x3A, 0x01, 0x02}}
ID3D10Blob :: struct {
#subtype iunknown: IUnknown,
using id3d10blob_vtable: ^ID3D10Blob_VTable,
}
ID3D10Blob_VTable :: struct {
using iunknown_vtable: IUnknown_VTable,
GetBufferPointer: proc "stdcall" (this: ^ID3D10Blob),
GetBufferPointer: proc "stdcall" (this: ^ID3D10Blob) -> rawptr,
GetBufferSize: proc "stdcall" (this: ^ID3D10Blob) -> SIZE_T,
}
ID3DBlob :: ID3D10Blob
ID3DBlob_VTable :: ID3D10Blob_VTable
INCLUDE_TYPE :: enum i32 {
INCLUDE_LOCAL = 0,