Commit Graph

150 Commits

Author SHA1 Message Date
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Mike McCormack 0ccfb0ca8c Declare some Nt* functions. 2005-06-27 09:45:06 +00:00
Mike McCormack 261a8b5e9a Add prototype and fix RtlpNtCreateKey. 2005-06-24 11:34:31 +00:00
James Hawkins a0bfbb9801 Add stub implementation of RtlAddAuditAccessAce. 2005-06-23 11:03:30 +00:00
Mike McCormack 05f53afd5a Declare RtlGUIDFromString and RtlStringFromGUID. 2005-06-22 12:00:57 +00:00
Paul Vriens cc1c516f65 Added KERNEL_USER_TIMES struct. 2005-06-21 09:43:13 +00:00
Mike McCormack 78911f34d9 - avoid winternl.h depending on winbase.h
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME
2005-06-20 18:37:17 +00:00
Robert Shearman 9cb94b276f Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask. 2005-06-20 11:44:45 +00:00
James Hawkins e485f984bd Implement RtlCopySecurityDescriptor. 2005-06-20 10:34:30 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Mike McCormack 379946c9f8 Declare Nt directory functions. 2005-06-17 12:11:58 +00:00
Mike McCormack 7da043f869 Add/fix more NT native API declarations. 2005-06-16 10:46:11 +00:00
Mike McCormack 0c9cb1dcee Declare port functions and fix prototypes. 2005-06-14 11:43:20 +00:00
Paul Vriens 5e5008502e Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct.
Fixed return codes and ReturnLength/buffer for
SystemTimeOfDayInformation.
Added tests for SystemTimeOfDayInformation.
2005-06-13 11:34:56 +00:00
Mike McCormack d838385b38 Add and fix function prototypes. 2005-06-13 10:03:18 +00:00
James Hawkins f3392ac814 Add RtlAnsiCharToUnicodeChar definition.
Correct stub status of RtlAnsiCharToUnicodeChar.
2005-06-12 11:07:25 +00:00
Eric Kohl a9983c8d16 Implement RtlAdjustPrivilege. 2005-06-12 10:44:01 +00:00
Mike McCormack 950e5e626c Dependency fixes for winternl.h. 2005-06-10 19:33:47 +00:00
Paul Vriens 264eb8d5a3 Add another (unknown) member to SYSTEM_THREAD_INFORMATION. 2005-06-07 20:01:29 +00:00
Alexandre Julliard ab29aa2126 Moved the ntdll per-thread data out of the TEB into a private
structure stored in TEB.SystemReserved2.
2005-06-06 20:04:33 +00:00
Felix Nawothnig d8c5960ce1 Make SYSTEM_THREAD_INFORMATION.pszProcessName a UNICODE_STRING. 2005-06-06 15:42:08 +00:00
Paul Vriens eb6559f910 Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure. 2005-06-03 11:24:43 +00:00
Alexandre Julliard 16885f09a5 Fixed RtlIsTextUnicode prototype, and made it properly take into
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +00:00
Ivan Leo Puoti 2964d8bc52 Rename SystemDriverInformation to SystemModuleInformation. 2005-05-20 09:40:59 +00:00
Alexandre Julliard e4412a618c Removed the special casing of kernel32 and ntdll for the TEB
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Paul Vriens ad8d542a93 Sorted some of the structs and made them consistent. 2005-05-11 18:23:46 +00:00
Eric Pouech 26c9b074c7 Implemented NTDLL atom support. 2005-05-11 15:55:49 +00:00
Paul Vriens 219bff0f29 Changed SystemHandleList into SystemHandleInformation
Unknown18 is now SystemPageFileInformation
Some consistency (added numbers to the definitions).
2005-05-10 13:15:41 +00:00
Paul Vriens 64a44a45c1 Remove HANDLEINFO struct.
Add SYSTEM_HANDLE_INFORMATION and SYSTEM_HANDLE_ENTRY structs.
2005-05-09 19:32:04 +00:00
Paul Vriens 424cc2a0a2 Remove the not used PROCESS_INFO struct. 2005-05-09 14:35:14 +00:00
Alexandre Julliard 205d3c45e3 Added proper names for the remaining TEB fields. 2005-04-27 08:14:18 +00:00
Mike McCormack f92fff66a2 Implemented NtSignalAndWaitForSingleObject. 2005-04-24 17:35:52 +00:00
Robert Shearman d2ea92d14e - Clean up well-known privileges.
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Paul Vriens 08ae0d09bb Remove THREAD_INFO struct.
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Eric Pouech 5a2591d96d - moved named pipe creation to ntdll
- server now handles the named pipe flags as the NTDLL values (not the
  KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
  connect/wait ops
2005-04-18 14:57:04 +00:00
Mike McCormack 58a4fb9ef0 Declare and define a stub for NtSignalAndWaitForSingleObject. 2005-04-16 11:19:27 +00:00
Benjamin Cutler c31a7e98f1 - Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Mike McCormack 016206c1e1 Move mailslot set and query info implementation to ntdll. 2005-04-11 14:20:49 +00:00
James Hawkins 580ded65e7 - Implement NtLoadKey.
- Forward RegLoadKey to NtLoadKey.
2005-03-29 11:38:58 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Alexandre Julliard f1020bc6e0 Added support for the TLS expansion slots, adding an extra 1024
entries.
2005-03-19 17:14:12 +00:00
Ivan Leo Puoti 54d42573b1 Move Rtl*Registry* structs, defines and prototypes to winternl.h.
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Robert Shearman b0f02b28b9 - Implement AdjustTokenPrivileges, DuplicateTokenEx and
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
  set for the thread.
2005-02-11 11:52:06 +00:00
Rein Klazes 2a0df4bd60 In NtQuerySystemInformation, handle request for information class 1,
now named SystemCpuInformation. Return some dummy data for now.
2005-01-28 12:34:20 +00:00
Rein Klazes 407d863a8a Get rid of the rdtsc cpu instruction method for calculation of the
performance counter. Put the calculation (based on gettimeofday) in
NtQueryPerformanceCounter() and use that in the kernel functions.
2005-01-26 20:41:36 +00:00
Ivan Leo Puoti bfef6208a2 Added NtLoadDriver and NtUnloadDriver stubs. 2005-01-24 12:49:53 +00:00
Hans Leidekker fccfcbf7ba Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
top of NtQueryVirtualMemory.
2005-01-20 19:59:48 +00:00
Alexandre Julliard 1fd6264244 Fixed the FIXME in RtlNtStatusToDosError, and implemented
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Alexandre Julliard 1d36d12917 Fixed prototypes of a couple of ntdll functions.
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker 49f7f6c208 Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00