Searched refs:lpService (Results 1 – 2 of 2) sorted by relevance
/external/mdnsresponder/mDNSWindows/DLL/ |
D | dllmain.c | 41 ENUM_SERVICE_STATUS * lpService = NULL; in IsSystemServiceDisabled() local 65 …ok = EnumServicesStatus ( sc, srvType, srvState, lpService, dwBytes, &bytesNeeded, &srvCount, &res… in IsSystemServiceDisabled() 72 if ( lpService ) in IsSystemServiceDisabled() 74 free( lpService ); in IsSystemServiceDisabled() 79 lpService = ( ENUM_SERVICE_STATUS* ) malloc( dwBytes ); in IsSystemServiceDisabled() 80 require_action( lpService, exit, ret = FALSE ); in IsSystemServiceDisabled() 88 if ( strcmp( lpService[i].lpServiceName, "Bonjour Service" ) == 0 ) in IsSystemServiceDisabled() 90 …if ( ( lpService[i].ServiceStatus.dwCurrentState == SERVICE_PAUSED ) || ( lpService[i].ServiceStat… in IsSystemServiceDisabled() 101 if ( lpService ) in IsSystemServiceDisabled() 103 free( lpService ); in IsSystemServiceDisabled()
|
/external/mdnsresponder/mDNSWindows/SystemService/ |
D | Service.c | 603 ENUM_SERVICE_STATUS * lpService = NULL; in CheckFirewall() local 631 …ok = EnumServicesStatus ( sc, srvType, srvState, lpService, dwBytes, &bytesNeeded, &srvCount, &res… in CheckFirewall() 638 if ( lpService ) in CheckFirewall() 640 free( lpService ); in CheckFirewall() 645 lpService = ( ENUM_SERVICE_STATUS* ) malloc( dwBytes ); in CheckFirewall() 646 require_action( lpService, exit, err = mStatus_NoMemoryErr ); in CheckFirewall() 654 if ( wcscmp( lpService[i].lpServiceName, L"SharedAccess" ) == 0 ) in CheckFirewall() 656 if ( lpService[i].ServiceStatus.dwCurrentState == SERVICE_RUNNING ) in CheckFirewall() 705 if ( lpService ) in CheckFirewall() 707 free( lpService ); in CheckFirewall()
|