Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
Public Member Functions | Static Public Member Functions | List of all members
SolidFramework.Interop.StringArrayMarshaler Class Reference

Represents String array marshaler More...

Inheritance diagram for SolidFramework.Interop.StringArrayMarshaler:

Public Member Functions

object MarshalNativeToManaged (IntPtr pNativeData)
 Converts the unmanaged data to managed data. More...
 
IntPtr MarshalManagedToNative (object managedObj)
 Marshals the managed data to native data. More...
 
void CleanUpNativeData (IntPtr pNativeData)
 Performs necessary cleanup of the unmanaged data when it is no longer needed. More...
 
void CleanUpManagedData (object managedObj)
 Cleans up managed data. More...
 
int GetNativeDataSize ()
 Returns the size of the native data to be marshaled. More...
 

Static Public Member Functions

static ICustomMarshaler GetInstance (string cookie)
 Gets the instance. More...
 

Detailed Description

Represents String array marshaler

Member Function Documentation

◆ CleanUpManagedData()

void SolidFramework.Interop.StringArrayMarshaler.CleanUpManagedData ( object  managedObj)

Cleans up managed data.

Parameters
managedObjThe managed object.

◆ CleanUpNativeData()

void SolidFramework.Interop.StringArrayMarshaler.CleanUpNativeData ( IntPtr  pNativeData)

Performs necessary cleanup of the unmanaged data when it is no longer needed.

Parameters
pNativeDataA pointer to the unmanaged data to be destroyed.

◆ GetInstance()

static ICustomMarshaler SolidFramework.Interop.StringArrayMarshaler.GetInstance ( string  cookie)
static

Gets the instance.

Parameters
cookieThe cookie.
Returns
The instance.

◆ GetNativeDataSize()

int SolidFramework.Interop.StringArrayMarshaler.GetNativeDataSize ( )

Returns the size of the native data to be marshaled.

Returns
The size in bytes of the native data.

◆ MarshalManagedToNative()

IntPtr SolidFramework.Interop.StringArrayMarshaler.MarshalManagedToNative ( object  managedObj)

Marshals the managed data to native data.

Parameters
managedObjThe managed object.
Returns

◆ MarshalNativeToManaged()

object SolidFramework.Interop.StringArrayMarshaler.MarshalNativeToManaged ( IntPtr  pNativeData)

Converts the unmanaged data to managed data.

Parameters
pNativeDataA pointer to the unmanaged data to be wrapped.
Returns
Returns the managed view of the COM data.