How can I define this function in Delphi ? I know imports only without entry point and can't find any usefull example :(
That's written in C#
[DllImport("dwmapi.dll", EntryPoint = "#131")]
static extern int DwmpSetColorizationParameters(ref DwmColorParams dcpParams,
bool alwaysTrue);
Thanks a lot
Best regards
This should do, although I'm not sure about the const
for alwaysTrue
.
function DwmpSetColorizationParameters(var dcpParams: TDwmColorParams;
alwaysTrue: BOOL): Integer; stdcall;
external 'dwmapi.dll' index 131;