#90 Patch to add win32api.GetICMProfile to pywin32 build 213

open
nobody
None
5
2009-04-04
2009-04-04
Florian Hoech
No

This patch allows to get the ICM profile filename of a given device context via win32api.GetICMProfile(hdc)

Discussion

  • Mark Hammond
    Mark Hammond
    2010-08-30

    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.