Searched refs:obHandle (Results 1 – 2 of 2) sorted by relevance
22 static BOOL PyHKEY_Close(PyObject *obHandle);472 PyWinObject_CloseHKEY(PyObject *obHandle) in PyWinObject_CloseHKEY() argument475 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()
22 static BOOL PyHKEY_Close(PyObject *obHandle);679 PyWinObject_CloseHKEY(PyObject *obHandle) in PyWinObject_CloseHKEY() argument682 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()