dllname(str) attribute

The [dllname] attribute defines the name of the DLL that contains the entry points for a module.

[
    uuid(uuid-number), 
    dllname("filename")
    [, optional-attribute-list]
]
module modulename
{
    elementlist
};

Parameters

uuid-number

Specifies a universally unique identification number for the module.

filename

Specifies a NULL-terminated string which contains the full path to the Dll file.

optional-attribute-list

Specifies a list of zero or more MIDL interface attributes.

modulename

Specifies the name which other software components can use to refer to the module.

elementlist

Specifies one or more module element definition statements.

Remarks

The [dllname] attribute is required on a module.

Examples

[
    uuid(1e196b20-1f3c-1069-996b-00dd010fe676),
    helpstring("A meaningful comment"),   
    dllname("HANDY.DLL")
] 
module HandyStuff
{
    /* Module content definitions */
};

See also

module

entry

ODL File Syntax

ODL File Example

Generating a Type Library With MIDL