Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a buffer.
Note Instead of using this function, we recommend that you use the D3DCreateBlob API.
Syntax
HRESULT D3D10CreateBlob(
[in] SIZE_T NumBytes,
[out] LPD3D10BLOB *ppBuffer
);
Parameters
[in] NumBytes
Type: SIZE_T
Number of bytes in the blob.
[out] ppBuffer
Type: LPD3D10BLOB*
The address of a pointer to the buffer (see ID3D10Blob Interface).
Return value
Type: HRESULT
This method returns one of the following Direct3D 10 Return Codes.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d10misc.h |
| Library | D3D10.lib |
| DLL | D3D10.dll |