This patch allows to get the ICM profile filename of a given device context via win32api.GetICMProfile(hdc)
Sorry for the delay but this patch has a couple of minor issues:
* Function pointers are declared but not used. It seems you can probably get away with avoiding them as MSDN says these functions are available in early windows versions.
* The implementation should raise a win32api error if it fails.