Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
This function is to be implemented by a service and will be called by Services.exe.
Syntax
DWORD xxx_Init(
DWORD dwData
);
Parameters
- dwData
[in] Specifies the service-supplied data.
Return Value
Returns a value to be used in calls to xxx_Open (Services.exe).
Remarks
This function is called during RegisterService, in which case dwData will be the fourth parameter to RegisterService. It is also called during Services.exe initialization, in which case dwData is the DWORD value set in the registry value HKEY_LOCAL_MACHINE\Services\Service\Context, or zero if this value is not set.
Services.exe uses the xxx prefix. When implementing the stream interface, replace xxx with a prefix appropriate for your specific implementation. **
Requirements
| Header | Developer Implemented |
| Library | Developer Implemented |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
xxx_Open (Services.exe)
RegisterService
Services.exe Functions