How can I load and render an object from a DirectX (.x) file using Direct3D IM?

Sample code would be great. (I don't have the SDK, so please copy/paste the code in your reply or send it as an e-mail attachment to [email protected] .)

Thanks!