SetOrientation

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetOrientation(int Orientation, BlackIceDEVMODE* pDevMode);

Description

Sets the dmOrientation member of the DEVMODE. Sets the value of the 'Orientation' radio button.

Parameters

int Orientation                                               - Orientation (integer number) 1:Portrait,  2:Landscape.

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

Return value

TRUE if the member was successfully set, otherwise FALSE.

Programming Notes

None

Code Example

None