Article ID: 125714
Article Last Modified on 10/30/2003
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
RunServices [key]
bubba95=service.exe /params [string value]
...
RunServicesOnce [key]
...
The value names are arbitrary. The value data is the command line passed to
CreateProcess(). Values under the key RunServicesOnce are deleted after the
application is launched. Because these applications are started before the
user logs onto the system, the user has not been validated and the
applications cannot assume that they have particular networking permissions
enabled. Windows 95, unlike Windows NT, only has one security context for
the entire system. Therefore, don't assume that any application that starts
has access to a particular network resource because a particular user has
access to this network resource.
DWORD RegisterServiceProcess(
DWORD dwProcessId, // process identifier
DWORD dwServiceType // type of service
);
Parameters:
Define Value Meaning
RSP_SIMPLE_SERVICE 0x00000001 Registers the process as a
simple service process.
RSP_UNREGISTER_SERVICE 0x00000000 Unregisters the process as a
service process.
Additional query words: 3.95 4.00
Keywords: kbhowto kbservice kbkernbase KB125714