IDxcCompilerArgs structure (dxcapi.h)
An interface for managing arguments passed to DXC.
To create an instance of this interface, call IDxcUtils::BuildArguments.
Syntax
struct IDxcCompilerArgs : IUnknown {
LPCWSTR * GetArguments();
UINT32 GetCount();
HRESULT AddArguments(
LPCWSTR *pArguments,
UINT32 argCount
);
HRESULT AddArgumentsUTF8(
LPCSTR *pArguments,
UINT32 argCount
);
HRESULT AddDefines(
const DxcDefine *pDefines,
UINT32 defineCount
);
};
Inheritance
The IDxcCompilerArgs structure implements IUnknown.
Requirements
Requirement | Value |
---|---|
Header | dxcapi.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for