internal MessageStorage(Sim parent, MessageStorageType storage) { m_sim = parent; m_storage = storage; }
private static extern int SimDeleteMessage( IntPtr hSim, // @parm Points to a valid HSIM handle MessageStorageType dwStorage, // @parm A SIM_SMSSTORAGE_* constant int dwIndex // @parm Index of the entry to retrieve );
private static extern int SimGetSmsStorageStatus( IntPtr hSim, MessageStorageType dwStorage, ref int lpdwUsed, ref int lpdwTotal);
private static extern int SimReadMessage( IntPtr hSim, // @parm Points to a valid HSIM handle MessageStorageType dwStorage, // @parm A SIM_SMSSTORAGE_* constant int dwIndex, // @parm Index of the entry to retrieve byte[] lpSimMessage // @parm Points to an SMS message structure );
private static extern int SimWriteMessage( IntPtr hSim, // @parm Points to a valid HSIM handle MessageStorageType dwStorage, // @parm A SIM_SMSSTORAGE_* constant ref int lpdwIndex, // @parm Set to the index where the message was written byte[] lpSimMessage // @parm Points to an SMS message structure );