コード例 #1
0
 internal static extern UInt32 PartyEndpointGetEndpointStatistics(
     PARTY_ENDPOINT_HANDLE endpoint,
     UInt32 targetEndpointCount,
     IntPtr targetEndpoints,
     UInt32 statisticCount,
     PARTY_ENDPOINT_STATISTIC[] statisticTypes,
     UInt64[] statisticValues);
コード例 #2
0
 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);
コード例 #3
0
 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);
コード例 #4
0
 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);
コード例 #5
0
 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);
 }
コード例 #6
0
 unsafe internal static extern UInt32 PartyEndpointGetPropertyKeys(
     PARTY_ENDPOINT_HANDLE endpoint,
     out UInt32 propertyCount,
     out UTF8StringPtr *keys);
コード例 #7
0
 internal static extern UInt32 PartyEndpointGetCustomContext(
     PARTY_ENDPOINT_HANDLE endpoint,
     out IntPtr customContext);
コード例 #8
0
 internal static extern UInt32 PartyEndpointIsLocal(
     PARTY_ENDPOINT_HANDLE endpoint,
     out Byte isLocal);
コード例 #9
0
 internal static extern UInt32 PartyEndpointGetUniqueIdentifier(
     PARTY_ENDPOINT_HANDLE endpoint,
     out UInt16 uniqueIdentifier);
コード例 #10
0
 internal static extern UInt32 PartyEndpointSetProperties(
     PARTY_ENDPOINT_HANDLE endpoint,
     UInt32 propertyCount,
     [In] UTF8StringPtr[] keys,
     [In] PARTY_DATA_BUFFER[] values);
コード例 #11
0
 internal static extern UInt32 PartyEndpointGetLocalUser(
     PARTY_ENDPOINT_HANDLE endpoint,
     out PARTY_LOCAL_USER_HANDLE localUser);
コード例 #12
0
 internal static extern UInt32 PartyEndpointFlushMessages(
     PARTY_ENDPOINT_HANDLE endpoint,
     UInt32 targetEndpointCount,
     IntPtr targetEndpoints);
コード例 #13
0
 internal static extern UInt32 PartyEndpointGetNetwork(
     PARTY_ENDPOINT_HANDLE endpoint,
     out PARTY_NETWORK_HANDLE network);
コード例 #14
0
 unsafe internal static extern UInt32 PartyEndpointGetProperty(
     PARTY_ENDPOINT_HANDLE endpoint,
     Byte[] key,
     out PARTY_DATA_BUFFER *value);
コード例 #15
0
 internal PARTY_ENDPOINT_HANDLE(Interop.PARTY_ENDPOINT_HANDLE interopHandle)
 {
     this.InteropHandle = interopHandle;
 }
コード例 #16
0
 internal static extern UInt32 PartyNetworkFindEndpointByUniqueIdentifier(
     PARTY_NETWORK_HANDLE network,
     UInt16 uniqueIdentifier,
     out PARTY_ENDPOINT_HANDLE endpoint);
コード例 #17
0
 internal static extern UInt32 PartyEndpointGetDevice(
     PARTY_ENDPOINT_HANDLE endpoint,
     out PARTY_DEVICE_HANDLE device);
コード例 #18
0
 internal static extern UInt32 PartyNetworkDestroyEndpoint(
     PARTY_NETWORK_HANDLE network,
     PARTY_ENDPOINT_HANDLE localEndpoint,
     IntPtr asyncIdentifier);
コード例 #19
0
 internal static extern UInt32 PartyEndpointGetEntityId(
     PARTY_ENDPOINT_HANDLE endpoint,
     out UTF8StringPtr entityId);