Lines Matching refs:hkey
388 HKEY hkey; member
422 if (obkey->hkey) in PyHKEY_deallocFunc()
423 RegCloseKey((HKEY)obkey->hkey); in PyHKEY_deallocFunc()
430 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_nonzeroFunc()
437 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc()
445 ob, pyhkey->hkey); in PyHKEY_printFunc()
453 return PyString_FromFormat("<PyHKEY:%p>", pyhkey->hkey); in PyHKEY_strFunc()
516 {"handle", T_PYSSIZET, offsetof(PyHKEYObject, hkey), READONLY},
577 ret = (void*)pThis->hkey; in PyHKEY_DetachMethod()
578 pThis->hkey = 0; in PyHKEY_DetachMethod()
606 key->hkey = hInit; in PyHKEY_New()
621 rc = key->hkey ? RegCloseKey((HKEY)key->hkey) : ERROR_SUCCESS; in PyHKEY_Close()
622 key->hkey = 0; in PyHKEY_Close()
642 *pHANDLE = pH->hkey; in PyHKEY_AsHKEY()
670 op->hkey = h; in PyHKEY_FromHKEY()