# Interface Key

Registers new interfaces by associating an interface name with an interface ID (IID).

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface

If your application adds a new interface, the Interface key must be completed for OLE 2 to register the new interface. There must be one IID subkey for each new interface.

Note that you must use ProxyStubCLSID32 because the IID-to-CLSID mapping may be different for 16-and 32-bit interfaces. The IID-to-CLSID depends on the way the interface proxies are packaged into a set of proxy DLLs.

#### SubKeys and Named Values

\Interface

<IID> | Interface identifier
\BaseInterface | Interface derived from
\NumMethods | Number of methods
\ProsyStubCLSID | Maps IID to CLSiD (16-bit DLLs)
\ProsyStubCLSID32 | Maps IID to CLSiD (32-bit DLLs)

See Also

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\Interface