Home
last modified time | relevance | path

Searched refs:obHandle (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/PC/
Dwinreg.c22 static BOOL PyHKEY_Close(PyObject *obHandle);
472 PyWinObject_CloseHKEY(PyObject *obHandle) in PyWinObject_CloseHKEY() argument
475 if (PyHKEY_Check(obHandle)) { in PyWinObject_CloseHKEY()
476 ok = PyHKEY_Close(obHandle); in PyWinObject_CloseHKEY()
479 else if (PyLong_Check(obHandle)) { in PyWinObject_CloseHKEY()
480 long rc = RegCloseKey((HKEY)PyLong_AsLong(obHandle)); in PyWinObject_CloseHKEY()
486 else if (PyLong_Check(obHandle)) { in PyWinObject_CloseHKEY()
487 long rc = RegCloseKey((HKEY)PyLong_AsVoidPtr(obHandle)); in PyWinObject_CloseHKEY()
/external/python/cpython2/PC/
D_winreg.c22 static BOOL PyHKEY_Close(PyObject *obHandle);
679 PyWinObject_CloseHKEY(PyObject *obHandle) in PyWinObject_CloseHKEY() argument
682 if (PyHKEY_Check(obHandle)) { in PyWinObject_CloseHKEY()
683 ok = PyHKEY_Close(obHandle); in PyWinObject_CloseHKEY()
686 else if (PyInt_Check(obHandle)) { in PyWinObject_CloseHKEY()
687 long rc = RegCloseKey((HKEY)PyInt_AsLong(obHandle)); in PyWinObject_CloseHKEY()
693 else if (PyLong_Check(obHandle)) { in PyWinObject_CloseHKEY()
694 long rc = RegCloseKey((HKEY)PyLong_AsVoidPtr(obHandle)); in PyWinObject_CloseHKEY()