C++
ACDBCORE2D_PORT AcadApp::ErrorStatus acrxUnregisterApp( const ACHAR * logicalname );
File
rxregsvc.h
Description
This function removes from the system registry the subtree with logicalName as the root key name within the "Application" key tree of the AutoCAD registry tree in the HKEY_LOCAL_MACHINE section of the registry.
For example, if the AutoCAD section of the registry appears as so:
HKEY_LOCAL_MACHINE SOFTWARE Autodesk AutoCAD R25.1 ACAD-9101 Applications TestApp LOADCTRLS: REG_DWORD: 0X5 REGPATH: REG_SZ: \HKEY_LOCAL_MACHINESOFTWAREMyAppsTestApp
then the call
acrxUnregisterApp("TestAPP");
will result in the removal of the TestAPP subtree as:
\\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R25.1\ACAD-9101\Applications
If bDwgU is true, the registry entries will be removed from the Autodesk/ObjectDBX area of the registry.
Returns AcadApp::eOk if successful.
Returns AcadApp::eKeyNotFound if no such entry can be found.
Returns AcadApp::eRejected if the entry cannot be removed.
Parameters
| Parameters | Description |
|---|---|
| logicalname | Input Boolean indicating whether to remove the registry entry from the Autodesk/ObjectDBX area of the registry |
Previous Declaration
ACDB_PORT AcadApp::ErrorStatus acrxUnregisterApp(
const ACHAR * bDwgU
);