Direct3DCreate9

This function will create a IDirect3D9 object and return an inheritence to it.

Syntax
IDirect3D9 * Direct3DCreate9(  UINT SDKVersion );

Parameters
SDKVersion - The value of the SDK version, most likely D3D_SDK_VERSION.

Return Values
It will return the IDirect3D9 object if it succeded. NULL if it did not.

Requirements
Header: d3d9.h

Library: d3d9.lib