IPrintCoreHelperUni::EnumOptions method

The IPrintCoreHelperUni::EnumOptions method gets a list of available options for the given feature.

Syntax

HRESULT EnumOptions(
  PCSTR      pszFeatureKeyword,
  PCSTR * [] pOptionList,
  DWORD      *pdwNumOptions
);

Parameters

pszFeatureKeyword

An ANSI character string that contains the feature whose options are requested.

pOptionList

pdwNumOptions

A pointer to a variable that receives the number of options in the option array that is pointed to by the pOptionList parameter.

Return Value

IPrintCoreHelperUni::EnumOptions should return S_OK if the operation succeeds. Otherwise, this method should return a standard COM error code.

Remarks

When IPrintCoreHelperUni::EnumOptions returns, the option list contains all options, regardless of constraints or other factors.

Requirements

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

See Also

IPrintCoreHelperUni

IPrintCoreHelperUni::EnumConstrainedOptions

IPrintCoreHelperUni::EnumFeatures