Desktop Functions: Smart Device Functions:
|
SetLocalTime (coredll)
coredll is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for SetLocalTime in other DLLs exists, click on Find References to the right. C# Signature:
[DllImport("coredll.dll", SetLastError=true)] VB Signature:
Private Shared Function SetLocalTime(ByRef time As SYSTEMTIME) As Boolean User-Defined Types C#:
public struct SYSTEMTIME User-Defined Types VB:
Private Structure SYSTEMTIME Alternative Managed API:Do you know one? Please contribute it! Notes:This function set the system time with consideration to locale settings and summer time. To set the date and time without consideration to the locale settings use SetSystemTime. Tips & Tricks:Please add some! Sample Code:To see sample code for VB, please go to SetSystemTime. C# Sample Code public static void SetSystemTime(DateTime dt)
{ Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|