IAccessControl::SetOwner
A version of this page is also available for
4/8/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 |
Windows Mobile | Windows Mobile Version 5.0 and later |