VarDateFromUdate
This function packs a date.
HRESULT VarDateFromUdate(
[in] UDATE *pudateIn,
[in] unsigned long *dwFlags,
[out] DATE *pdateOut );
Parameters
- pudateIn
[in] Unpacked date. - dwFlags
[in] Returns VAR_VALIDDATE on valid date. - pdateOut
[out] Packed date.
Return Values
The return value obtained from the returned HRESULT is one of the following.
| Value | Description |
|---|---|
| S_OK | Success. |
| E_OUTOFMEMORY | Out of memory. |
Remarks
Passing into this function any invalid and, under some circumstances, NULL pointers will result in unexpected termination of the application.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Oleauto.h | Oleaut32.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.