internal static extern UInt32 PartyEndpointGetEndpointStatistics( PARTY_ENDPOINT_HANDLE endpoint, UInt32 targetEndpointCount, IntPtr targetEndpoints, UInt32 statisticCount, PARTY_ENDPOINT_STATISTIC[] statisticTypes, UInt64[] statisticValues);
internal static extern UInt32 PartyNetworkCreateEndpoint( PARTY_NETWORK_HANDLE network, PARTY_LOCAL_USER_HANDLE localUser, UInt32 propertyCount, IntPtr keys, IntPtr values, IntPtr asyncIdentifier, out PARTY_ENDPOINT_HANDLE endpoint);
internal static extern UInt32 PartyEndpointCancelMessages( PARTY_ENDPOINT_HANDLE endpoint, UInt32 targetEndpointCount, IntPtr targetEndpoints, PARTY_CANCEL_MESSAGES_FILTER_EXPRESSION filterExpression, UInt32 messageIdentityFilterMask, UInt32 filteredMessageIdentitiesToMatch, out UInt32 canceledMessagesCount);
unsafe internal static extern UInt32 PartyEndpointSendMessage( PARTY_ENDPOINT_HANDLE endpoint, UInt32 targetEndpointCount, IntPtr targetEndpoints, PARTY_SEND_MESSAGE_OPTIONS options, PARTY_SEND_MESSAGE_QUEUING_CONFIGURATION *queuingConfiguration, UInt32 dataBufferCount, PARTY_DATA_BUFFER *dataBuffers, IntPtr messageIdentifier);
internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_ENDPOINT_HANDLE interopHandle, out PARTY_ENDPOINT_HANDLE handle) { if (PartyError.SUCCEEDED(error)) { handle = new PARTY_ENDPOINT_HANDLE(interopHandle); } else { handle = default(PARTY_ENDPOINT_HANDLE); } return(error); }
unsafe internal static extern UInt32 PartyEndpointGetPropertyKeys( PARTY_ENDPOINT_HANDLE endpoint, out UInt32 propertyCount, out UTF8StringPtr *keys);
internal static extern UInt32 PartyEndpointGetCustomContext( PARTY_ENDPOINT_HANDLE endpoint, out IntPtr customContext);
internal static extern UInt32 PartyEndpointIsLocal( PARTY_ENDPOINT_HANDLE endpoint, out Byte isLocal);
internal static extern UInt32 PartyEndpointGetUniqueIdentifier( PARTY_ENDPOINT_HANDLE endpoint, out UInt16 uniqueIdentifier);
internal static extern UInt32 PartyEndpointSetProperties( PARTY_ENDPOINT_HANDLE endpoint, UInt32 propertyCount, [In] UTF8StringPtr[] keys, [In] PARTY_DATA_BUFFER[] values);
internal static extern UInt32 PartyEndpointGetLocalUser( PARTY_ENDPOINT_HANDLE endpoint, out PARTY_LOCAL_USER_HANDLE localUser);
internal static extern UInt32 PartyEndpointFlushMessages( PARTY_ENDPOINT_HANDLE endpoint, UInt32 targetEndpointCount, IntPtr targetEndpoints);
internal static extern UInt32 PartyEndpointGetNetwork( PARTY_ENDPOINT_HANDLE endpoint, out PARTY_NETWORK_HANDLE network);
unsafe internal static extern UInt32 PartyEndpointGetProperty( PARTY_ENDPOINT_HANDLE endpoint, Byte[] key, out PARTY_DATA_BUFFER *value);
internal PARTY_ENDPOINT_HANDLE(Interop.PARTY_ENDPOINT_HANDLE interopHandle) { this.InteropHandle = interopHandle; }
internal static extern UInt32 PartyNetworkFindEndpointByUniqueIdentifier( PARTY_NETWORK_HANDLE network, UInt16 uniqueIdentifier, out PARTY_ENDPOINT_HANDLE endpoint);
internal static extern UInt32 PartyEndpointGetDevice( PARTY_ENDPOINT_HANDLE endpoint, out PARTY_DEVICE_HANDLE device);
internal static extern UInt32 PartyNetworkDestroyEndpoint( PARTY_NETWORK_HANDLE network, PARTY_ENDPOINT_HANDLE localEndpoint, IntPtr asyncIdentifier);
internal static extern UInt32 PartyEndpointGetEntityId( PARTY_ENDPOINT_HANDLE endpoint, out UTF8StringPtr entityId);