Platform SDK: Files and I/O |
The SID-to-name resolver translates user security identifiers (SID) to user names. It runs as a background thread. When a quota control object is destroyed, this thread automatically terminates. The final call to the IUnknown::Release method terminates the thread. This is normally all that is required. If you finish with the quota control object, but it is not ready to be destroyed (there are other open reference counts), call this method to terminate the background thread before the object is destroyed.
HRESULT ShutdownNameResolution(void);
This method has no parameters.
This method returns NOERROR.
Asynchronous name resolution will also cease after the thread terminates. A subsequent call to the following methods may recreate the SID-to-name resolver thread:
IDiskQuotaControl::AddUserName
IDiskQuotaControl::AddUserSid
IDiskQuotaControl::CreateEnumUsers
IDiskQuotaControl::FindUserName
IDiskQuotaControl::FindUserSid
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Dskquota.h.
File Systems Overview, File System Interfaces, IDiskQuotaControl