Interface IPinvokeApi
Namespace: iMobileDevice.Pinvoke
Assembly: iMobileDevice-net.dll
Syntax
public interface IPinvokeApi
Properties
| Improve this Doc View SourceParent
Gets or sets the
Declaration
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
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
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. |