* include/secext.h (GetComputerObjectName[AW],GetUserNameEx[AW],
TranslateName[AW]): Add prototypes. * lib/sec32.def (GetComputerObjectName[AW],GetUserNameEx[AW], TranslateName[AW]): Add stubs.
This commit is contained in:
		| @@ -1,3 +1,11 @@ | ||||
| 2003-03-27  Danny Smith  <dannysmith@users.sourceforge.net> | ||||
|  | ||||
| 	* include/secext.h (GetComputerObjectName[AW],GetUserNameEx[AW], | ||||
| 	TranslateName[AW]): Add prototypes. | ||||
| 	* lib/sec32.def (GetComputerObjectName[AW],GetUserNameEx[AW], | ||||
| 	TranslateName[AW]): Add stubs. | ||||
| 	* lib/test.c: Include secext.h. | ||||
|  | ||||
| 2003-03-27  Vladimir Michl  <michlv@users.sourceforge.net> | ||||
|  | ||||
| 	* include/ddk/ndis.h (NdisAllocateSpinLock,NdisFreeSpinLock, | ||||
|   | ||||
| @@ -19,6 +19,25 @@ typedef enum | ||||
|   NameServicePrincipal = 10,  | ||||
|   NameDnsDomain = 12 | ||||
| } EXTENDED_NAME_FORMAT, *PEXTENDED_NAME_FORMAT; | ||||
|  | ||||
| BOOLEAN WINAPI GetComputerObjectNameA(EXTENDED_NAME_FORMAT,LPSTR,PULONG); | ||||
| BOOLEAN WINAPI GetComputerObjectNameW(EXTENDED_NAME_FORMAT,LPWSTR,PULONG); | ||||
| BOOLEAN WINAPI GetUserNameExA(EXTENDED_NAME_FORMAT,LPSTR,PULONG); | ||||
| BOOLEAN WINAPI GetUserNameExW(EXTENDED_NAME_FORMAT,LPWSTR,PULONG); | ||||
| BOOLEAN WINAPI TranslateNameA(LPCSTR,EXTENDED_NAME_FORMAT,EXTENDED_NAME_FORMAT,LPSTR,PULONG); | ||||
| BOOLEAN WINAPI TranslateNameW(LPCWSTR,EXTENDED_NAME_FORMAT,EXTENDED_NAME_FORMAT,LPWSTR,PULONG); | ||||
|  | ||||
| #ifdef UNICODE | ||||
| #define GetComputerObjectName GetComputerObjectNameW | ||||
| #define GetUserNameEx GetUserNameExW | ||||
| #define TranslateName TranslateNameW | ||||
| #else | ||||
| #define GetComputerObjectName GetComputerObjectNameA | ||||
| #define GetUserNameEx GetUserNameExA | ||||
| #define TranslateName TranslateNameA | ||||
| #endif | ||||
|  | ||||
|  | ||||
| #endif /* ! RC_INVOKED */ | ||||
| #endif /* _WIN32_WINNT >= 0x0500 */ | ||||
| #endif /* ! _SECEXT_H */ | ||||
|   | ||||
| @@ -1,8 +1,11 @@ | ||||
| LIBRARY SECUR32.dll | ||||
| EXPORTS | ||||
| AcceptSecurityContext@36 | ||||
| AcquireCredentialsHandleA@36 | ||||
| AcquireCredentialsHandleW@36 | ||||
| AcceptSecurityContext@36 | ||||
| ApplyControlTokenA@8 | ||||
| ApplyControlTokenW@8 | ||||
| CompleteAuthToken@8 | ||||
| DecryptMessage@16 | ||||
| DeleteSecurityContext@4 | ||||
| EncryptMessage@16 | ||||
| @@ -10,6 +13,11 @@ EnumerateSecurityPackagesA@8 | ||||
| EnumerateSecurityPackagesW@8 | ||||
| FreeContextBuffer@4 | ||||
| FreeCredentialsHandle@4 | ||||
| GetComputerObjectNameA@12 | ||||
| GetComputerObjectNameW@12 | ||||
| GetUserNameExA@12 | ||||
| GetUserNameExW@12 | ||||
| ImpersonateSecurityContext@4 | ||||
| InitializeSecurityContextA@48 | ||||
| InitializeSecurityContextW@48 | ||||
| LsaCallAuthenticationPackage@28 | ||||
| @@ -18,16 +26,14 @@ LsaFreeReturnBuffer@4 | ||||
| LsaLogonUser@56 | ||||
| LsaLookupAuthenticationPackage@12 | ||||
| LsaRegisterLogonProcess@12 | ||||
| MakeSignature@16 | ||||
| QueryContextAttributesA@12 | ||||
| QueryContextAttributesW@12 | ||||
| QueryCredentialsAttributesA@12 | ||||
| QueryCredentialsAttributesW@12 | ||||
| CompleteAuthToken@8 | ||||
| ApplyControlTokenA@8 | ||||
| ApplyControlTokenW@8 | ||||
| ImpersonateSecurityContext@4 | ||||
| RevertSecurityContext@4 | ||||
| MakeSignature@16 | ||||
| VerifySignature@16 | ||||
| QuerySecurityPackageInfoA@8 | ||||
| QuerySecurityPackageInfoW@8 | ||||
| RevertSecurityContext@4 | ||||
| TranslateNameA@20 | ||||
| TranslateNameW@20 | ||||
| VerifySignature@16 | ||||
|   | ||||
| @@ -67,6 +67,7 @@ | ||||
| #include <setupapi.h> | ||||
| #include <aclapi.h> | ||||
| #include <security.h> | ||||
| #include <secext.h> | ||||
| #include <schnlsp.h> | ||||
| #include <shlwapi.h> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user