ILocalRegistry4::RevokeClassObject Method (UInt32)

 

Revokes a registered class object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

int RevokeClassObject(
	unsigned int dwCookie
)

Parameters

dwCookie
Type: System::UInt32

The class object to revoke.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Call this method to remove the final reference on the registered object. If you neglect to call this before CoUninitialize, then COM will automatically clean up for you.

From vsshell90.idl:

HRESULT RevokeClassObject(
   DWORD dwCookie
);
Return to top
Show: