GetSelectedPages

 

#include “BlackIceDEVMODE.h”

 

BOOL GetSelectedPages(BlackIceDEVMODE* pBlackIceDevMode, LPTSTR pValue, DWORD* pSize)

 

Description

 

Returns the list of pages that are printed if the Print Selected Pages Only feature is turned on. For example: “1,2,5-12”

 

Parameters

 

BlackIceDEVMODE* pDevMode 

- pointer to the BlackIceDEVMODE structure.

LPTSTR pValue

- buffer for the string containing the list of pages.

DWORD* pSize

- pointer to variable that contains the length of pValue in bytes.

 

Return value

 

TRUE on success, FALSE otherwise.

 

Programming Notes

 

None

 

Code Example

 

None