TORN@DO presents: cRACKER's n0TES
API Details for Time & Date Accesses


GetFileTime
The GetFileTime function retrieves the date and time that a file was created, last accessed, and last modified.
     BOOL GetFileTime(
      HANDLE  hFile,	                       // identifies the file 
      LPFILETIME  lpCreationTime,	       // address of creation time 
      LPFILETIME  lpLastAccessTime,	       // address of last access time  
      LPFILETIME  lpLastWriteTime 	       // address of last write time 
     );
Returns
If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To get extended error information, call GetLastError.




GetLocalTime
he GetLocalTime function retrieves the current local date and time.
    VOID GetLocalTime(
      LPSYSTEMTIME  lpSystemTime 	       // address of system time structure  
     );
Returns
This function does not return a value.




GetSystemTime
The GetSystemTime function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).
     VOID GetSystemTime(
      LPSYSTEMTIME  lpSystemTime 	      // address of system time structure  
     );
Returns
This function does not return a value.




GetTickCount
The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started.
     DWORD GetTickCount(VOID);
Returns
If the function succeeds, the return value is the number of milliseconds that have elapsed since Windows was started.




SystemTimeToFileTime
The SystemTimeToFileTime function converts a system time to a file time.
    BOOL SystemTimeToFileTime(
      CONST SYSTEMTIME *  lpst,	              // address of system time to convert 
      LPFILETIME  lpft 	                      // address of buffer for converted file time 
    );
Returns
If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To get extended error information, call GetLastError.





The cRACKER's n0tES are divided into 10 main parts:
 00. INDEX
 01. Assembly for Crackers (CoRN2)
 02. SoftICE (Boot Menu, Setup, Commands)
 03. Breakpoints & Win API Details
        1 Crippled Programs
        2 Dialog Boxes
        3 Drive Type Checks
        4 File Accesses
        5 Registry Accesses
        6 Serial Catching
        7 Time & Date Accesses
        8 Window Generating
 04. Jump Instructions
 05. SET Instructions
 06. Tips & Tricks for Cracking
 07. Window Messages For Crackers
 08. Identifying Functions, Arguments, and Variables (Rhayader)
 09. Commerical Protection Systems
 10. Bitmanipulation (Cruehead)
 11. General Cracking Theory
 12. FAQ

 +A. How to contact me
 +B. What's New?



The cRACKER's n0TES are Copyright © 1998-2000 by TORN@DO of ID. All Rights Reserved. Archived and Re-hosted by Werdstaff