Share via


WZCSetContext (Windows Embedded CE 6.0)

1/6/2010

This function sets specified WZC service parameters.

Syntax

DWORD WZCSetContext(
  LPWSTR pSrvAddr,
  DWORD dwInFlags,
  PWZC_CONTEXT pContext,
  LPDWORD pdwOutFlags
);

Parameters

  • pSrvAddr
    [in] Not used. This parameter must be set to NULL.
  • dwInFlags
    [in] Bitmask of flags that indicates the fields to be set in the WZC_CONTEXT object pointed by the pContext parameter. For more information see the WZC_CONTEXT_CTL_TIMER flags described in Automatic Configuration Constants.
  • pContext
    [in] Pointer to the WZC_CONTEXT object that contains the specific parameters to be set.
  • pdwOutFlags
    [out] DWORD that indicates the fields that were successfully set. If such an indication is not required, then the application must pass NULL.

Return Value

Returns ERROR_SUCCESS if the operation is completed successfully, otherwise returns a Microsoft Win32 error code.

Requirements

Header wzcsapi.h
Library Wzcsapi.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Automatic Configuration Functions
WZCQueryContext