..msdn Add comment W32 Constants Translate this page
The EnumForms function enumerates the forms supported by the specified printer.|
HANDLE hPrinter, // handle to printer object
DWORD Level, // data level
LPBYTE pForm, // form information buffer
DWORD cbBuf, // size of form information buffer
LPDWORD pcbNeeded, // bytes received or required
LPDWORD pcReturned // number of forms received
DECLARE INTEGER EnumForms IN winspool.drv;
INTEGER @ pcbNeeded,;
INTEGER @ pcReturned
[in] Handle to the printer for which the forms should be enumerated.
[in] Specifies the version of the structure to which pForm points. This value must be 1.
[out] Pointer to a FORM_INFO_1 structure.
[in] Specifies the size, in bytes, of the buffer to which pForm points.
[out] Pointer to a variable that receives the number of bytes copied to or the number of bytes required for the array to which pForm points.
[out] Pointer to a variable that receives the number of FORM_INFO_1 structures copied into the array to which pForm points.
|If the function succeeds, the return value is a nonzero value.|
|Word Index links for the EnumForms :|
|Translate this page:|
Visited in last 7 days: 33
|Created: ||2003-02-24 15:09:06|
|Modified: ||2003-02-24 15:11:06|