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