Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
Improved CapturePhotoConfirmation mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Jan 3, 2017
1 parent 8d2906b commit d093456
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Source/SharpDX.MediaFoundation/CapturePhotoConfirmation.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpDX.MediaFoundation
{
public partial class CapturePhotoConfirmation
{
public IAsyncCallback PhotoConfirmationCallback
{
set
{
SetPhotoConfirmationCallback_(AsyncCallbackShadow.ToIntPtr(value));
}
}
}
}
2 changes: 2 additions & 0 deletions Source/SharpDX.MediaFoundation/Mapping-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@
<!-- temp: use void* type for VARIANT* -->
<map param="IMFASFIndexer::GetSeekPositionForValue::pvarValue" type="void"/>

<map method="IMFCapturePhotoConfirmation::SetPhotoConfirmationCallback" visibility="internal" property="false"/>

<!--
// *****************************************************************
// MediaFoundation Functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<Compile Include="CaptureEngineOnSampleCallback2.cs" />
<Compile Include="CaptureEngineOnSampleCallback2Shadow.cs" />
<Compile Include="CaptureEngineOnSampleCallbackShadow.cs" />
<Compile Include="CapturePhotoConfirmation.cs" />
<Compile Include="ClockStateSink.cs" />
<Compile Include="ClockStateSinkShadow.cs" />
<Compile Include="MediaTypeHandler.cs" />
Expand Down

0 comments on commit d093456

Please sign in to comment.