D3D10CreateBlob function

Create a buffer.

Note  Instead of using this function, we recommend that you use the D3DCreateBlob API.
 

Syntax

HRESULT D3D10CreateBlob(
  SIZE_T      NumBytes,
  LPD3D10BLOB *ppBuffer
);

Parameters

NumBytes

Type: SIZE_T

Number of bytes in the blob.

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

   
Target Platform Windows
Header d3d10misc.h
Library D3D10.lib
DLL D3D10.dll

See Also

Core Functions