Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or updates the Microsoft Active Desktop to safe mode.
Syntax
HRESULT SetSafeMode(
DWORD dwFlags
);
Parameters
dwFlags
Type: DWORD
One of the following flags.
SSM_SET
Set to safe mode.
SSM_UPDATE
Update to safe mode.
Return value
Type: HRESULT
Returns S_OK if successful, or an error code otherwise.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | shlobj.h |
| DLL | Shell32.dll (version 5.00 or later) |