Windows API Guide: CreateDirectory Function


Type DEVNAMES   wDriverOffset As Integer   wDeviceOffset As Integer   wOutputOffset As Integer   wDefault As Integer   extra As String * 100 End Type

DEVNAMES-type variables store some information about a device. This information includes the device driver name, the device name, and the names of any output ports it uses. Note that instead of storing strings in the usual way, this structure puts all three strings into extra, where null characters separate them. The offset values specify the location of these strings in extra, measured in bytes from the beginning of the structure. For example, the very first character in extra would have an offset of 8. See the example for the PrintDlg function for a demonstration of using this structure.

wDriverOffset
The offset of the string in extra identifying the name of the device driver filename (without the extension).
wDeviceOffset
The offset of the string in extra identifying the name of the device.
wOutputOffset
The offset of the string in extra identifying the output port(s) which the device uses, separated by commas.
wDefault
If non-zero, the information in the structure identifies the default device of its type. If zero, the information does not necessarily descibe the default device.
extra
Buffer which holds the three strings identified by wDriverOffset, wDeviceOffset, and wOutputOffset.

Used by: PRINTDLG_TYPE

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/d/devnames.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net