ttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dllmain.asp >The entry-point function should perform only simple initialization or termination tasks. >Calling functions that require DLLs other than Kernel32.dll may result in problems that are difficult to diagnose. >For example, calling User, Shell, and COM functions can cause access violation errors, >because some functions load other system components.
Retrieves the number of milliseconds that have elapsed since the system was started.
ULONGLONG WINAPI GetTickCount64(void);
Parameters This function has no parameters. Return Values The number of milliseconds. Remarks
This function is limited to the resolution of the system timer. To obtain the system timer resolution, use the GetSystemTimeAdjustment function.
If you need a higher resolution timer, use a multimedia timer or a high-resolution timer. Requirements Client Requires Windows Vista. Server Requires Windows Server "Longhorn". Header
>>181 The CallWndProc hook procedure can examine the message, but it cannot modify it. The GetMsgProc hook procedure can examine or modify the message.
はじめまして。APIの質問はここでいいんですよね? 今アプリケーションからタイムゾーンのロケールを変更するプログラムを作っているのですが、 うまくいきません。 VS2005 C#でプログラムしています。 TimeZoneInformationを使えばいいですよね? そこで、kernel32.dllを読みこんで、 struct TIME_ZONE_INFORMATION { public int Bias; public string StandardName; // StringBuilder 32 public SYSTEMTIME StandardDate; public int StandardBias; public string DaylightName; // StringBuilder 32 public SYSTEMTIME DaylightDate; public int DaylightBias; }