mediaTypeIdxth available media type, on the specified printer.
mediaTypeIdx must be between 0 and n-1, where n is the
value returned by
The media type name will be returned in
buf on success, or
NULL on failure.
pdfGetMediaTypeID are just simple wrappers around Windows functions.
There is no requirement to use these functions if you already know the
media type ID that you want to use (e.g., from