D3DReflectLibrary function
Creates a library-reflection interface from source data that contains an HLSL library of functions.
Syntax
HRESULT WINAPI D3DReflectLibrary( _In_ LPCVOID pSrcData, _In_ SIZE_T SrcDataSize, _In_ REFIID riid, _Out_ LPVOID *ppReflector );
Parameters
- pSrcData [in]
-
Type: LPCVOID
A pointer to source data as an HLSL library of functions.
- SrcDataSize [in]
-
Type: SIZE_T
The size, in bytes, of the block of memory that pSrcData points to.
- riid [in]
-
Type: REFIID
The reference GUID of the COM interface to use. For example, IID_ID3D11LibraryReflection.
- ppReflector [out]
-
Type: LPVOID*
A pointer to a variable that receives a pointer to a library-reflection interface, ID3D11LibraryReflection.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Remarks
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also