]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Graphics / Direct3D / Fxc / mod.rs
1 #[link(name = "windows")]
2 extern "system" {
3 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
4 pub fn D3DCompile(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
5 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
6 pub fn D3DCompile2(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, secondarydataflags: u32, psecondarydata: *const ::core::ffi::c_void, secondarydatasize: usize, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
7 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
8 pub fn D3DCompileFromFile(pfilename: ::windows_sys::core::PCWSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
9 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
10 pub fn D3DCompressShaders(unumshaders: u32, pshaderdata: *const D3D_SHADER_DATA, uflags: u32, ppcompresseddata: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
11 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
12 pub fn D3DCreateBlob(size: usize, ppblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
13 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"]
14 #[cfg(feature = "Win32_Graphics_Direct3D11")]
15 pub fn D3DCreateFunctionLinkingGraph(uflags: u32, ppfunctionlinkinggraph: *mut super::super::Direct3D11::ID3D11FunctionLinkingGraph) -> ::windows_sys::core::HRESULT;
16 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"]
17 #[cfg(feature = "Win32_Graphics_Direct3D11")]
18 pub fn D3DCreateLinker(pplinker: *mut super::super::Direct3D11::ID3D11Linker) -> ::windows_sys::core::HRESULT;
19 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
20 pub fn D3DDecompressShaders(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, unumshaders: u32, ustartindex: u32, pindices: *const u32, uflags: u32, ppshaders: *mut super::ID3DBlob, ptotalshaders: *mut u32) -> ::windows_sys::core::HRESULT;
21 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
22 pub fn D3DDisassemble(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows_sys::core::PCSTR, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
23 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D10\"`*"]
24 #[cfg(feature = "Win32_Graphics_Direct3D10")]
25 pub fn D3DDisassemble10Effect(peffect: super::super::Direct3D10::ID3D10Effect, flags: u32, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
26 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
27 pub fn D3DDisassembleRegion(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows_sys::core::PCSTR, startbyteoffset: usize, numinsts: usize, pfinishbyteoffset: *mut usize, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
28 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
29 pub fn D3DGetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, pppart: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
30 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
31 pub fn D3DGetDebugInfo(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppdebuginfo: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
32 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
33 pub fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
34 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
35 pub fn D3DGetInputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
36 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
37 pub fn D3DGetOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ppsignatureblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
38 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
39 pub fn D3DGetTraceInstructionOffsets(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, startinstindex: usize, numinsts: usize, poffsets: *mut usize, ptotalinsts: *mut usize) -> ::windows_sys::core::HRESULT;
40 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"]
41 #[cfg(feature = "Win32_Graphics_Direct3D11")]
42 pub fn D3DLoadModule(psrcdata: *const ::core::ffi::c_void, cbsrcdatasize: usize, ppmodule: *mut super::super::Direct3D11::ID3D11Module) -> ::windows_sys::core::HRESULT;
43 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
44 pub fn D3DPreprocess(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, psourcename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, ppcodetext: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
45 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
46 pub fn D3DReadFileToBlob(pfilename: ::windows_sys::core::PCWSTR, ppcontents: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
47 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
48 pub fn D3DReflect(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, pinterface: *const ::windows_sys::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
49 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
50 pub fn D3DReflectLibrary(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, riid: *const ::windows_sys::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
51 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
52 pub fn D3DSetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, ppart: *const ::core::ffi::c_void, partsize: usize, ppnewshader: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
53 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
54 pub fn D3DStripShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ustripflags: u32, ppstrippedblob: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT;
55 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Foundation\"`*"]
56 #[cfg(feature = "Win32_Foundation")]
57 pub fn D3DWriteBlobToFile(pblob: super::ID3DBlob, pfilename: ::windows_sys::core::PCWSTR, boverwrite: super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
58 }
59 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
60 pub const D3DCOMPILER_DLL_A: &str = "d3dcompiler_47.dll";
61 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
62 pub const D3DCOMPILER_DLL_W: &str = "d3dcompiler_47.dll";
63 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
64 pub type D3DCOMPILER_STRIP_FLAGS = i32;
65 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
66 pub const D3DCOMPILER_STRIP_REFLECTION_DATA: D3DCOMPILER_STRIP_FLAGS = 1i32;
67 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
68 pub const D3DCOMPILER_STRIP_DEBUG_INFO: D3DCOMPILER_STRIP_FLAGS = 2i32;
69 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
70 pub const D3DCOMPILER_STRIP_TEST_BLOBS: D3DCOMPILER_STRIP_FLAGS = 4i32;
71 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
72 pub const D3DCOMPILER_STRIP_PRIVATE_DATA: D3DCOMPILER_STRIP_FLAGS = 8i32;
73 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
74 pub const D3DCOMPILER_STRIP_ROOT_SIGNATURE: D3DCOMPILER_STRIP_FLAGS = 16i32;
75 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
76 pub const D3DCOMPILER_STRIP_FORCE_DWORD: D3DCOMPILER_STRIP_FLAGS = 2147483647i32;
77 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
78 pub const D3DCOMPILE_ALL_RESOURCES_BOUND: u32 = 2097152u32;
79 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
80 pub const D3DCOMPILE_AVOID_FLOW_CONTROL: u32 = 512u32;
81 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
82 pub const D3DCOMPILE_DEBUG: u32 = 1u32;
83 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
84 pub const D3DCOMPILE_DEBUG_NAME_FOR_BINARY: u32 = 8388608u32;
85 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
86 pub const D3DCOMPILE_DEBUG_NAME_FOR_SOURCE: u32 = 4194304u32;
87 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
88 pub const D3DCOMPILE_EFFECT_ALLOW_SLOW_OPS: u32 = 2u32;
89 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
90 pub const D3DCOMPILE_EFFECT_CHILD_EFFECT: u32 = 1u32;
91 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
92 pub const D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY: u32 = 4096u32;
93 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
94 pub const D3DCOMPILE_ENABLE_STRICTNESS: u32 = 2048u32;
95 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
96 pub const D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES: u32 = 1048576u32;
97 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
98 pub const D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_0: u32 = 16u32;
99 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
100 pub const D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_1: u32 = 32u32;
101 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
102 pub const D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_LATEST: u32 = 0u32;
103 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
104 pub const D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT: u32 = 128u32;
105 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
106 pub const D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT: u32 = 64u32;
107 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
108 pub const D3DCOMPILE_IEEE_STRICTNESS: u32 = 8192u32;
109 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
110 pub const D3DCOMPILE_NO_PRESHADER: u32 = 256u32;
111 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
112 pub const D3DCOMPILE_OPTIMIZATION_LEVEL0: u32 = 16384u32;
113 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
114 pub const D3DCOMPILE_OPTIMIZATION_LEVEL1: u32 = 0u32;
115 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
116 pub const D3DCOMPILE_OPTIMIZATION_LEVEL3: u32 = 32768u32;
117 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
118 pub const D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR: u32 = 16u32;
119 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
120 pub const D3DCOMPILE_PACK_MATRIX_ROW_MAJOR: u32 = 8u32;
121 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
122 pub const D3DCOMPILE_PARTIAL_PRECISION: u32 = 32u32;
123 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
124 pub const D3DCOMPILE_PREFER_FLOW_CONTROL: u32 = 1024u32;
125 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
126 pub const D3DCOMPILE_RESERVED16: u32 = 65536u32;
127 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
128 pub const D3DCOMPILE_RESERVED17: u32 = 131072u32;
129 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
130 pub const D3DCOMPILE_RESOURCES_MAY_ALIAS: u32 = 524288u32;
131 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
132 pub const D3DCOMPILE_SECDATA_MERGE_UAV_SLOTS: u32 = 1u32;
133 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
134 pub const D3DCOMPILE_SECDATA_PRESERVE_TEMPLATE_SLOTS: u32 = 2u32;
135 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
136 pub const D3DCOMPILE_SECDATA_REQUIRE_TEMPLATE_MATCH: u32 = 4u32;
137 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
138 pub const D3DCOMPILE_SKIP_OPTIMIZATION: u32 = 4u32;
139 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
140 pub const D3DCOMPILE_SKIP_VALIDATION: u32 = 2u32;
141 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
142 pub const D3DCOMPILE_WARNINGS_ARE_ERRORS: u32 = 262144u32;
143 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
144 pub type D3D_BLOB_PART = i32;
145 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
146 pub const D3D_BLOB_INPUT_SIGNATURE_BLOB: D3D_BLOB_PART = 0i32;
147 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
148 pub const D3D_BLOB_OUTPUT_SIGNATURE_BLOB: D3D_BLOB_PART = 1i32;
149 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
150 pub const D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB: D3D_BLOB_PART = 2i32;
151 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
152 pub const D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB: D3D_BLOB_PART = 3i32;
153 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
154 pub const D3D_BLOB_ALL_SIGNATURE_BLOB: D3D_BLOB_PART = 4i32;
155 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
156 pub const D3D_BLOB_DEBUG_INFO: D3D_BLOB_PART = 5i32;
157 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
158 pub const D3D_BLOB_LEGACY_SHADER: D3D_BLOB_PART = 6i32;
159 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
160 pub const D3D_BLOB_XNA_PREPASS_SHADER: D3D_BLOB_PART = 7i32;
161 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
162 pub const D3D_BLOB_XNA_SHADER: D3D_BLOB_PART = 8i32;
163 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
164 pub const D3D_BLOB_PDB: D3D_BLOB_PART = 9i32;
165 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
166 pub const D3D_BLOB_PRIVATE_DATA: D3D_BLOB_PART = 10i32;
167 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
168 pub const D3D_BLOB_ROOT_SIGNATURE: D3D_BLOB_PART = 11i32;
169 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
170 pub const D3D_BLOB_DEBUG_NAME: D3D_BLOB_PART = 12i32;
171 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
172 pub const D3D_BLOB_TEST_ALTERNATE_SHADER: D3D_BLOB_PART = 32768i32;
173 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
174 pub const D3D_BLOB_TEST_COMPILE_DETAILS: D3D_BLOB_PART = 32769i32;
175 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
176 pub const D3D_BLOB_TEST_COMPILE_PERF: D3D_BLOB_PART = 32770i32;
177 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
178 pub const D3D_BLOB_TEST_COMPILE_REPORT: D3D_BLOB_PART = 32771i32;
179 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
180 pub const D3D_COMPILER_VERSION: u32 = 47u32;
181 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
182 pub const D3D_COMPRESS_SHADER_KEEP_ALL_PARTS: u32 = 1u32;
183 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
184 pub const D3D_DISASM_DISABLE_DEBUG_INFO: u32 = 16u32;
185 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
186 pub const D3D_DISASM_ENABLE_COLOR_CODE: u32 = 1u32;
187 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
188 pub const D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTS: u32 = 2u32;
189 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
190 pub const D3D_DISASM_ENABLE_INSTRUCTION_CYCLE: u32 = 8u32;
191 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
192 pub const D3D_DISASM_ENABLE_INSTRUCTION_NUMBERING: u32 = 4u32;
193 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
194 pub const D3D_DISASM_ENABLE_INSTRUCTION_OFFSET: u32 = 32u32;
195 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
196 pub const D3D_DISASM_INSTRUCTION_ONLY: u32 = 64u32;
197 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
198 pub const D3D_DISASM_PRINT_HEX_LITERALS: u32 = 128u32;
199 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
200 pub const D3D_GET_INST_OFFSETS_INCLUDE_NON_EXECUTABLE: u32 = 1u32;
201 #[repr(C)]
202 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
203 pub struct D3D_SHADER_DATA {
204 pub pBytecode: *const ::core::ffi::c_void,
205 pub BytecodeLength: usize,
206 }
207 impl ::core::marker::Copy for D3D_SHADER_DATA {}
208 impl ::core::clone::Clone for D3D_SHADER_DATA {
209 fn clone(&self) -> Self {
210 *self
211 }
212 }
213 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
214 pub type pD3DCompile = ::core::option::Option<unsafe extern "system" fn(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, pfilename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, pentrypoint: ::windows_sys::core::PCSTR, ptarget: ::windows_sys::core::PCSTR, flags1: u32, flags2: u32, ppcode: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT>;
215 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
216 pub type pD3DDisassemble = ::core::option::Option<unsafe extern "system" fn(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, szcomments: ::windows_sys::core::PCSTR, ppdisassembly: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT>;
217 #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"]
218 pub type pD3DPreprocess = ::core::option::Option<unsafe extern "system" fn(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, pfilename: ::windows_sys::core::PCSTR, pdefines: *const super::D3D_SHADER_MACRO, pinclude: super::ID3DInclude, ppcodetext: *mut super::ID3DBlob, pperrormsgs: *mut super::ID3DBlob) -> ::windows_sys::core::HRESULT>;