Share via


ISymUnmanagedWriter::DefineDocument Method

Defines a source document. GUIDs are provided for known languages, vendors, and document types.

HRESULT DefineDocument(
    [in]  const WCHAR  *url,
    [in]  const GUID   *language,
    [in]  const GUID   *languageVendor,
    [in]  const GUID   *documentType,
    [out, retval] ISymUnmanagedDocumentWriter**  pRetVal);

Parameters

  • url
    [in] A pointer to a WCHAR that defines the uniform resource locator (URL) that identifies the document.

  • language
    [in] A pointer to a GUID that defines the document language.

  • languageVendor
    [in] A pointer to a GUID that defines the identity of the vendor for the document language.

  • documentType
    [in] A pointer to a GUID that defines the type of the document.

  • pRetVal
    [out] A pointer to the returned ISymUnmanagedWriter interface.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Concepts

ISymUnmanagedWriter Interface