Create a Image from a native handle and potentially
increment the unmanaged reference count on the native handle.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
Parameters
- nativeHandle
- Type: SystemIntPtr
Handle to create the image from. - doShare
- Type: Stemmer.Cvb.Runtime.InteropServicesShareObject
Yes if nativeHandle is to be shared.
Return Value
Type: ImageNewly created image or null of no image could be created.
Remarks
Note that this function is not intended for general use. Providing invalid values on the nativeHandle parameter will most likely lead to severe problems in your application.
This function will guess the memory pressure of the native image passed via the nativeHandle
See Also