Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
/SharpDXPublic archive

Commitd093456

Browse files
committed
Improved CapturePhotoConfirmation mapping.
1 parent8d2906b commitd093456

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
usingSystem;
2+
usingSystem.Collections.Generic;
3+
usingSystem.Linq;
4+
usingSystem.Text;
5+
usingSystem.Threading.Tasks;
6+
7+
namespaceSharpDX.MediaFoundation
8+
{
9+
publicpartialclassCapturePhotoConfirmation
10+
{
11+
publicIAsyncCallbackPhotoConfirmationCallback
12+
{
13+
set
14+
{
15+
SetPhotoConfirmationCallback_(AsyncCallbackShadow.ToIntPtr(value));
16+
}
17+
}
18+
}
19+
}

‎Source/SharpDX.MediaFoundation/Mapping-core.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,8 @@
840840
<!-- temp: use void* type for VARIANT*-->
841841
<mapparam="IMFASFIndexer::GetSeekPositionForValue::pvarValue"type="void"/>
842842

843+
<mapmethod="IMFCapturePhotoConfirmation::SetPhotoConfirmationCallback"visibility="internal"property="false"/>
844+
843845
<!--
844846
// *****************************************************************
845847
// MediaFoundation Functions

‎Source/SharpDX.MediaFoundation/SharpDX.MediaFoundation.csproj‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<CompileInclude="CaptureEngineOnSampleCallback2.cs" />
3131
<CompileInclude="CaptureEngineOnSampleCallback2Shadow.cs" />
3232
<CompileInclude="CaptureEngineOnSampleCallbackShadow.cs" />
33+
<CompileInclude="CapturePhotoConfirmation.cs" />
3334
<CompileInclude="ClockStateSink.cs" />
3435
<CompileInclude="ClockStateSinkShadow.cs" />
3536
<CompileInclude="MediaTypeHandler.cs" />

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp