CreatFile on network printer on Vista

CreateFile called on shared network printer - like CreateFile(‘\host\printer’…) on Vista returns INVALID_HANDLE_VALUE with LastError 0x00000002 (The system cannot find the file specified). Works fine on XP. Is it possible to make it work on Vista?