IXtfUserClient::AddLocalUsersToParty Method

Creates a party for the given title ID and adds the given users to the party.

Syntax

public:
HRESULT AddLocalUsersToParty(
         UINT32 titleId,
         XTF_USER_XUID actingUserXuid,
         XTF_USER_XUID *localUserXuids,
         UINT32 countLocalUserXuids
)  

Parameters

titleId
Type: UINT32 

Title ID of the title the party will be created for.

actingUserXuid
Type: XTF_USER_XUID 

The XUID of the user creating the party

localUserXuids
Type: XTF_USER_XUID *

A pointer to an array of countLocalUserXuids XUIDs of users to be added to the party.

countLocalUserXuids
Type: UINT32 

The count of users to be added.

Return value

Type: HRESULT 

HRESULT success or error code.

Remarks

Creates a party if one does not already exist for the given title.

Requirements

Header: Declared in xtfuser.h.

Library: Use xtfuser.lib.