Difference between revisions of "OpenFileDialog"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = OpenFileDialog | header = fxcg/file.h | index = 0x17E9 | signature = int OpenFileDialog(unsigned short keycode, unsigned short* filenamebuffer, int filename...")
 
 
Line 11: Line 11:
 
| returns = The meaning of the return value is unknown.
 
| returns = The meaning of the return value is unknown.
 
}}
 
}}
 +
[[Category:Syscalls:UI elements]]

Latest revision as of 18:07, 18 November 2014


Synopsis

Header: fxcg/file.h
Syscall index: 0x17E9
Function signature: int OpenFileDialog(unsigned short keycode, unsigned short* filenamebuffer, int filenamebufferlength)

Shows a dialog allowing to select a g3p file, the same shown on the Geometry add-in when opening a g3p file.

Parameters

  • keycode - Meaning unknown, set to 0x756B.
  • filenamebuffer - Pointer to buffer that will receive a 16 bit string containing the path of the file the user chose. Should be at least 0x214 bytes long.
  • filenamebufferlength - Size of the buffer needed for the previous parameter.

Returns

The meaning of the return value is unknown.