WRITE (*,*) 'Current UTC time hour and minute:', Mytime.wHour, Mytime.Wminute ! interface definitions from kernel32.mod instead of all modules ! Since the only routine called is GetSystemTime, only include For example, the completed program follows: ! Getsystime.f90 file shows how to call a Windows API routine Use the variable definition to call the Win32 routine. In some cases, these will differ slightly from those listed in the Platform SDK documentation.ĭefine a variable name to use the derived-type definition in your program, such as: TYPE (T_SYSTEMTIME) MYTIME View the data type definition and note the field names. Search (or Find) the data type name (such as T_SYSTEMTIME). In a text editor (such as Notepad), open the file IFWINTY.F90 from. For example, to view the data type definition for the T_SYSTEMTIME type used in GetSystemTime: If one of the arguments is a structure, you should look up the definition in IFWINTY.F90 in. Take note of how arguments are passed in some cases, such as when an arbitrary data type is passed by address, you must pass the address of a variable using the LOC intrinsic rather than the variable directly. View the interface definition and compare it to the description in the Platform SDK documentation to see how the arguments are represented in Fortran. Search (or Find) the routine name (such as GetSystemTime) In a text editor (such as Notepad), open the file kernel32.f90 from. For example, to view the interface definition for GetSystemTime: If you are not sure about the data type of arguments or its function return value, you can examine the interface definitions in the appropriate. For example, the GetSystemTime routine calling format starts with VOID, so this routine should be called as a subroutine with a CALL statement. Whether the routine returns a result (a function) or not (subroutine). If character arguments are present, add a null character as a terminator to the character variable before calling the Windows API routine. In the case of the GetSystemTime routine, a structure (derived type) is passed by reference. You will need to declare and initialize each argument variable using the correct data type. To call the appropriate Windows API routine after including the Intel Visual Fortran interface definitions, follow these guidelines:Įxamine the documentation for the appropriate routine in the Platform SDK (for example GetSystemTime) to obtain the following information: Time away from Duke is tracked in the payroll system, SAP with available balances accessed by employees using their electronic time report or Time and Attendance time card.Calling Windows API Routines Using the Intel Visual Fortran Interface Definitions Duke Temporary Service employees submit time using time reports available on the "My Time" page in Employees in secondary positions are required to submit electronic time reports time reports available on the "My Time" page in Failure to submit hours to be paid in accordance with departmental deadlines may result in payment delays and/or corrective action. Time away from Duke is tracked in the Exempt Time-off Reporting Tool accessible on the "My Time" page in if the position is in the University or School of Medicine or by Time and Attendance if the position is in DUHS.įor employees in biweekly positions, they are responsible for submitting hours to be paid each pay period based upon the deadlines set by their departments using either the electronic time reporting system accessed through or the Time and Attendance time and attendance system. There is no action required on their part in order to receive payment. All positions at Duke University and Duke University Health System are classified as either exempt positions (paid monthly, not eligible for overtime) or non-exempt (paid biweekly, eligible for overtime based upon overtime option associated with the position) based upon the type of work performed by the position.įor employees in monthly positions, they receive a set salary each month.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |