SetFileGenerationMethod

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetFileGenerationMethod(DWORD fnamegen, BlackIceDEVMODE* pDevMode);

Description

Sets the FileNameGenerationFlags member of the BlackIceDEVMODE. Sets the value of the 'File Name Generation Method' combo box.

Parameters

DWORD fnamegen                                     - File Name Generation Method (DWORD number).

 

Use this prefix and extension

0

Prefix and extension from the registry

1

Prefix and extension from INI file

2

Exact filename

3

Exact Filename from registry

4

Exact Filename from INI

5

Use document’s name

6

Custom file naming

7

Use the document name with the output directory from the INI file

8

Use filename from page content

9

 

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

Return value

TRUE if the member was successfully set, otherwise FALSE.

Programming Notes

None

Code Example

None