日期:2014-05-17 浏览次数:20881 次
WORD __stdcall LMMTP_WrapMessageProperty(DWORD SerialID, WORD UserID, PLMMTP_MESSAGE_PROPERTY_DATA pMsgProperty,
BYTE ValidTimeCount,PLMMTP_VALIDTIME_DATA pValidTimes,
BYTE RegionCount, PLMMTP_REGION_DATA pRegions, BYTE *pDest);
//WORD __stdcall LMMTP_WrapMessageProperty(DWORD SerialID, WORD UserID, PLMMTP_MESSAGE_PROPERTY_DATA pMsgProperty,BYTE ValidTimeCount,PLMMTP_VALIDTIME_DATA pValidTimes, BYTE RegionCount, PLMMTP_REGION_DATA pRegions, BYTE *pDest);
[DllImport("LMMTPLib.DLL", EntryPoint = "LMMTP_WrapMessageProperty")]
public static extern ushort LMMTP_WrapMessageProperty(uint SerialID, ushort UserID, PLMMTP_MESSAGE_PROPERTY_DATA pMsgProperty, byte ValidTimeCount, PLMMTP_VALIDTIME_DATA pValidTimes, byte RegionCount, PLMMTP_REGION_DATA pRegions, byte[] pDest);
/// <summary>
///
/// </summary>
/// <param name="SerialID"></param>
/// <param name="UserID"></param>
/// <param name="pMsgProperty"></param>
/// <param name="ValidTimeCount"></param>
/// <param name="pValidTimes"></param>
/// <param name="RegionCount"></param>
/// <param name="pRegions"></param>
/// <param name="pDest"></param>
/// <returns></returns>
public static int WrapMessageProperty(uint SerialID, ushort UserID, PLMMTP_MESSAGE_PROPERTY_DATA pMsgProperty, byte ValidTimeCount, PLMMTP_VALIDTIME_DATA pValidTimes, byte RegionCount, PLMMTP_REGION_DATA pRegions,ref byte[] pDest)
{