xxx_Init (Services.exe) (Windows CE 5.0)

Send Feedback

This function is to be implemented by a service and will be called by Services.exe.

DWORD xxx_Init(DWORDdwData);

Parameters

  • dwData
    [in] Specifies the service-supplied data.

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Developer-defined.
Library: Developer-implemented.

See Also

xxx_Open (Services.exe) | RegisterService | Services.exe Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.