Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
|
Marshals constant native strings (const wchar_t *) to managed strings (System.String) More...
Public Member Functions | |
object | MarshalNativeToManaged (IntPtr nativeData) |
Converts a native string to a managed string. More... | |
IntPtr | MarshalManagedToNative (object managedObj) |
Converts a managed string to a native string. More... | |
void | CleanUpNativeData (IntPtr nativeData) |
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... | |
Marshals constant native strings (const wchar_t *) to managed strings (System.String)
void SolidFramework.Interop.ConstStringMarshaler.CleanUpManagedData | ( | object | managedObj | ) |
Cleans up managed data.
managedObj | The managed object. |
void SolidFramework.Interop.ConstStringMarshaler.CleanUpNativeData | ( | IntPtr | nativeData | ) |
Performs necessary cleanup of the unmanaged data when it is no longer needed.
nativeData | A pointer to the unmanaged data to be destroyed. |
|
static |
Gets the instance.
cookie | The cookie. |
int SolidFramework.Interop.ConstStringMarshaler.GetNativeDataSize | ( | ) |
Returns the size of the native data to be marshaled.
IntPtr SolidFramework.Interop.ConstStringMarshaler.MarshalManagedToNative | ( | object | managedObj | ) |
Converts a managed string to a native string.
managedObj | The managed string to be converted. |
object SolidFramework.Interop.ConstStringMarshaler.MarshalNativeToManaged | ( | IntPtr | nativeData | ) |
Converts a native string to a managed string.
nativeData | A pointer to the native string to be converted. |