Platform SDK: Files and I/O |
Retrieves the length of the user's security identifier (SID), in bytes. Use the return value to determine the size of the destination buffer you pass to IDiskQuotaUser::GetSid.
HRESULT GetSidLength( LPDWORD pdwLength );
This method returns one of the following values.
Value | Meaning |
---|---|
NOERROR | Success. |
E_INVALIDARG | The pdwLength parameter is NULL. |
ERROR_INVALID_SID | The SID for the user is invalid. |
ERROR_LOCK_FAILED | Failure to obtain an exclusive lock. |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Dskquota.h.
File Systems Overview, File System Interfaces, IDiskQuotaUser