GetPreviewWindowOverlay

 

 

#include “BlackIceDEVMODE.h”

 

BOOL             GetPreviewWindowOverlay (BlackIceDEVMODE* pBlackIceDevMode, LPTSTR pStr, DWORD* dwSize);

 

Description

 

Returns the full path to the preview overlay image. The overlay image is displayed on top of the preview. It is not placed on the final output document. The “Show Preview Window” option must be enabled. The overlay image is not scaled to the page size, the overlay must be the correct size for the selected paper size.

The supported file types are PNG (Including 32-bit transparent PNG files), Jpeg, BMP, and TIFF.

 

Parameters

 

BlackIceDEVMODE* pDevMode  

- Pointer to the BlackIceDEVMODE structure.

LPTSTR pStr                                

- Returns the full path to the overlay.

DWORD* dwSize                         

- Pointer to variable that contains the length of pStr in bytes.

 

Return value

 

TRUE on success, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None