General Purpose Functions

D3DX supplies the following general purpose functions: