Creates a Script Enumeration Object, initializes it with the specified SCRIPTINFO constants, and retrieves the corresponding IEnumScript interface.
Syntax
HRESULT EnumScripts(
DWORD dwFlags,
LANGID LangId,
IEnumScript **ppEnumScript
);
Parameters
- dwFlags
- [in] Unsigned long integer value that contains the flags that control the enumeration. These flags are found in SCRIPTFONTCONTF.
- LangId
- [in] LANGID that specifies the language that should be associated with the scripts.
- ppEnumScript
- [out] Address of a pointer to the IEnumScript interface of the enumeration object.
Return Value
Returns S_OK if successful, or an error code otherwise.