Esempio n. 1
0
 internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_DEVICE_HANDLE interopHandle, out PARTY_DEVICE_HANDLE handle)
 {
     if (PartyError.SUCCEEDED(error))
     {
         handle = new PARTY_DEVICE_HANDLE(interopHandle);
     }
     else
     {
         handle = default(PARTY_DEVICE_HANDLE);
     }
     return(error);
 }
Esempio n. 2
0
 internal static extern UInt32 PartyDeviceGetCustomContext(
     PARTY_DEVICE_HANDLE device,
     out IntPtr customContext);
Esempio n. 3
0
 internal static extern UInt32 PartyDeviceGetPropertyKeys(
     PARTY_DEVICE_HANDLE device,
     out UInt32 propertyCount,
     out UTF8StringPtr[] keys);
Esempio n. 4
0
 internal static extern UInt32 PartyDeviceSetProperties(
     PARTY_DEVICE_HANDLE device,
     UInt32 propertyCount,
     [In] UTF8StringPtr[] keys,
     [In] PARTY_DATA_BUFFER[] values);
Esempio n. 5
0
 internal static extern UInt32 PartyDeviceIsLocal(
     PARTY_DEVICE_HANDLE device,
     out Byte isLocal);
Esempio n. 6
0
 internal static extern UInt32 PartyDeviceCreateChatControl(
     PARTY_DEVICE_HANDLE device,
     PARTY_LOCAL_USER_HANDLE localUser,
     Byte[] languageCode,
     IntPtr asyncIdentifier,
     out PARTY_CHAT_CONTROL_HANDLE chatControl);
Esempio n. 7
0
 unsafe internal static extern UInt32 PartyDeviceGetChatControls(
     PARTY_DEVICE_HANDLE device,
     out UInt32 chatControlCount,
     out IntPtr chatControls);
Esempio n. 8
0
 unsafe internal static extern UInt32 PartyDeviceGetProperty(
     PARTY_DEVICE_HANDLE device,
     Byte[] key,
     out PARTY_DATA_BUFFER *value);
Esempio n. 9
0
 internal static extern UInt32 PartyDeviceDestroyChatControl(
     PARTY_DEVICE_HANDLE device,
     PARTY_CHAT_CONTROL_HANDLE chatControl,
     IntPtr asyncIdentifier);
Esempio n. 10
0
 internal static extern UInt32 PartyGetLocalDevice(
     PARTY_HANDLE handle,
     out PARTY_DEVICE_HANDLE localDevice);
Esempio n. 11
0
 internal static extern UInt32 PartyNetworkKickDevice(
     PARTY_NETWORK_HANDLE network,
     PARTY_DEVICE_HANDLE targetDevice,
     IntPtr asyncIdentifier);
Esempio n. 12
0
 internal PARTY_DEVICE_HANDLE(Interop.PARTY_DEVICE_HANDLE interopHandle)
 {
     this.InteropHandle = interopHandle;
 }
Esempio n. 13
0
 internal static extern UInt32 PartyChatControlGetDevice(
     PARTY_CHAT_CONTROL_HANDLE chatControl,
     out PARTY_DEVICE_HANDLE device);
Esempio n. 14
0
 internal static extern UInt32 PartyEndpointGetDevice(
     PARTY_ENDPOINT_HANDLE endpoint,
     out PARTY_DEVICE_HANDLE device);