NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrinterSettings.GetHDEVMODE ()

Creates a handle to a DEVMODE structure which correspond too the printer settings. When you are done with the handle, you must deallocate it yourself: Windows.GlobalFree(handle); Where "handle" is the return value from this method.

[Visual Basic]
Overloads Public Function GetHDEVMODE() As Integer
[C#]
public int GetHDEVMODE();
[C++]
public: int GetHDEVMODE();
[JScript]
public function GetHDEVMODE() : int;

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | PrinterSettings.GetHDEVMODE Overload List