Bug 18482 – wincrypt functions should be `@nogc` `nothrow`
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2018-02-21T10:23:52Z
Last change time
2018-02-21T12:29:34Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0 by n8sh.secondary — 2018-02-21T10:23:52Z
core.sys.windows.wincrypt functions should be `@nogc` `nothrow`. They don't use D's garbage collector and they don't use D exceptions or C++ exceptions to signal errors, but rather return status codes and error codes accessible via GetLastError().
Comment #1 by n8sh.secondary — 2018-02-21T10:24:55Z