Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Preprocess source text. IDxcCompiler::Preprocess is deprecated; use IDxcCompiler3::Compile with the -P
argument instead.
Syntax
HRESULT Preprocess(
IDxcBlob *pSource,
LPCWSTR pSourceName,
LPCWSTR *pArguments,
UINT32 argCount,
const DxcDefine *pDefines,
UINT32 defineCount,
IDxcIncludeHandler *pIncludeHandler,
IDxcOperationResult **ppResult
);
Parameters
pSource
The source text to preprocess.
pSourceName
An optional file name for pSource. Used in errors and include handlers.
pArguments
An array of pointers to arguments.
argCount
The number of arguments.
pDefines
An array of defines.
defineCount
The number of defines.
pIncludeHandler
An optional user-provided interface to handle #include
directives.
ppResult
The preprocessor output status, buffer, and errors.
Requirements
Requirement | Value |
---|---|
Header | dxcapi.h |