private static extern int OpenNative(int type, int handle, ref CameraImportDialog.DialogArguments dialogArguments);
private void Open(CameraImportDialog.DialogArguments args) { int nativeResult = CameraImportDialog.OpenNative(CameraImportDialog.DialogType, this.m_Handle, ref args); CameraImportDialog.CheckNativeResult(nativeResult); }