Düzenle

Aracılığıyla paylaş


helpstringdll attribute

The [helpstringdll] attribute sets the name of the DLL to use to perform a document string lookup.

[
    helpstringdll(help-text-string)
    [, optional-attribute-list]
] 
library library-name
{ 
    library-definition-statements
};

Parameters

help-text-string

A zero-terminated string of characters specifying the fully qualified file name of a DLL.

optional-attribute-list

Other attributes that apply to the library statement as a whole.

library-name

The identifier that software components will use to denote this library.

library-definition-statements

One or more MIDL statement which define the interface of the library.

Remarks

Use the [helpstringdll] attribute on a library statement to specify, as a character string, the fully qualified file name of a dynamic link library. This allows a user to view a description of the DLL with the object viewer.

Use the GetDocumentation2 functions in the ITypeLib2 and ITypeInfo2 interfaces to retrieve the help string.

See also

library

ODL File Syntax

ODL File Example

Generating a Type Library With MIDL