質問編集履歴
2
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -54,4 +54,24 @@
|
|
54
54
|
[In, Out]ref uint NumberOfResults,
|
55
55
|
[In, Out] IntPtr ptrCandidates,
|
56
56
|
int Timeout);
|
57
|
-
```
|
57
|
+
```
|
58
|
+
|
59
|
+
Cの仕様
|
60
|
+
```C
|
61
|
+
BioAPI_RETURN BioAPI BioAPI_IdentifyMatch (
|
62
|
+
BioAPI_HANDLE ModuleHandle,
|
63
|
+
const BioAPI_FAR *MaxFARRequested,
|
64
|
+
const BioAPI_FRR *MaxFRRRequested,
|
65
|
+
const BioAPI_BOOL *FARPrecedence,
|
66
|
+
const BioAPI_INPUT_BIR *ProcessedBIR,
|
67
|
+
const BioAPI_IDENTIFY_POPULATION *Population
|
68
|
+
BioAPI_BOOL Binning,
|
69
|
+
uint32 MaxNumberOfResults,
|
70
|
+
uint32 *NumberOfResults,
|
71
|
+
BioAPI_CANDIDATE_ARRAY_PTR *Candidates,
|
72
|
+
sint32 Timeout
|
73
|
+
);
|
74
|
+
```
|
75
|
+
|
76
|
+
【追加質問】
|
77
|
+
PopulationとNumberOfResultsがポインタになっているにも関わらずDllimportではrefになっていますが、良いでしょうか?
|
1
タグ修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
【ソース】
|
7
7
|
BioAPI_IdentifyMatchで以下のエラーがでます。
|
8
8
|
|
9
|
+
```C#
|
9
10
|
BioAPI_HANDLE ModuleHandle = 0;
|
10
11
|
BioAPI_FAR MaxFARRequested = null;
|
11
12
|
BioAPI_FRR MaxFRRRequested = null;
|
@@ -39,14 +40,9 @@
|
|
39
40
|
ref NumberOfResults,
|
40
41
|
ptrCandidates,
|
41
42
|
Timeout);
|
42
|
-
|
43
|
+
```
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
44
|
■BioAPI_IdentifyMatchの定義
|
45
|
+
```C#
|
50
46
|
[DllImport("bioapi100.dll")]
|
51
47
|
public static extern BioAPI_RETURN BioAPI_IdentifyMatch(
|
52
48
|
BioAPI_HANDLE ModuleHandle, ref BioAPI_FAR MaxFARRequested,
|
@@ -57,4 +53,5 @@
|
|
57
53
|
uint MaxNumberOfResults,
|
58
54
|
[In, Out]ref uint NumberOfResults,
|
59
55
|
[In, Out] IntPtr ptrCandidates,
|
60
|
-
int Timeout);
|
56
|
+
int Timeout);
|
57
|
+
```
|