GetHTMLOutputDir

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetHTMLOutputDir (BlackIceDEVMODE* pDevMode, LPTSTR pOutputDir, DWORD* pSize);

Description

Returns the path of the output directory of the HTML contents. If you print to HTML file format the contents of the HTML will be placed to the specified directory i.e. images on the HTML page.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pOutputDir                                    - string value for containing the full path of the HTML output directory.

DWORD* pSize                                            - pointer to variable that contains the length of the pOutputDir in bytes

Return value

TRUE on success, otherwise FALSE. If the size of the pOutputDir parameter is small the function returns FALSE and the pSize will contain the required memory size in bytes.

Programming Notes

None

Code Example

None