C++
bool ADUI_PORT AdUiRegisterTool( LPCTSTR lpszToolName, LPCTSTR lpszCommand, LPCGUID pID );
File
aduiDock.h
Description
Makes a tool restartable the automatically next session. Call this function once for each tool that your application support and that you want to be automatically restarted the next session. When the session terminates, if the function AdUiRegisterTool has been previously called and the control bar having the pID identifier is visible, then the tool will be automatically restarted the next session, by invokation of the command specified by lpszCommand.
Parameters
| Parameters | Description |
|---|---|
| lpszToolName | Reserved; can be an empty string |
| lpszCommand | Command identifying the tool, registered by the ObjectARX application |
| pID | Class ID of the control bar associated with the tool |
Previous Declaration
bool ADUI_PORT AdUiRegisterTool(LPCTSTR lpszToolName, LPCTSTR lpszCommand, CLSID* pID);