- Timestamp:
- Jun 12, 2001, 8:24:10 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/advapi32/service.cpp
r5748 r5976 1 /* $Id: service.cpp,v 1. 6 2001-05-19 11:13:05sandervl Exp $ */1 /* $Id: service.cpp,v 1.7 2001-06-12 18:24:10 sandervl Exp $ */ 2 2 3 3 /* … … 1166 1166 1167 1167 BOOL WIN32API EnumServicesStatusA(SC_HANDLE hSCManager, 1168 1169 1170 1171 1172 1173 1174 1168 DWORD dwServiceType, 1169 DWORD dwServiceState, 1170 LPENUM_SERVICE_STATUSA lpServices, 1171 DWORD cbBufSize, 1172 LPDWORD pcbBytesNeeded, 1173 LPDWORD lpServicesReturned, 1174 LPDWORD lpResumeHandle) 1175 1175 { 1176 1176 dprintf(("ADVAPI32: EnumServicesStatusA(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh,%08xh,%08xh) not implemented.\n", … … 1184 1184 lpResumeHandle)); 1185 1185 1186 SetLastError (ERROR_ACCESS_DENIED); 1187 return (FALSE); /* signal failure */ 1186 if(lpServicesReturned) { 1187 *lpServicesReturned = 0; 1188 } 1189 if(pcbBytesNeeded) { 1190 *pcbBytesNeeded = sizeof(ENUM_SERVICE_STATUSA); 1191 } 1192 return TRUE; /* signal failure */ 1188 1193 } 1189 1194 … … 1228 1233 lpResumeHandle)); 1229 1234 1230 SetLastError (ERROR_ACCESS_DENIED); 1231 return (FALSE); /* signal failure */ 1235 if(lpServicesReturned) { 1236 *lpServicesReturned = 0; 1237 } 1238 if(pcbBytesNeeded) { 1239 *pcbBytesNeeded = sizeof(ENUM_SERVICE_STATUSA); 1240 } 1241 return TRUE; /* signal failure */ 1232 1242 } 1233 1243
Note:
See TracChangeset
for help on using the changeset viewer.