Class PinvokeNativeMethods
Inheritance
System.Object
PinvokeNativeMethods
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: iMobileDevice.Pinvoke
Assembly: iMobileDevice-net.dll
Syntax
public class PinvokeNativeMethods
Methods
pinvoke_free_string(IntPtr)
Frees a string that was previously allocated by libimobiledevice.
Declaration
public static PinvokeError pinvoke_free_string(IntPtr string)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | string | The string to free. |
Returns
Type | Description |
---|---|
PinvokeError | Always returns PINVOKE_E_SUCCESS. |
pinvoke_get_string_length(IntPtr, out UInt64)
Gets the size of a string that was previously allocated by libimobiledevice.
Declaration
public static PinvokeError pinvoke_get_string_length(IntPtr string, out ulong length)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | string | The string of which to get its size. |
System.UInt64 | length | The length of the string, in bytes. |
Returns
Type | Description |
---|---|
PinvokeError | Always returns PINVOKE_E_SUCCESS. |