Share via


ISymUnmanagedDocumentWriter::SetSource Method

Sets embedded source for a document that is being written.

HRESULT SetSource(
    [in]  ULONG32  sourceSize,
    [in, size_is(sourceSize)] BYTE  source[]);

Parameters

  • sourceSize
    [in] A ULONG32 that contains the size of the source buffer.
  • source
    [in] The buffer that stores the embedded source.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedDocumentWriter Interface