LegacySecureReferences

Determines whether AddRef/Release invocations are secure for applications that do not call CoInitializeSecurity12NDMS.

Registry Entry

HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\LegacySecureReferences= ACL

Remarks

HKEY_LOCAL_MACHINE\Software\Microsoft\OLE

The LegacySecureReferences named-value is a REG_SZ that provides the default setting for securing IUnknown::AddRef and IUnknown::Release method invokations for all applications that do not call CoInitializeSecurity. Values of  Y  or  y  indicate that AddRef/Release is secured. Any other value or the lack of this named-value implies that AddRef/Release is not secured. Enabling secure references slows COM.

See Also

CoInitializeSecurity, Registering COM Servers