![]() |
Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
|
Marshals temporary native strings (wchar_t[]) to and from 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 temporary native strings (wchar_t[]) to and from managed strings (System.String)
| void SolidFramework.Interop.TempStringMarshaler.CleanUpManagedData | ( | object | managedObj | ) |
Cleans up managed data.
| managedObj | The managed object. |
| void SolidFramework.Interop.TempStringMarshaler.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.TempStringMarshaler.GetNativeDataSize | ( | ) |
Returns the size of the native data to be marshaled.
| IntPtr SolidFramework.Interop.TempStringMarshaler.MarshalManagedToNative | ( | object | managedObj | ) |
Converts a managed string to a native string.
| managedObj | The managed string to be converted. |
| object SolidFramework.Interop.TempStringMarshaler.MarshalNativeToManaged | ( | IntPtr | nativeData | ) |
Converts a native string to a managed string.
| nativeData | A pointer to the native string to be converted. |