diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c index 5035ec36ce6..c7e353f52be 100644 --- a/dlls/secur32/secur32.c +++ b/dlls/secur32/secur32.c @@ -1057,6 +1057,18 @@ BOOLEAN WINAPI GetComputerObjectNameW( return status; } +SECURITY_STATUS WINAPI AddSecurityPackageA(LPSTR name, SECURITY_PACKAGE_OPTIONS *options) +{ + FIXME("(%s %p)\n", debugstr_a(name), options); + return E_NOTIMPL; +} + +SECURITY_STATUS WINAPI AddSecurityPackageW(LPWSTR name, SECURITY_PACKAGE_OPTIONS *options) +{ + FIXME("(%s %p)\n", debugstr_w(name), options); + return E_NOTIMPL; +} + /*********************************************************************** * GetUserNameExA (SECUR32.@) */ diff --git a/dlls/secur32/secur32.spec b/dlls/secur32/secur32.spec index 623ffe54702..8135958fd2a 100644 --- a/dlls/secur32/secur32.spec +++ b/dlls/secur32/secur32.spec @@ -6,8 +6,8 @@ @ stdcall AcquireCredentialsHandleW(wstr wstr long ptr ptr ptr ptr ptr ptr) @ stdcall AddCredentialsA(ptr str str long ptr ptr ptr ptr) @ stdcall AddCredentialsW(ptr wstr wstr long ptr ptr ptr ptr) -@ stub AddSecurityPackageA -@ stub AddSecurityPackageW +@ stdcall AddSecurityPackageA(str ptr) +@ stdcall AddSecurityPackageW(wstr ptr) @ stdcall ApplyControlToken(ptr ptr) @ stdcall CompleteAuthToken(ptr ptr) @ stdcall DecryptMessage(ptr ptr long ptr) diff --git a/include/sspi.h b/include/sspi.h index 501406fc5eb..9e44a6d3420 100644 --- a/include/sspi.h +++ b/include/sspi.h @@ -130,6 +130,18 @@ typedef struct _SecPkgInfoW SEC_WCHAR *Comment; } SecPkgInfoW, *PSecPkgInfoW; +typedef struct _SECURITY_PACKAGE_OPTIONS { + ULONG Size; + ULONG Type; + ULONG Flags; + ULONG SignatureSize; + void *Signature; +} SECURITY_PACKAGE_OPTIONS, *PSECURITY_PACKAGE_OPTIONS; + +SECURITY_STATUS WINAPI AddSecurityPackageA(LPSTR,SECURITY_PACKAGE_OPTIONS*); +SECURITY_STATUS WINAPI AddSecurityPackageW(LPWSTR,SECURITY_PACKAGE_OPTIONS*); +#define AddSecurityPackage WINELIB_NAME_AW(AddSecurityPackage) + #define SecPkgInfo WINELIB_NAME_AW(SecPkgInfo) #define PSecPkgInfo WINELIB_NAME_AW(PSecPkgInfo)