Export (0) Print
Expand All

VCMidlTool Interface

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

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

[GuidAttribute("B355ACDC-9951-4BC6-8F4F-8698082C299F")]
public interface VCMidlTool

The VCMidlTool type exposes the following members.

  NameDescription
Public propertyAdditionalIncludeDirectoriesGets or sets one or more directories to add to the include path.
Public propertyAdditionalOptionsGets 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.
Public propertyCPreprocessOptionsGets or sets a C-compiler preprocessor option to pass to the MIDL compiler.
Public propertyDefaultCharTypeGets or sets the default MIDL char type.
Public propertyDLLDataFileNameGets or sets the name of the DLLDATA file; default is dlldata.c.
Public propertyEnableErrorChecksGets or sets checks error-checking option. If you select Custom, only selected error-checking options occur during compilation.
Public propertyErrorCheckAllocationsGets or sets a value indicating whether to check for out-of-memory errors.
Public propertyErrorCheckBoundsGets or sets a value indicating an error check of size versus transmission length specifications.
Public propertyErrorCheckEnumRangeGets or sets a value indicating whether to error check that enumeration values are in allowable range.
Public propertyErrorCheckRefPointersGets or sets a value indicating whether to error check reference pointers for NULL.
Public propertyErrorCheckStubDataGets or sets a value indicating whether to error check for server-side data stub validity.
Public propertyExecutionBucketInfrastructure. Microsoft Internal Use Only.
Public propertyFullIncludePathGets 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.
Public propertyGenerateStublessProxiesGets or sets a value indicating whether to generate stubless proxies.
Public propertyGenerateTypeLibraryGets or sets a value indicating whether or not to generate a type library.
Public propertyHeaderFileNameGets or sets the name of the generated header file; default is idlfile.h.
Public propertyIgnoreStandardIncludePathGets or sets a value indicating whether to ignore standard include path.
Public propertyInterfaceIdentifierFileNameGets or sets a name for the Interface Identifier file; default is idlfile_i.c.
Public propertyMkTypLibCompatibleGets or sets a value indicating whether to force compatibility with mktyplib.exe version 2.03.
Public propertyOutputDirectoryGets or sets the directory in which to place output. The default is the project's directory.
Public propertyPreprocessorDefinitionsGets or sets one or more preprocessor defines.
Public propertyProxyFileNameGets or sets the name of the proxy file; default is idlfile_p.c.
Public propertyRedirectOutputAndErrorsGets or sets the file name to which screen output and errors are written.
Public propertyStructMemberAlignmentGets or sets 1-, 2-, 4-, 8-, or 16-byte boundaries for struct member alignment.
Public propertySuppressStartupBannerGets or sets a value indicating whether to suppress the display of the startup banner and information messages.
Public propertyTargetEnvironmentGets or sets the environment to target.
Public propertyToolKindGets the name of the kind of tool this is.
Public propertytoolNameGets the name of the specified tool.
Public propertyToolPathGets the path to the specified tool.
Public propertyTypeLibraryNameGets the name of the ActiveX (COM) type library reference.
Public propertyUndefinePreprocessorDefinitionsGets or sets one or more preprocessor undefines.
Public propertyValidateParametersGets or sets a value indicating whether to enable the generation of parameter validation information.
Public propertyVCProjectEngineGets a pointer to the project engine.
Public propertyWarnAsErrorGets or sets a value indicating whether the compiler treats all warnings as errors.
Public propertyWarningLevelGets or sets a value indicating how strictly the compiler checks for potentially suspect constructs.
Top

  NameDescription
Public methodget_PropertyOptionInfrastructure. Microsoft Internal Use Only.
Top

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

Show:
© 2014 Microsoft