IDiskQuotaUser::GetSidLength

[This is preliminary documentation and subject to change.]

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
);
 

Parameters

pdwLength
Pointer to the variable to receive the SID length, in bytes.

Return Values

This method returns one of the following values.

Value Meaning
S_OK Success.
E_POINTER The pdwLength parameter is NULL.
DQC_E_INVALID_SID The SID for the user is invalid.
DQC_E_LOCK_FAILED Failure to obtain an exclusive lock.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in dskquota.h.

See Also

File Systems Overview, File System Interfaces, IDiskQuotaUser