public static Storable Create(StoredObjectType eType, PackType thePackType) { IntPtr cPtr = otapiPINVOKE.Storable_Create((int)eType, (int)thePackType); Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, false); return ret; }