13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DestroyWindowReturn valueThe return value specifies whether or not the specified window isdestroyed. It is nonzero if the window is destroyed. Otherwise, it is zero.DeviceCapabilities 3.0SyntaxDWORD DeviceCapabilities(lpDeviceName,lpPort, nlndex,lpOutput,IpDevMode)type TDeviceCapabilities = function(DeviceName, Port:PChar;Index:Word, Output:PChar; var DevMode:TDevMode): Longint;This function retrieves the capabilities of the printer device driver.Parameters lpDeviceName LPSTR Points to a null-terminated character string thatcontains the name of the printer device, such as "PCL/HPLaserJet."lpPartnlndexLPSTR Points to a null-terminated character string thatcontains the name of the port to which the device isconnected, such as LPT1:.WORD Specifies the capabilities to query. It can be anyone of the following values:ValueDC_BINNAMESMeaningCopies a structure identical tothat returned by theENUMPAPERBINS escape. Aprinter driver does not need tosupport this index if it has onlybins corresponding to predefinedindexes, in which case no data iscopied and the return value is O.If the index is supported, thereturn value is the number ofbins copied. If lpOutput is NULL,the return value is the number ofbin entries required.Retrieves a list of available bins.The function copies the list tolpOutput as a WORD array. IfIpOutput is NULL, the functionreturns the number of supportedbins to allow the application the232Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!