????4?????????int???4???????
?????????????c++?????????
????U_CAMER LONG WINAPI CAMER_GetPropery( HANDLE hCamer?? _CMRCTL Propery );
??????????????????????c#?е????????????
????[DllImport("UCamer.dll"?? CallingConvention = CallingConvention.Winapi)]
????public extern static Uint16 CAMER_GetPropery(IntPtr hCamer?? CMRCTL Propery);
??????????c#????????
????uint16 m_HiWi_temp = (uint)BCamera.CAMER_GetPropery(m_hCamer?? CMRCTL.OUT_SIZE);
?????????????????????????????????????????????????????int32??4??????2??????
????????????c++???????????
????*((PULONG)m_HiWi) = *((PULONG)m_Display) = CAMER_GetPropery( m_hCamer?? OUT_SIZE );
????m_hShow = Disp_Create( m_hWnd?? m_HiWi[1]?? m_HiWi[0]?? m_nColor?? (USERDRAW)((m_ReDrawLine == TRUE) ? DrawLine : NULL)?? this );
????????CAMER_GetPropery??????????????long?????c++????????????????long??????????? pulong?????ulong?????顣
??????c#???????????????????

 

int m_HiWi_temp = BCamera.CAMER_GetPropery(m_hCamer?? CMRCTL.OUT_SIZE);
byte[] m_byte_HiWi = BitConverter.GetBytes(m_HiWi_temp);
byte[] temp1 = new byte[2] { m_byte_HiWi[0]?? m_byte_HiWi[1] };
byte[] temp2 = new byte[2] { m_byte_HiWi[2]?? m_byte_HiWi[3] };
int width = BitConverter.ToInt16(temp1?? 0);
int high = BitConverter.ToInt16(temp2?? 0);

???????????????????c++??????????????int???????????c++?п????????int???????????????????????uint16?????顣????c#???????????????????????????
???????:?????????????????????????洢?????????c++?е????????????????????????c#??????????????????????????c#???????????????????????????????Щ??