Implemented StartServiceCtrlDispatcherA according to DispatcherW.
This commit is contained in:
parent
5076e1dbff
commit
096aba2ed1
|
@ -35,10 +35,14 @@ EnumServicesStatusA( SC_HANDLE hSCManager, DWORD dwServiceType,
|
|||
*/
|
||||
BOOL WINAPI
|
||||
StartServiceCtrlDispatcherA( LPSERVICE_TABLE_ENTRYA servent )
|
||||
{ LPSERVICE_TABLE_ENTRYA ptr = servent;
|
||||
{
|
||||
LPSERVICE_TABLE_ENTRYA ptr = servent;
|
||||
LPSERVICE_MAIN_FUNCTIONA fpMain;
|
||||
|
||||
while (ptr->lpServiceName)
|
||||
{ FIXME("%s at %p\n", ptr->lpServiceName, ptr);
|
||||
while (ptr->lpServiceName) {
|
||||
FIXME("%s at %p\n", ptr->lpServiceName, ptr);
|
||||
fpMain = ptr->lpServiceProc;
|
||||
fpMain(0,NULL); /* try to start the service */
|
||||
ptr++;
|
||||
}
|
||||
return TRUE;
|
||||
|
@ -52,11 +56,13 @@ StartServiceCtrlDispatcherA( LPSERVICE_TABLE_ENTRYA servent )
|
|||
*/
|
||||
BOOL WINAPI
|
||||
StartServiceCtrlDispatcherW( LPSERVICE_TABLE_ENTRYW servent )
|
||||
{ LPSERVICE_TABLE_ENTRYW ptr = servent;
|
||||
{
|
||||
LPSERVICE_TABLE_ENTRYW ptr = servent;
|
||||
LPSERVICE_MAIN_FUNCTIONW fpMain;
|
||||
|
||||
while (ptr->lpServiceName)
|
||||
{ FIXME("%s at %p): STUB.\n", debugstr_w(ptr->lpServiceName),ptr);
|
||||
while (ptr->lpServiceName) {
|
||||
FIXME("%s at %p): STUB.\n",
|
||||
debugstr_w(ptr->lpServiceName),ptr);
|
||||
fpMain = ptr->lpServiceProc;
|
||||
fpMain(0,NULL); /* try to start the service */
|
||||
ptr++;
|
||||
|
|
Loading…
Reference in New Issue