FactoryXCode / MfPack

Delphi translations for Microsoft Media Foundation and related API's
Mozilla Public License 2.0
80 stars 22 forks source link

Fixed function parameter types in MfPack.Evntprov.pas #6

Closed MBulli closed 4 years ago

MBulli commented 4 years ago

Fixed more function signatures in MfPack.Evntprov.pas.

I tested my changes with my ETW provider.

I was unsure about PCEVENT_DESCRIPTOR vs PEVENT_DESCRIPTOR. One is a const pointer to a EVENT_DESCRIPTOR struct the other is a plain pointer. In Delphi both are obviously plain pointers. I decided to use PCEVENT_DESCRIPTOR to match the C signature (same with LPCGUID).

MBulli commented 4 years ago

Too bad! Thanks.