xxx_Init (Services.exe) (Windows Embedded CE 6.0)
1/6/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. For more information, see Stream Interface Driver Implementation.
Requirements
Header | Developer Implemented |
Library | Developer Implemented |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Services.exe Functions
xxx_Open (Services.exe)
RegisterService