IPrintOemUni::GetImplementedMethod method (prcomoem.h)
The IPrintOemUni::GetImplementedMethod
method is used by Unidrv to determine which IPrintOemUni interface methods a rendering plug-in has implemented.
Syntax
HRESULT GetImplementedMethod(
PSTR pMethodName
);
Parameters
pMethodName
Caller-supplied pointer to a string that represents the name of an IPrintOemUni interface method, such as "ImageProcessing" for IPrintOemUni::ImageProcessing or "FilterGraphics" for IPrintOemUni::FilterGraphics.
Return value
GetImplementedMethod
must return one of the following values.
Return code | Description |
---|---|
|
The operation succeeded (that is, the specified method is implemented). |
|
The operation failed (that is, the specified method is not implemented). |
Remarks
A rendering plug-in for Unidrv must implement the IPrintOemUni::GetImplementedMethod
method, together with several other methods in this interface. For those methods that are optional, IPrintOemUni::GetImplementedMethod
examines the input method name string and returns a value that indicates whether the associated method is implemented within the plug-in. For example, if IPrintOemUni::GetImplementedMethod
is called with the string "ImageProcessing", it should return S_OK if the IPrintOemUni::ImageProcessing method is implemented and S_FALSE otherwise.
The IPrintOemUni::GetImplementedMethod
method must recognize the following name strings:
"CommandCallback"
"Compression"
"DownloadCharGlyph"
"DownloadFontHeader"
"FilterGraphics"
"HalftonePattern"
"ImageProcessing"
"MemoryUsage"
"OutputCharStr"
"SendFontCmd"
"TextOutAsBitmap"
"TTDownloadMethod"
"TTYGetInfo"
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | prcomoem.h (include Prcomoem.h) |