|Microsoft DirectX 9.0|
Closes an include file. If ID3DXInclude::Open was successful, ID3DXInclude::Close is guaranteed to be called before the application programming interface (API) using this interface returns.
LPCVOID pData );
- [in] Pointer that was returned by the corresponding ID3DXInclude::Open call.
The return values of this method are implemented by an application programmer. In general, the method show be programmed to return D3D_OK if no error occurs. Otherwise the method should return any error message which will cause the calling function (such as D3DXCompileShader) to return an error. One of the most common error returns is E_OUTOFMEMORY.