please dont rip this site Prev Next

EnumPrintProcessorDatatypes info  Overview  Group

The EnumPrintProcessorDatatypes function enumerates the data types that a specifed print processor supports.

BOOL EnumPrintProcessorDatatypes(

    LPTSTR pName,

// points to server name string

    LPTSTR pPrintProcessorName,

// points to print processor name string 

    DWORD Level,

// specifies version of print processor data type structures

    LPBYTE pDatatypes,

// points to buffer to receive print processor data type structures

    DWORD cbBuf,

// specifies size, in bytes, of buffer

    LPDWORD pcbNeeded,

// points to number of bytes copied (or required)

    LPDWORD pcReturned 

// points to number of data structures obtained



Points to a null-terminated string that specifies the name of the server on which the print processor resides. If this parameter is NULL, the data types for the local print processor are enumerated.
Points to a null-terminated string that specifies the name of the print processor whose data types are to be enumerated.
Specifies the version of the print-processor data type structures to be stored in the buffer pointed to by pDatatypes. This parameter must be 1.
Points to an array of DATATYPES_INFO_1 structures. One structure is created for each available data type.
Specifies the size, in bytes, of the buffer pointed to by pDatatypes.
Points to a variable to receive the total size, in bytes, of the array of DATATYPES_INFO_1 structures.

If this value is less than or equal to cbBuf and the function succeeds, this is the number of bytes stored in the buffer pointed to by pDatatypes. If this number is greater than cbBuf, the buffer is too small, and you must call the function again with a buffer size at least as large as *pcbNeeded.

Points to a variable that the function sets to the number of data structures stored in the buffer pointed to by pDatatypes.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

DATATYPES_INFO_1, EnumPrintProcessors

See also:

file: /Techref/os/win/api/win32/func/src/f21_5.htm, 4KB, , updated: 2000/4/7 12:19, local time: 2022/5/21 16:03,

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> EnumPrintProcessorDatatypes</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host, Top posters @20220521
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!