Message385669
> uses a code snippet like this.
PathAllocCombine() is Windows 8+, so sample code that uses it would only be for Python 3.9+.
I'd prefer the function pointer to be returned as an out parameter, and return an HRESULT status as the result. If LoadLibraryExW() or GetProcAddress() fails, map the error code via HRESULT_FROM_WIN32(GetLastError()). And log to stderr instead of exiting with an error() call. |
|
Date |
User |
Action |
Args |
2021-01-25 21:43:14 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, jkloth, zach.ware, steve.dower |
2021-01-25 21:43:14 | eryksun | set | messageid: <1611610994.89.0.927282008765.issue43022@roundup.psfhosted.org> |
2021-01-25 21:43:14 | eryksun | link | issue43022 messages |
2021-01-25 21:43:14 | eryksun | create | |
|