IXtfUserClient::DeclineInviteToParty Method

Declines a pending party invitation to the given party on behalf of the given user.

Syntax

public:
HRESULT DeclineInviteToParty(
         XTF_USER_XUID actingUserXuid,
         LPCWSTR partyId
)  

Parameters

actingUserXuid
Type: XTF_USER_XUID 

The XUID of the user declining the invitation.

partyId
Type: LPCWSTR 

The party ID of the inviting party.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtfuser.h.

Library: Use xtfuser.lib.