IPrintOemUni::GetImplementedMethod method

The IPrintOemUni::GetImplementedMethod method is used by Unidrv to determine which IPrintOemUni interface methods a rendering plug-in has implemented.


HRESULT GetImplementedMethod(
  PSTR 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).


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:















Target Platform Desktop
Header prcomoem.h (include Prcomoem.h)