private void GetActions(out IEnhancedStorageSiloAction[] enhancedStorageSiloActions, out UInt32 actionsCount) { IntPtr listActions; enhancedStorageSiloActions = null; _silo.GetActions(out listActions, out actionsCount); if (actionsCount > 0) { EhStorAPIHelper.IntPtrToArray(actionsCount, listActions, out enhancedStorageSiloActions); } }
private void GetACTs(out IEnhancedStorageACT[] IEnhancedStorageACTs, out UInt32 actCount) { IntPtr listACTsPtrs; IEnhancedStorageACTs = null; _enumACT.GetACTs(out listACTsPtrs, out actCount); if (actCount > 0) { EhStorAPIHelper.IntPtrToArray(actCount, listACTsPtrs, out IEnhancedStorageACTs); } }
private void GetSilos(out IEnhancedStorageSilo[] enhancedStorageSilos, out UInt32 siloCount) { IntPtr listSilos; enhancedStorageSilos = null; _act.GetSilos(out listSilos, out siloCount); if (siloCount > 0) { EhStorAPIHelper.IntPtrToArray(siloCount, listSilos, out enhancedStorageSilos); } }