IPrintCoreHelperPS::EnumFeatures method

The IPrintCoreHelperPS::EnumFeatures method gets a list of all available features, including synthesized and core driver-implement features.

Syntax

HRESULT EnumFeatures(
  PCSTR * [] pFeatureList,
  DWORD      *pdwNumFeatures
);

Parameters

pFeatureList

A pointer to an array of ANSI character strings that contain all of the features that are available for the current device. The final array element is indicated by a NULL string.

pdwNumFeatures

A pointer to a variable that receives the number of feature keywords in the array that is pointed to by the pFeatureList parameter.

Return Value

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

Requirements

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

See Also

IPrintCoreHelperPS

IPrintCoreHelperPS::EnumOptions