Changeset 7983 for trunk/src/advapi32
- Timestamp:
- Feb 21, 2002, 11:52:43 PM (24 years ago)
- Location:
- trunk/src/advapi32
- Files:
-
- 2 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/advapi32/ADVAPI32.CPP
r6510 r7983 1 /* $Id: ADVAPI32.CPP,v 1. 19 2001-08-10 19:31:19sandervl Exp $ */1 /* $Id: ADVAPI32.CPP,v 1.20 2002-02-21 22:51:58 sandervl Exp $ */ 2 2 3 3 /* … … 1005 1005 1006 1006 1007 /*****************************************************************************1008 * Name : LookupAccountNameA1009 * Purpose : The LookupAccountName function accepts the name of a system and1010 * an account as input. It retrieves a security identifier (SID)1011 * for the account and the name of the domain on which the account was found.1012 * Parameters: LPCSTR lpSystemName address of string for system name1013 * LPCSTR lpAccountName address of string for account name1014 * PSID Sid address of security identifier1015 * LPDWORD cbSid address of size of security identifier1016 * LPTSTR ReferencedDomainName address of string for referenced domain1017 * LPDWORD cbReferencedDomainName address of size of domain string1018 * PSID_NAME_USE peUse address of SID-type indicator1019 * Variables :1020 * Result :1021 * Remark :1022 * Status : UNTESTED STUB1023 *1024 * Author : Patrick Haller [Tue, 1998/06/16 23:00]1025 *****************************************************************************/1026 1027 BOOL WIN32API LookupAccountNameA(LPCSTR lpSystemName,1028 LPCSTR lpAccountName,1029 PSID Sid,1030 LPDWORD cbSid,1031 LPTSTR ReferencedDomainName,1032 LPDWORD cbReferencedDomainName,1033 PSID_NAME_USE peUse)1034 {1035 dprintf(("ADVAPI32: LookupAccountNameA(%s,%s,%08xh,%08xh,%s,%08xh,%08xh) not implemented.\n",1036 lpSystemName,1037 lpAccountName,1038 Sid,1039 cbSid,1040 ReferencedDomainName,1041 cbReferencedDomainName,1042 peUse));1043 1044 return (FALSE); /* signal failure */1045 }1046 1047 1007 1048 1008 /***************************************************************************** … … 1681 1641 1682 1642 1683 /*****************************************************************************1684 * Name : SetKernelObjectSecurity1685 * Purpose : The SetKernelObjectSecurity function sets the security of a kernel1686 * object. For example, this can be a process, thread, or event.1687 * Parameters: HANDLE hObject handle of object1688 * SECURITY_INFORMATION si type of information to set1689 * PSECURITY_DESCRIPTOR psd address of security descriptor1690 * Variables :1691 * Result :1692 * Remark :1693 * Status : UNTESTED STUB1694 *1695 * Author : Patrick Haller [Tue, 1998/06/16 23:00]1696 *****************************************************************************/1697 1698 BOOL WIN32API SetKernelObjectSecurity(HANDLE hObject,1699 SECURITY_INFORMATION si,1700 PSECURITY_DESCRIPTOR psd)1701 {1702 dprintf(("ADVAPI32: SetKernelObjectSecurity(%08xh,%08xh,%08xh) not implemented.\n",1703 hObject,1704 si,1705 psd));1706 1707 return (FALSE); /* signal failure */1708 }1709 1710 1643 1711 1644 /***************************************************************************** -
trunk/src/advapi32/lsa.cpp
r4400 r7983 1 /* $Id: lsa.cpp,v 1. 6 2000-10-03 05:38:09 birdExp $ */1 /* $Id: lsa.cpp,v 1.7 2002-02-21 22:51:59 sandervl Exp $ */ 2 2 3 3 /* … … 284 284 ULONG CountOfRights); 285 285 286 NTSTATUS WIN32API LsaClose(LSA_HANDLE hLsaObject);287 286 288 287 NTSTATUS WIN32API LsaCreateTrustedDomainEx(LSA_HANDLE PolicyHandle, … … 317 316 PULONG CountReturned); 318 317 319 NTSTATUS WIN32API LsaFreeMemory(PVOID Buffer);320 318 321 319 NTSTATUS WIN32API LsaLookupNames(LSA_HANDLE PolicyHandle, … … 325 323 PLSA_TRANSLATED_SID* Sids); 326 324 327 NTSTATUS WIN32API LsaLookupSids(LSA_HANDLE PolicyHandle,328 ULONG Count,329 PSID* Sids,330 PLSA_REFERENCED_DOMAIN_LIST* ReferencedDomains,331 PLSA_TRANSLATED_NAME* Names);332 325 333 326 ULONG WIN32API LsaNtStatusToWinError(NTSTATUS Status); … … 343 336 PLSA_HANDLE TrustedDomainHandle); 344 337 345 NTSTATUS WIN32API LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,346 POLICY_INFORMATION_CLASS InformationClass,347 PVOID * Buffer);348 338 349 339 NTSTATUS WIN32API LsaQueryTrustedDomainInfo(LSA_HANDLE PolicyHandle, … … 420 410 421 411 422 /*****************************************************************************423 * Name : LsaClose424 * Purpose : The LsaClose function closes a handle to an LSA policy object.425 * Parameters: LSA_HANDLE ObjectHandle426 * Variables :427 * Result : NTSTATUS428 * Remark :429 * Status : UNTESTED STUB430 *431 * Author : Patrick Haller [Thu, 1999/11/04 23:00]432 *****************************************************************************/433 434 ODINFUNCTION1(NTSTATUS,LsaClose,LSA_HANDLE,hLsaObject)435 {436 dprintf(("ADVAPI32:Lsa: LsaClose not implemented.\n"));437 return 0;438 }439 412 440 413 … … 608 581 609 582 610 /*****************************************************************************611 * Name : LsaFreeMemory612 * Purpose : The LsaFreeMemory function frees memory allocated for613 * an output buffer by an LSA function call. LSA functions that614 * return variable-length output buffers always allocate the615 * buffer on behalf of the caller. The caller must free this616 * memory by passing the returned buffer pointer to617 * LsaFreeMemory when the memory is no longer required.618 * Parameters: PVOID Buffer619 * Variables :620 * Result : NTSTATUS621 * Remark :622 * Status : UNTESTED STUB623 *624 * Author : Patrick Haller [Thu, 1999/11/04 23:00]625 *****************************************************************************/626 627 ODINFUNCTION1(NTSTATUS, LsaFreeMemory,628 PVOID, Buffer)629 {630 dprintf(("ADVAPI32:Lsa: LsaFreeMemory not implemented.\n"));631 return 0;632 }633 583 634 584 … … 663 613 664 614 665 /*****************************************************************************666 * Name : LsaLookupSids667 * Purpose : The LsaLookupSids function looks up the names668 * that corresponding to an array of SIDs. If a name can669 * not be mapped to a SID, LsaLookupSids converts670 * the SID to character form.671 * Parameters: LSA_HANDLE PolicyHandle,672 * ULONG Count673 * PSID *Sids674 * PLSA_REFERENCED_DOMAIN_LIST *ReferencedDomains675 * PLSA_TRANSLATED_NAME *Names676 * Variables :677 * Result : NTSTATUS678 * Remark :679 * Status : UNTESTED STUB680 *681 * Author : Patrick Haller [Thu, 1999/11/04 23:00]682 *****************************************************************************/683 684 ODINFUNCTION5(NTSTATUS, LsaLookupSids,685 LSA_HANDLE, PolicyHandle,686 ULONG, Count,687 PSID*, Sids,688 PLSA_REFERENCED_DOMAIN_LIST*,ReferencedDomains,689 PLSA_TRANSLATED_NAME*, Names)690 {691 dprintf(("ADVAPI32:Lsa: LsaLookupNames not implemented.\n"));692 return 0;693 }694 615 695 616 … … 745 666 } 746 667 747 748 /*****************************************************************************749 * Name : LsaQueryInformationPolicy750 * Purpose : The LsaQueryInformationPolicy function751 * retrieves information about an LSA policy object.752 * Parameters: LSA_HANDLE PolicyHandle,753 * POLICY_INFORMATION_CLASS InformationClass,754 * PVOID *Buffer755 * Variables :756 * Result : NTSTATUS757 * Remark :758 * Status : UNTESTED STUB759 *760 * Author : Patrick Haller [Thu, 1999/11/04 23:00]761 *****************************************************************************/762 763 ODINFUNCTION3(NTSTATUS, LsaQueryInformationPolicy,764 LSA_HANDLE, PolicyHandle,765 POLICY_INFORMATION_CLASS, InformationClass,766 PVOID *, Buffer)767 {768 dprintf(("ADVAPI32:Lsa: LsaQueryInformationPolicy not implemented.\n"));769 return 0;770 }771 668 772 669 -
trunk/src/advapi32/makefile
r7842 r7983 1 # $Id: makefile,v 1. 29 2002-02-08 14:13:16sandervl Exp $1 # $Id: makefile,v 1.30 2002-02-21 22:52:00 sandervl Exp $ 2 2 3 3 # … … 22 22 $(OBJDIR)\lsa.obj \ 23 23 $(OBJDIR)\security.obj \ 24 $(OBJDIR)\security_odin.obj \ 24 25 $(OBJDIR)\systemfunction.obj \ 25 26 $(OBJDIR)\service.obj \
Note:
See TracChangeset
for help on using the changeset viewer.