/*
* Win32 advapi functions
*
* Copyright 1995 Sven Verdoolaege
*/
#include <stdio.h>
#include <unistd.h>
#include "windows.h"
#include "winerror.h"
#include "advapi32.h"
#include "stddebug.h"
#include "debug.h"
/***********************************************************************
* StartServiceCtrlDispatcherA [ADVAPI32.196]
BOOL32
StartServiceCtrlDispatcher32A(LPSERVICE_TABLE_ENTRY32A servent)
{
fprintf(stderr,"StartServiceCtrlDispatcherA(%p (%s)), STUB.\n",
servent,
servent->lpServiceName
);
return TRUE;
}
* StartServiceCtrlDispatcherW [ADVAPI32.197]
StartServiceCtrlDispatcher32W(LPSERVICE_TABLE_ENTRY32W servent)
char buffer[200];
lstrcpynWtoA(buffer,servent->lpServiceName,200);
buffer
* OpenProcessToken [ADVAPI32.197]
OpenProcessToken(HANDLE32 process,DWORD desiredaccess,HANDLE32 *thandle)
fprintf(stdnimp,"OpenProcessToken(%08x,%08lx,%p),stub!\n",
process,desiredaccess,thandle
* LookupPrivilegeValueA [ADVAPI32.90]
LookupPrivilegeValue32A(LPCSTR system,LPCSTR name,LPVOID bla)
fprintf(stdnimp,"LookupPrivilegeValue32A(%s,%s,%p),stub\n",
system,name,bla
AdjustTokenPrivileges(HANDLE32 TokenHandle,BOOL32 DisableAllPrivileges,
LPVOID NewState,DWORD BufferLength,LPVOID PreviousState,
LPDWORD ReturnLength )