yeah, you have to use it in an *.fx file and add it to a material by writing

 Code:
MATERIAL* materialsName =
{
   effect="nameOfShader.fx";
}


(but that i did already in the given code)