IHttpNegotiate2::GetRootSecurityId method

Gets a root security ID.

Syntax

HRESULT GetRootSecurityId(
  [out]     BYTE      *pbSecurityId,
  [in, out] DWORD     *pcbSecurityId,
  [in]      DWORD_PTR dwReserved
);

Parameters

  • pbSecurityId [out]
    A pointer to a buffer of type BYTE that receives the root security ID.

  • pcbSecurityId [in, out]
    A pointer to a value of type DWORD that specifies the size of the buffer that receives the security ID. After IHttpNegotiate2::GetRootSecurityId is called sucessfully, this parameter contains the actual size of the security ID.

  • dwReserved [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

See also

IHttpNegotiate2