IAccessControl::SetOwner

This method sets the owner or the group of an item.

HRESULT SetOwner(
  PTRUSTEEW pOwner, 
  PTRUSTEEW pGroup 
);

Parameters

  • pOwner
    [in] Address of the PTRUSTEEW variable that contains a pointer to the owner's TRUSTEE structure for the item.
  • pGroup
    [in] Address of the PTRUSTEEW variable that contains a pointer to the group's TRUSTEEW structure for the item.

Return Values

None.

Remarks

The IaccessControl::SetOwner method is not implemented by CLSID_DCOMAccessControl.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: IAccess.h.
Link Library: Ole32.lib, Uuid.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.