SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns DEVMODE and DEVNAMES handles for the currently defined printer.
VB.NET | object.GetDeviceInfo(ByRef hDevNames As Integer, ByRef hDevMode As Integer, ByRef vOwned As Boolean) |
VB | object.GetDeviceInfo(hDevNames As Long, hDevMode As Long, vOwned As Boolean) |
C#.NET | void object.GetDeviceInfo(out int hDevNames, out int hDevMode, out bool vOwned); |
VC++ | HRESULT object->GetDeviceInfo(long* hDevNames, long* hDevMode, VARIANT_BOOL* vOwned); |
C | HRESULT object->raw_GetDeviceInfo(long* hDevNames, long* hDevMode, VARIANT_BOOL* vOwned); |
object
hDevNames
Returns the handle of a DEVNAMES structure defining the current printer.
hDevMode
Returns the handle of a DEVMODE structure defining the current printer.
vOwned
Returns True if the handles are owned by SftPrintPreview/OCX, False otherwise.
The GetDeviceInfo method returns DEVMODE and DEVNAMES handles for the currently defined printer.
DEVMODE and DEVNAMES handles are used by Windows to define the current printer and its settings.
See Also SftPrintPreview Object | Object Hierarchy