Share via


xxx_Init

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

DWORD xxx_Init(
  DWORD dwData
);

Parameters

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

Return Values

Returns a value to be used in calls to xxx_Open.

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.

Requirements

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

See Also

xxx_Open | RegisterService | Services.exe Functions

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.