Lines Matching refs:wg
29 php_win32_core_globals *wg = (php_win32_core_globals*)vg; in php_win32_core_globals_ctor() local
30 memset(wg, 0, sizeof(*wg)); in php_win32_core_globals_ctor()
32 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_ctor()
34 wg->log_source = INVALID_HANDLE_VALUE; in php_win32_core_globals_ctor()
39 php_win32_core_globals *wg = (php_win32_core_globals*)vg; in php_win32_core_globals_dtor() local
41 if (wg->registry_key) { in php_win32_core_globals_dtor()
42 RegCloseKey(wg->registry_key); in php_win32_core_globals_dtor()
43 wg->registry_key = NULL; in php_win32_core_globals_dtor()
45 if (wg->registry_event) { in php_win32_core_globals_dtor()
46 CloseHandle(wg->registry_event); in php_win32_core_globals_dtor()
47 wg->registry_event = NULL; in php_win32_core_globals_dtor()
49 if (wg->registry_directories) { in php_win32_core_globals_dtor()
50 zend_hash_destroy(wg->registry_directories); in php_win32_core_globals_dtor()
51 free(wg->registry_directories); in php_win32_core_globals_dtor()
52 wg->registry_directories = NULL; in php_win32_core_globals_dtor()
55 if (INVALID_SOCKET != wg->mail_socket) { in php_win32_core_globals_dtor()
56 closesocket(wg->mail_socket); in php_win32_core_globals_dtor()
57 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_dtor()