SetDIBDPI

#include "BIDIB.H"

 

BOOL CALLBACK SetDIBDPI(HANDLE hDib, UINT xDPI, UINT yDPI)

Description

This function specifies the horizontal and vertical DPI values of the device independent bitmap.

Parameters

HANDLE

HDib

Handle of the DIB.

UINT

xDPI

Horizontal DPI.

UINT

yDPI

Vertical DPI.

Return values

TRUE on success. If the parameters are not valid, the return value is FALSE.

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :             BiDIB.dll.