PSReflect
PSReflect copied to clipboard
Easily define in-memory enums, structs, and Win32 functions in PowerShell
How about something like this? ```powershell $LARGE_INTEGER = New-Struct LARGE_INTEGER { Int64 'QuadPart 0' Int32 'LowPart 0' UInt32 'HighPart 4' } -Explicit $FILE_DIRECTORY_INFORMATION = New-Struct FILE_DIRECTORY_INFORMATION { UInt32 'NextEntryOffset' UInt32...
PSReflect does not have the ability to use the MarshalAs attribute on function parameters. Below is an example P/Invoke definition where the MarshalAs attribute is used on the pgActionID parameter:...
PSReflectInstall