Compartilhar via


VarDateFromUdate (Windows CE 5.0)

Send Feedback

This function packs a date.

HRESULT VarDateFromUdate( UDATE* pudateIn, unsigned long* dwFlags, DATE* pdateOut);

Parameters

  • pudateIn
    [in] Unpacked date.
  • dwFlags
    [in] Returns VAR_VALIDDATE on valid date.
  • pdateOut
    [out] Packed date.

Return Values

Returns the HRESULT values shown in the following table.

Value Description
S_OK Success.
E_OUTOFMEMORY Out of memory.

Remarks

Passing invalid (and under some circumstances NULL) pointers to this function causes an unexpected termination of the application.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oleauto.h.
Link Library: Oleaut32.lib.

See Also

Automation Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.