internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_INVITATION_HANDLE interopHandle, out PARTY_INVITATION_HANDLE handle)
 {
     if (PartyError.SUCCEEDED(error))
     {
         handle = new PARTY_INVITATION_HANDLE(interopHandle);
     }
     else
     {
         handle = default(PARTY_INVITATION_HANDLE);
     }
     return(error);
 }
 internal PARTY_INVITATION_HANDLE(Interop.PARTY_INVITATION_HANDLE interopHandle)
 {
     this.InteropHandle = interopHandle;
 }
Esempio n. 3
0
 internal static extern UInt32 PartyInvitationGetCreatorEntityId(
     PARTY_INVITATION_HANDLE invitation,
     out UTF8StringPtr entityId);
Esempio n. 4
0
 internal static extern UInt32 PartyInvitationGetCustomContext(
     PARTY_INVITATION_HANDLE invitation,
     out IntPtr customContext);
Esempio n. 5
0
 unsafe internal static extern UInt32 PartyInvitationGetInvitationConfiguration(
     PARTY_INVITATION_HANDLE invitation,
     out IntPtr configuration);
Esempio n. 6
0
 unsafe internal static extern UInt32 PartyNetworkCreateInvitation(
     PARTY_NETWORK_HANDLE network,
     PARTY_LOCAL_USER_HANDLE localUser,
     PARTY_INVITATION_CONFIGURATION *invitationConfiguration,
     IntPtr asyncIdentifier,
     out PARTY_INVITATION_HANDLE invitation);
Esempio n. 7
0
 internal static extern UInt32 PartyNetworkRevokeInvitation(
     PARTY_NETWORK_HANDLE network,
     PARTY_LOCAL_USER_HANDLE localUser,
     PARTY_INVITATION_HANDLE invitation,
     IntPtr asyncIdentifier);