Search code examples
inno-setuppascalscript

What is "pointer" (PVOID) data type equivalence in Inno Setup


I'm trying to use the RegSetKeySecurity() function of Windows API, but the pSecurityDescriptor parameter is a pointer. What is "pointer" (PVOID) data type equivalence in Inno Setup?


Solution

  • The Pascal Scripting used in Inno Setup seems not to support pointers at all. Maybe you can just pass a cardinal (if 32-bit), or you could write your code in an external DLL and call this from the Inno Setup installation program.