Partager via


IAccessControl::SetOwner (Compact 2013)

3/26/2014

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

Syntax

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 Value

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

Header

iaccess.h

Library

ole32.lib,
uuid.lib

See Also

Reference

IAccessControl