mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
set eol-style to native
svn path=/trunk/; revision=18417
This commit is contained in:
parent
016dd801d7
commit
342429fe3b
3 changed files with 163 additions and 163 deletions
|
@ -1,61 +1,61 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <lsass/lsass.h>
|
#include <lsass/lsass.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <ntsecapi.h>
|
#include <ntsecapi.h>
|
||||||
#include <secext.h>
|
#include <secext.h>
|
||||||
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WINAPI
|
WINAPI
|
||||||
GetComputerObjectNameA (
|
GetComputerObjectNameA (
|
||||||
EXTENDED_NAME_FORMAT extended_name_format,
|
EXTENDED_NAME_FORMAT extended_name_format,
|
||||||
LPSTR lpstr,
|
LPSTR lpstr,
|
||||||
PULONG pulong
|
PULONG pulong
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WINAPI
|
WINAPI
|
||||||
GetComputerObjectNameW (
|
GetComputerObjectNameW (
|
||||||
EXTENDED_NAME_FORMAT extended_name_format,
|
EXTENDED_NAME_FORMAT extended_name_format,
|
||||||
LPWSTR lpstr,
|
LPWSTR lpstr,
|
||||||
PULONG pulong
|
PULONG pulong
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WINAPI
|
WINAPI
|
||||||
GetUserNameExA (
|
GetUserNameExA (
|
||||||
EXTENDED_NAME_FORMAT extended_exe_format,
|
EXTENDED_NAME_FORMAT extended_exe_format,
|
||||||
LPSTR lpstr,
|
LPSTR lpstr,
|
||||||
PULONG pulong
|
PULONG pulong
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
WINAPI
|
WINAPI
|
||||||
GetUserNameExW (
|
GetUserNameExW (
|
||||||
EXTENDED_NAME_FORMAT extended_exe_format,
|
EXTENDED_NAME_FORMAT extended_exe_format,
|
||||||
LPWSTR lpstr,
|
LPWSTR lpstr,
|
||||||
PULONG pulong
|
PULONG pulong
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <lsass/lsass.h>
|
#include <lsass/lsass.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <ntsecapi.h>
|
#include <ntsecapi.h>
|
||||||
#include <security.h>
|
#include <security.h>
|
||||||
#include <sspi.h>
|
#include <sspi.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SECURITY_STATUS
|
SECURITY_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
EnumerateSecurityPackagesW (
|
EnumerateSecurityPackagesW (
|
||||||
PULONG pulong,
|
PULONG pulong,
|
||||||
PSecPkgInfoW* psecpkginfow
|
PSecPkgInfoW* psecpkginfow
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SECURITY_STATUS
|
SECURITY_STATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
FreeContextBuffer (
|
FreeContextBuffer (
|
||||||
PVOID pvoid
|
PVOID pvoid
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
DPRINT1("%s() not implemented!\n", __FUNCTION__);
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,67 +1,67 @@
|
||||||
typedef struct _CERTIFICATE_BLOB {
|
typedef struct _CERTIFICATE_BLOB {
|
||||||
DWORD dwCertEncodingType;
|
DWORD dwCertEncodingType;
|
||||||
DWORD cbData;
|
DWORD cbData;
|
||||||
PBYTE pbData;
|
PBYTE pbData;
|
||||||
} EFS_CERTIFICATE_BLOB, *PEFS_CERTIFICATE_BLOB;
|
} EFS_CERTIFICATE_BLOB, *PEFS_CERTIFICATE_BLOB;
|
||||||
|
|
||||||
typedef struct _EFS_HASH_BLOB {
|
typedef struct _EFS_HASH_BLOB {
|
||||||
DWORD cbData;
|
DWORD cbData;
|
||||||
PBYTE pbData;
|
PBYTE pbData;
|
||||||
} EFS_HASH_BLOB, *PEFS_HASH_BLOB;
|
} EFS_HASH_BLOB, *PEFS_HASH_BLOB;
|
||||||
|
|
||||||
typedef struct _ENCRYPTION_CERTIFICATE {
|
typedef struct _ENCRYPTION_CERTIFICATE {
|
||||||
DWORD cbTotalLength;
|
DWORD cbTotalLength;
|
||||||
SID* pUserSid;
|
SID* pUserSid;
|
||||||
PEFS_CERTIFICATE_BLOB pCertBlob;
|
PEFS_CERTIFICATE_BLOB pCertBlob;
|
||||||
} ENCRYPTION_CERTIFICATE, *PENCRYPTION_CERTIFICATE;
|
} ENCRYPTION_CERTIFICATE, *PENCRYPTION_CERTIFICATE;
|
||||||
|
|
||||||
typedef struct _ENCRYPTION_CERTIFICATE_HASH {
|
typedef struct _ENCRYPTION_CERTIFICATE_HASH {
|
||||||
DWORD cbTotalLength;
|
DWORD cbTotalLength;
|
||||||
SID* pUserSid;
|
SID* pUserSid;
|
||||||
PEFS_HASH_BLOB pHash;
|
PEFS_HASH_BLOB pHash;
|
||||||
LPWSTR lpDisplayInformation;
|
LPWSTR lpDisplayInformation;
|
||||||
} ENCRYPTION_CERTIFICATE_HASH, *PENCRYPTION_CERTIFICATE_HASH;
|
} ENCRYPTION_CERTIFICATE_HASH, *PENCRYPTION_CERTIFICATE_HASH;
|
||||||
|
|
||||||
typedef struct _ENCRYPTION_CERTIFICATE_LIST {
|
typedef struct _ENCRYPTION_CERTIFICATE_LIST {
|
||||||
DWORD nUsers;
|
DWORD nUsers;
|
||||||
PENCRYPTION_CERTIFICATE* pUsers;
|
PENCRYPTION_CERTIFICATE* pUsers;
|
||||||
} ENCRYPTION_CERTIFICATE_LIST, *PENCRYPTION_CERTIFICATE_LIST;
|
} ENCRYPTION_CERTIFICATE_LIST, *PENCRYPTION_CERTIFICATE_LIST;
|
||||||
|
|
||||||
typedef struct _ENCRYPTION_CERTIFICATE_HASH_LIST {
|
typedef struct _ENCRYPTION_CERTIFICATE_HASH_LIST {
|
||||||
DWORD nCert_Hash;
|
DWORD nCert_Hash;
|
||||||
PENCRYPTION_CERTIFICATE_HASH* pUsers;
|
PENCRYPTION_CERTIFICATE_HASH* pUsers;
|
||||||
} ENCRYPTION_CERTIFICATE_HASH_LIST, *PENCRYPTION_CERTIFICATE_HASH_LIST;
|
} ENCRYPTION_CERTIFICATE_HASH_LIST, *PENCRYPTION_CERTIFICATE_HASH_LIST;
|
||||||
|
|
||||||
DWORD WINAPI AddUsersToEncryptedFile (
|
DWORD WINAPI AddUsersToEncryptedFile (
|
||||||
LPCWSTR,
|
LPCWSTR,
|
||||||
PENCRYPTION_CERTIFICATE_LIST
|
PENCRYPTION_CERTIFICATE_LIST
|
||||||
);
|
);
|
||||||
|
|
||||||
DWORD WINAPI RemoveUsersFromEncryptedFile (
|
DWORD WINAPI RemoveUsersFromEncryptedFile (
|
||||||
LPCWSTR,
|
LPCWSTR,
|
||||||
PENCRYPTION_CERTIFICATE_HASH_LIST
|
PENCRYPTION_CERTIFICATE_HASH_LIST
|
||||||
);
|
);
|
||||||
|
|
||||||
BOOL WINAPI EncryptionDisable (
|
BOOL WINAPI EncryptionDisable (
|
||||||
LPCWSTR,
|
LPCWSTR,
|
||||||
BOOL
|
BOOL
|
||||||
);
|
);
|
||||||
|
|
||||||
BOOL WINAPI FileEncryptionStatus (
|
BOOL WINAPI FileEncryptionStatus (
|
||||||
LPCTSTR,
|
LPCTSTR,
|
||||||
LPDWORD
|
LPDWORD
|
||||||
);
|
);
|
||||||
|
|
||||||
DWORD WINAPI QueryUsersOnEncryptedFile (
|
DWORD WINAPI QueryUsersOnEncryptedFile (
|
||||||
LPCWSTR,
|
LPCWSTR,
|
||||||
PENCRYPTION_CERTIFICATE_HASH_LIST*
|
PENCRYPTION_CERTIFICATE_HASH_LIST*
|
||||||
);
|
);
|
||||||
|
|
||||||
void WINAPI FreeEncryptionCertificateHashList (
|
void WINAPI FreeEncryptionCertificateHashList (
|
||||||
PENCRYPTION_CERTIFICATE_HASH_LIST
|
PENCRYPTION_CERTIFICATE_HASH_LIST
|
||||||
);
|
);
|
||||||
|
|
||||||
DWORD WINAPI QueryRecoveryAgentsOnEncryptedFile (
|
DWORD WINAPI QueryRecoveryAgentsOnEncryptedFile (
|
||||||
LPCWSTR,
|
LPCWSTR,
|
||||||
PENCRYPTION_CERTIFICATE_HASH_LIST*
|
PENCRYPTION_CERTIFICATE_HASH_LIST*
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue