terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
nativefiledialog.cs
Go to the documentation of this file.
1using System;
4using System.Text;
7
8[global::Cpp2ILInjected.Token(Token = "0x20002E3")]
9public static class nativefiledialog
10{
11 [global::Cpp2ILInjected.Token(Token = "0x6001112")]
12 [global::Cpp2ILInjected.Address(RVA = "0xA676E0", Offset = "0xA676E0", Length = "0x10")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 private static int Utf8Size(string str)
16 {
17 throw null;
18 }
19
20 [global::Cpp2ILInjected.Token(Token = "0x6001113")]
21 [global::Cpp2ILInjected.Address(RVA = "0xA676F0", Offset = "0xA676F0", Length = "0xC4")]
22 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_OpenDialog", MemberParameters = new object[]
24 {
25 typeof(string),
26 typeof(string),
27 typeof(ref string)
28 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_OpenDialogMultiple", MemberParameters = new object[]
30 {
31 typeof(string),
32 typeof(string),
34 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_SaveDialog", MemberParameters = new object[]
36 {
37 typeof(string),
38 typeof(string),
39 typeof(ref string)
40 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_PickFolder", MemberParameters = new object[]
42 {
43 typeof(string),
44 typeof(ref string)
45 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "AllocHGlobal", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(IntPtr))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void*))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
52 private unsafe static byte* Utf8EncodeNullable(string str)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6001114")]
58 [global::Cpp2ILInjected.Address(RVA = "0xA677B4", Offset = "0xA677B4", Length = "0x1A0")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_OpenDialog", MemberParameters = new object[]
61 {
62 typeof(string),
63 typeof(string),
64 typeof(ref string)
65 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_SaveDialog", MemberParameters = new object[]
67 {
68 typeof(string),
69 typeof(string),
70 typeof(ref string)
71 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_PickFolder", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(ref string)
76 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_GetError", ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_PathSet_GetPath", MemberParameters = new object[]
79 {
82 }, ReturnType = typeof(string))]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Equality", MemberParameters = new object[]
85 {
88 }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void*))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
92 {
93 typeof(char*),
94 typeof(int),
95 typeof(int)
96 }, ReturnType = typeof(string))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "free", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
99 private unsafe static string UTF8_ToManaged(IntPtr s, bool freePtr = false)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6001115")]
105 [global::Cpp2ILInjected.Address(RVA = "0xA67954", Offset = "0xA67954", Length = "0x7C")]
106 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
108 {
109 typeof(IntPtr),
110 typeof(bool)
111 }, ReturnType = typeof(string))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
115 private static extern void free(IntPtr ptr);
116
117 [global::Cpp2ILInjected.Token(Token = "0x6001116")]
118 [global::Cpp2ILInjected.Address(RVA = "0xA679D0", Offset = "0xA679D0", Length = "0x94")]
119 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_OpenDialog", MemberParameters = new object[]
121 {
122 typeof(string),
123 typeof(string),
124 typeof(ref string)
125 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
126 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
128 [PreserveSig]
130
131 [global::Cpp2ILInjected.Token(Token = "0x6001117")]
132 [global::Cpp2ILInjected.Address(RVA = "0xA67A64", Offset = "0xA67A64", Length = "0xE0")]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "Utf8EncodeNullable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte*))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_OpenDialog", MemberParameters = new object[]
136 {
137 typeof(byte*),
138 typeof(byte*),
140 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(IntPtr))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "FreeHGlobal", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
144 {
145 typeof(IntPtr),
146 typeof(bool)
147 }, ReturnType = typeof(string))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x6001118")]
155 [global::Cpp2ILInjected.Address(RVA = "0xA67B44", Offset = "0xA67B44", Length = "0x94")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_OpenDialogMultiple", MemberParameters = new object[]
158 {
159 typeof(string),
160 typeof(string),
162 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
167
168 [global::Cpp2ILInjected.Token(Token = "0x6001119")]
169 [global::Cpp2ILInjected.Address(RVA = "0xA67BD8", Offset = "0xA67BD8", Length = "0xC4")]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "Utf8EncodeNullable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte*))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_OpenDialogMultiple", MemberParameters = new object[]
173 {
174 typeof(byte*),
175 typeof(byte*),
177 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(IntPtr))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "FreeHGlobal", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
185
186 [global::Cpp2ILInjected.Token(Token = "0x600111A")]
187 [global::Cpp2ILInjected.Address(RVA = "0xA67C9C", Offset = "0xA67C9C", Length = "0x94")]
188 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_SaveDialog", MemberParameters = new object[]
190 {
191 typeof(string),
192 typeof(string),
193 typeof(ref string)
194 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
199
200 [global::Cpp2ILInjected.Token(Token = "0x600111B")]
201 [global::Cpp2ILInjected.Address(RVA = "0xA67D30", Offset = "0xA67D30", Length = "0xE0")]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "Utf8EncodeNullable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte*))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_SaveDialog", MemberParameters = new object[]
205 {
206 typeof(byte*),
207 typeof(byte*),
209 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(IntPtr))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "FreeHGlobal", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
213 {
214 typeof(IntPtr),
215 typeof(bool)
216 }, ReturnType = typeof(string))]
217 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
219 {
220 throw null;
221 }
222
223 [global::Cpp2ILInjected.Token(Token = "0x600111C")]
224 [global::Cpp2ILInjected.Address(RVA = "0xA67E10", Offset = "0xA67E10", Length = "0x84")]
225 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_PickFolder", MemberParameters = new object[]
227 {
228 typeof(string),
229 typeof(ref string)
230 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
232 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
235
236 [global::Cpp2ILInjected.Token(Token = "0x600111D")]
237 [global::Cpp2ILInjected.Address(RVA = "0xA67E94", Offset = "0xA67E94", Length = "0xAC")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "Utf8EncodeNullable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte*))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_PickFolder", MemberParameters = new object[]
241 {
242 typeof(byte*),
244 }, ReturnType = typeof(nativefiledialog.nfdresult_t))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(IntPtr))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "FreeHGlobal", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
248 {
249 typeof(IntPtr),
250 typeof(bool)
251 }, ReturnType = typeof(string))]
252 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x600111E")]
259 [global::Cpp2ILInjected.Address(RVA = "0xA67F40", Offset = "0xA67F40", Length = "0x68")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_GetError", ReturnType = typeof(string))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
263 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
264 [PreserveSig]
265 private static extern IntPtr INTERNAL_NFD_GetError();
266
267 [global::Cpp2ILInjected.Token(Token = "0x600111F")]
268 [global::Cpp2ILInjected.Address(RVA = "0xA67FA8", Offset = "0xA67FA8", Length = "0x14")]
269 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_GetError", ReturnType = typeof(IntPtr))]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
272 {
273 typeof(IntPtr),
274 typeof(bool)
275 }, ReturnType = typeof(string))]
276 public static string NFD_GetError()
277 {
278 throw null;
279 }
280
281 [global::Cpp2ILInjected.Token(Token = "0x6001120")]
282 [global::Cpp2ILInjected.Address(RVA = "0xA67FBC", Offset = "0xA67FBC", Length = "0x7C")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
286 [PreserveSig]
288
289 [global::Cpp2ILInjected.Token(Token = "0x6001121")]
290 [global::Cpp2ILInjected.Address(RVA = "0xA68038", Offset = "0xA68038", Length = "0x84")]
291 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
292 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(nativefiledialog), Member = "NFD_PathSet_GetPath", MemberParameters = new object[]
293 {
296 }, ReturnType = typeof(string))]
297 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
299 [PreserveSig]
301
302 [global::Cpp2ILInjected.Token(Token = "0x6001122")]
303 [global::Cpp2ILInjected.Address(RVA = "0xA680BC", Offset = "0xA680BC", Length = "0x14")]
304 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "INTERNAL_NFD_PathSet_GetPath", MemberParameters = new object[]
306 {
309 }, ReturnType = typeof(IntPtr))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(nativefiledialog), Member = "UTF8_ToManaged", MemberParameters = new object[]
311 {
312 typeof(IntPtr),
313 typeof(bool)
314 }, ReturnType = typeof(string))]
316 {
317 throw null;
318 }
319
320 [global::Cpp2ILInjected.Token(Token = "0x6001123")]
321 [global::Cpp2ILInjected.Address(RVA = "0xA680D0", Offset = "0xA680D0", Length = "0x7C")]
322 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
323 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
325 [PreserveSig]
327
328 [global::Cpp2ILInjected.Token(Token = "0x40020E2")]
329 private const string nativeLibName = "nfd";
330
331 [global::Cpp2ILInjected.Token(Token = "0x20002E4")]
332 public enum nfdresult_t
333 {
334 [global::Cpp2ILInjected.Token(Token = "0x40020E4")]
335 NFD_ERROR,
336 [global::Cpp2ILInjected.Token(Token = "0x40020E5")]
337 NFD_OKAY,
338 [global::Cpp2ILInjected.Token(Token = "0x40020E6")]
340 }
341
342 [global::Cpp2ILInjected.Token(Token = "0x20002E5")]
343 public struct nfdpathset_t
344 {
345 [global::Cpp2ILInjected.Token(Token = "0x40020E7")]
346 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
347 private IntPtr buf;
348
349 [global::Cpp2ILInjected.Token(Token = "0x40020E8")]
350 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
352
353 [global::Cpp2ILInjected.Token(Token = "0x40020E9")]
354 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
355 private IntPtr count;
356 }
357}
class f__AnonymousType0<< Count > j__TPar
static unsafe nativefiledialog.nfdresult_t NFD_PickFolder(string defaultPath, out string outPath)
static unsafe nativefiledialog.nfdresult_t NFD_OpenDialog(string filterList, string defaultPath, out string outPath)
static unsafe nativefiledialog.nfdresult_t INTERNAL_NFD_PickFolder(byte *defaultPath, out IntPtr outPath)
static unsafe nativefiledialog.nfdresult_t INTERNAL_NFD_OpenDialogMultiple(byte *filterList, byte *defaultPath, out nativefiledialog.nfdpathset_t outPaths)
static string NFD_PathSet_GetPath(ref nativefiledialog.nfdpathset_t pathset, IntPtr index)
const string nativeLibName
static unsafe nativefiledialog.nfdresult_t INTERNAL_NFD_OpenDialog(byte *filterList, byte *defaultPath, out IntPtr outPath)
static IntPtr NFD_PathSet_GetCount(ref nativefiledialog.nfdpathset_t pathset)
static void free(IntPtr ptr)
static unsafe nativefiledialog.nfdresult_t INTERNAL_NFD_SaveDialog(byte *filterList, byte *defaultPath, out IntPtr outPath)
static unsafe nativefiledialog.nfdresult_t NFD_SaveDialog(string filterList, string defaultPath, out string outPath)
static unsafe string UTF8_ToManaged(IntPtr s, bool freePtr=false)
static void NFD_PathSet_Free(ref nativefiledialog.nfdpathset_t pathset)
static IntPtr INTERNAL_NFD_PathSet_GetPath(ref nativefiledialog.nfdpathset_t pathset, IntPtr index)
static IntPtr INTERNAL_NFD_GetError()
static string NFD_GetError()
static unsafe byte * Utf8EncodeNullable(string str)
static int Utf8Size(string str)
static unsafe nativefiledialog.nfdresult_t NFD_OpenDialogMultiple(string filterList, string defaultPath, out nativefiledialog.nfdpathset_t outPaths)