D3DX10GetImageInfoFromMemory function
Get information about an image already loaded into memory.
Syntax
HRESULT D3DX10GetImageInfoFromMemory(
_In_ LPCVOID pSrcData,
_In_ SIZE_T SrcDataSize,
_In_ ID3DX10ThreadPump *pPump,
_In_ D3DX10_IMAGE_INFO *pSrcInfo,
_Out_ HRESULT *pHResult
);
Parameters
-
pSrcData [in]
-
Type: LPCVOID
Pointer to the image in memory.
-
SrcDataSize [in]
-
Type: SIZE_T
Size of the image in memory, in bytes.
-
pPump [in]
-
Type: ID3DX10ThreadPump*
Optional thread pump that can be used to load the info asynchronously. Can be NULL. See ID3DX10ThreadPump.
-
pSrcInfo [in]
-
Type: D3DX10_IMAGE_INFO*
Information about the image in memory.
-
pHResult [out]
-
Type: HRESULT*
A pointer to the return value. May be NULL. If pPump is not NULL, then pHResult must be a valid memory location until the asynchronous execution completes.
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also