Compartir a través de


VCMidlTool Interface

Definition

Programmatically accesses the properties in the MIDL folder of a project's Property Pages dialog box.

public interface class VCMidlTool
public interface class VCMidlTool
__interface VCMidlTool
[System.Runtime.InteropServices.Guid("2D745B8B-C934-47BD-BA16-EC0514AE4914")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface VCMidlTool
[<System.Runtime.InteropServices.Guid("2D745B8B-C934-47BD-BA16-EC0514AE4914")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type VCMidlTool = interface
Public Interface VCMidlTool
Attributes

Remarks

See Working with Project Properties for information about how to access a project's Property Pages dialog box.

Properties

AdditionalIncludeDirectories

Gets or sets one or more directories to add to the include path.

AdditionalOptions

Gets or sets options to add to the end of the command line immediately before the file name(s). An example is if an option is not supported in the object model.

CPreprocessOptions

Gets or sets a C-compiler preprocessor option to pass to the MIDL compiler.

DefaultCharType

Gets or sets the default MIDL char type.

DLLDataFileName

Gets or sets the name of the DLLDATA file; default is dlldata.c.

EnableErrorChecks

Gets or sets checks error-checking option. If you select Custom, only selected error-checking options occur during compilation.

ErrorCheckAllocations

Gets or sets a value indicating whether to check for out-of-memory errors.

ErrorCheckBounds

Gets or sets a value indicating an error check of size versus transmission length specifications.

ErrorCheckEnumRange

Gets or sets a value indicating whether to error check that enumeration values are in allowable range.

ErrorCheckRefPointers

Gets or sets a value indicating whether to error check reference pointers for NULL.

ErrorCheckStubData

Gets or sets a value indicating whether to error check for server-side data stub validity.

ExecutionBucket

Microsoft Internal Use Only.

FullIncludePath

Gets a list of all directories included in the build; a concatenation of directories specified with /I and the directories specified in the VC++ Directories dialog box. All macros present in these directories will be evaluated as well.

GenerateStublessProxies

Gets or sets a value indicating whether to generate stubless proxies.

GenerateTypeLibrary

Gets or sets a value indicating whether or not to generate a type library.

HeaderFileName

Gets or sets the name of the generated header file; default is idlfile.h.

IgnoreStandardIncludePath

Gets or sets a value indicating whether to ignore standard include path.

InterfaceIdentifierFileName

Gets or sets a name for the Interface Identifier file; default is idlfile_i.c.

MkTypLibCompatible

Gets or sets a value indicating whether to force compatibility with mktyplib.exe version 2.03.

OutputDirectory

Gets or sets the directory in which to place output. The default is the project's directory.

PreprocessorDefinitions

Gets or sets one or more preprocessor defines.

ProxyFileName

Gets or sets the name of the proxy file; default is idlfile_p.c.

RedirectOutputAndErrors

Gets or sets the file name to which screen output and errors are written.

StructMemberAlignment

Gets or sets 1-, 2-, 4-, 8-, or 16-byte boundaries for struct member alignment.

SuppressStartupBanner

Gets or sets a value indicating whether to suppress the display of the startup banner and information messages.

TargetEnvironment

Gets or sets the environment to target.

ToolKind

Gets the name of the kind of tool this is.

toolName

Gets the name of the specified tool.

ToolPath

Gets the path to the specified tool.

TypeLibraryName

Gets the name of the ActiveX (COM) type library reference.

UndefinePreprocessorDefinitions

Gets or sets one or more preprocessor undefines.

ValidateParameters

Gets or sets a value indicating whether to enable the generation of parameter validation information.

VCProjectEngine

Gets a pointer to the project engine.

WarnAsError

Gets or sets a value indicating whether the compiler treats all warnings as errors.

WarningLevel

Gets or sets a value indicating how strictly the compiler checks for potentially suspect constructs.

Methods

get_PropertyOption(String, Int32)

Applies to