IAccessControl::SetOwner (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

IAccessControl