SetDpi

Void WINAPI SetDpi(int hores, int vertres)

Sets the default values of the horizontal (hores) and vertical (vertres) resolutions in pixels per inch of the target device to be used in the generation of bitmap images. (Defaults to 600 dpi).

More:

GetDpi