SetDefaultSharedLibraryOpenMode(openMode, scope)
Sets the open mode of the shared library to openMode. The default open mode is used at implicit opening of the shared library (implicit opening is implemented at opening the first GDB if the shared library has not been opened by the GDBEngine::OpenSharedLibrary method earlier). The method sets the mode in the Windows registry. The openMode argument is the logical OR of constants specifying shared library access mode, shared library sharing mode and using change file mode. The shared library access mode constants are given in the "GDB/Shared Library Open Modes" table. The scope argument specifies the access level to the Windows registry – settings are either for the current user or for all users. The access level to the Windows registry is determined by a constant given in the "Access levels to the Windows registry" table. If openMode = 0 and scope = gdbRegistryCurrentUser, the default open mode is cancelled for the current user. The further access to the default open mode by the GDBEngine::GetDefaultSharedLibraryOpenMode method and with the scope = gdbRegistryCurrentUser will return an open mode for all users.