C language function:AssociateColorProfileWithDevice sample codes

Search sample code in the internet.It is the result.

TITLE : AssociateColorProfileWithDevice function (Windows)
BOOL WINAPI AssociateColorProfileWithDevice(.......

TITLE : Set ICM Profile
I test all the functions and i dont have any error, but it seems that the AssociateColorProfileWithDevice() Func is the only one that not working. and I still dosent have any error when i run the program........
search Google