Class PinvokeApi
Inheritance
System.Object
PinvokeApi
Implements
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 PinvokeApi : IPinvokeApi
Constructors
| Improve this Doc View SourcePinvokeApi(ILibiMobileDevice)
Declaration
public PinvokeApi(ILibiMobileDevice parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ILibiMobileDevice | parent |
Properties
| Improve this Doc View SourceParent
Declaration
public ILibiMobileDevice Parent { get; }
Property Value
| Type | Description |
|---|---|
| ILibiMobileDevice |
Methods
| Improve this Doc View Sourcepinvoke_free_string(IntPtr)
Frees a string that was previously allocated by libimobiledevice.
Declaration
public virtual 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 virtual 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. |