Code: Select all
[In][MarshalAs(UnmanagedType.LPStruct)] Guid pgActionID,
In the compilation process of the VMP in version 1911, sometimes the [MarshalAs(UnmanagedType.LPStruct)] attribute would be missing from the above function. This problem appears unstable and requires enabling an additional protection option, such as Memory Protection.
As a result, calling this function would result in the error "Exception from HRESULT: 0x80131130 Record not found on lookup."
Perhaps you are already aware of and have fixed this issue.