Changeset 4364 for trunk/src


Ignore:
Timestamp:
Oct 2, 2000, 3:10:12 PM (25 years ago)
Author:
phaller
Message:

.

Location:
trunk/src/NTDLL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/nt.cpp

    r4059 r4364  
    1 /* $Id: nt.cpp,v 1.9 2000-08-20 15:16:55 phaller Exp $ */
     1/* $Id: nt.cpp,v 1.10 2000-10-02 13:10:10 phaller Exp $ */
    22
    33
     
    1212 */
    1313
     14#include <odin.h>
     15#include <odinwrap.h>
     16#include <os2sel.h>
     17
     18
    1419#include <stdlib.h>
    1520#include <string.h>
     
    2025#include "ntdll.h"
    2126#include <ntdllsec.h>
     27
     28
     29ODINDEBUGCHANNEL(NTDLL-NT)
    2230
    2331
     
    328336*
    329337*/
    330 NTSTATUS WINAPI NtQueryInformationToken(HANDLE  Token,
    331                                         DWORD   TokenInformationClass,
    332                                         LPVOID  TokenInformation,
    333                                         DWORD   TokenInformationLength,
    334                                         LPDWORD ReturnLength)
     338ODINFUNCTION5(NTSTATUS, NtQueryInformationToken,
     339              HANDLE,   Token,
     340              DWORD,    TokenInformationClass,
     341              LPVOID,   TokenInformation,
     342              DWORD,    TokenInformationLength,
     343              LPDWORD,  ReturnLength)
    335344{
    336345 PROCESSTHREAD_SECURITYINFO *pSecInfo;
    337346
    338   dprintf(("NTDLL: NtQueryInformationToken(%08xh,%08xh,%08xh,%08xh,%08xh) not correctly implemented.\n",
    339            Token,
    340            TokenInformationClass,
    341            TokenInformation,
    342            TokenInformationLength,
    343            ReturnLength));
     347  dprintf(("NTDLL: NtQueryInformationToken not correctly implemented.\n"));
    344348
    345349  pSecInfo = (PROCESSTHREAD_SECURITYINFO*)HMHandleGetUserData(Token);
  • trunk/src/NTDLL/sec.cpp

    r2134 r4364  
    1 /* $Id: sec.cpp,v 1.5 1999-12-19 12:25:55 sandervl Exp $ */
     1/* $Id: sec.cpp,v 1.6 2000-10-02 13:10:12 phaller Exp $ */
    22
    33/*
     
    1212 * Copyright 1996-1998 Marcus Meissner
    1313 */
     14
     15#include <odin.h>
     16#include <odinwrap.h>
     17#include <os2sel.h>
    1418
    1519#include <stdlib.h>
     
    2125#include <os2win.h>
    2226#include "ntdll.h"
     27
     28
     29ODINDEBUGCHANNEL(NTDLL-SEC)
    2330
    2431/*
     
    169176 *                 RtlInitializeSid            [NTDLL.410]
    170177 */
    171 DWORD WINAPI RtlInitializeSid(PSID                      psid,
    172                               PSID_IDENTIFIER_AUTHORITY psidauth,
    173                               DWORD                     c)
     178ODINFUNCTION3(DWORD, RtlInitializeSid,
     179              PSID, psid,
     180              PSID_IDENTIFIER_AUTHORITY, psidauth,
     181              DWORD, c)
    174182{
    175183  BYTE  a = c & 0xff;
    176 
    177   dprintf(("NTDLL: RtlInitializeSid(%08xh,%08xh,%08xh)\n",
    178            psid,
    179            psidauth,
    180            c));
    181184
    182185  if (a>=SID_MAX_SUB_AUTHORITIES)
     
    207210 *                 RtlSubAuthoritySid          [NTDLL.497]
    208211 */
    209 LPDWORD WINAPI RtlSubAuthoritySid(PSID  psid,
    210                                   DWORD nr)
    211 {
    212   dprintf(("NTDLL: RtlSubAuthoritySid(%08xh,%08xh)\n",
    213            psid,
    214            nr));
    215 
     212ODINFUNCTION2(LPDWORD, RtlSubAuthoritySid,
     213              PSID, psid,
     214              DWORD, nr)
     215{
    216216  return &(psid->SubAuthority[nr]);
    217217}
Note: See TracChangeset for help on using the changeset viewer.