msdn (DirectX SDK) has a nice example http://msdn.microsoft.com/en-us/library/bb174602(VS.85).aspx
If you take a look at Constants Instancing and Shader Instancing the differences are really small. You don't need to do extra-fancy stuff.