MCPcopy Create free account
hub / github.com/NetHack/NetHack / CRctxt

Class CRctxt

sys/windows/windsys.c:1170–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168/* Windows helpers for CRASHREPORT etc */
1169#ifdef CRASHREPORT
1170struct CRctxt {
1171 BCRYPT_ALG_HANDLE bah;
1172 BCRYPT_HASH_HANDLE bhh;
1173 PBYTE pbhashobj;
1174 DWORD cbhashobj; /* temp */
1175 DWORD cbhash; /* hash length */
1176 DWORD cbdata; /* temp */
1177 PBYTE pbhash; /* binary hash */
1178 NTSTATUS st;
1179} ctxp_ = { NULL, NULL, NULL, 0, 0, 0, NULL, 0 };
1180struct CRctxt *ctxp = &ctxp_; // XXX should this now be in gc.* ?
1181
1182#define win32err(fn) errname = (char *) fn; goto error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected