WZCSetContext (Windows CE 5.0)

Send Feedback

This function sets specified WZC service parameters.

DWORD WZCSetContext(LPWSTRpSrvAddr,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 Values

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

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Wzcsapi.h.
Link Library: Wzcsapi.lib.

See Also

WZCQueryContext

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.