1 /* header auto-generated by pidl */
3 #ifndef _PIDL_HEADER_efs
4 #define _PIDL_HEADER_efs
8 #include "libcli/util/ntstatus.h"
10 #include "librpc/gen_ndr/security.h"
14 struct EFS_HASH_BLOB {
16 uint8_t *pbData;/* [unique,size_is(cbData)] */
19 struct ENCRYPTION_CERTIFICATE_HASH {
20 uint32_t cbTotalLength;
21 struct dom_sid *pUserSid;/* [unique] */
22 struct EFS_HASH_BLOB *pHash;/* [unique] */
23 const char *lpDisplayInformation;/* [unique,charset(UTF16)] */
26 struct ENCRYPTION_CERTIFICATE_HASH_LIST {
28 struct ENCRYPTION_CERTIFICATE_HASH **pUsers;/* [unique,size_is(nCert_Hash)] */
31 struct EFS_CERTIFICATE_BLOB {
32 uint32_t dwCertEncodingType;
34 uint8_t *pbData;/* [unique,size_is(cbData)] */
37 struct ENCRYPTION_CERTIFICATE {
39 struct dom_sid *pUserSid;/* [unique] */
40 struct EFS_CERTIFICATE_BLOB *pCertBlob;/* [unique] */
44 struct EfsRpcOpenFileRaw {
46 const char *FileName;/* [charset(UTF16)] */
51 struct policy_handle *pvContext;/* [ref] */
58 struct EfsRpcReadFileRaw {
60 struct policy_handle *pvContext;/* [ref] */
70 struct EfsRpcWriteFileRaw {
72 struct policy_handle *pvContext;/* [ref] */
82 struct EfsRpcCloseRaw {
84 struct policy_handle *pvContext;/* [ref] */
88 struct policy_handle *pvContext;/* [ref] */
94 struct EfsRpcEncryptFileSrv {
96 const char *Filename;/* [charset(UTF16)] */
106 struct EfsRpcDecryptFileSrv {
108 const char *FileName;/* [charset(UTF16)] */
119 struct EfsRpcQueryUsersOnFile {
121 const char *FileName;/* [charset(UTF16)] */
125 struct ENCRYPTION_CERTIFICATE_HASH_LIST **pUsers;/* [unique,ref] */
132 struct EfsRpcQueryRecoveryAgents {
134 const char *FileName;/* [charset(UTF16)] */
138 struct ENCRYPTION_CERTIFICATE_HASH_LIST **pRecoveryAgents;/* [unique,ref] */
145 struct EfsRpcRemoveUsersFromFile {
147 const char *FileName;/* [charset(UTF16)] */
157 struct EfsRpcAddUsersToFile {
159 const char *FileName;/* [charset(UTF16)] */
169 struct EfsRpcSetFileEncryptionKey {
171 struct ENCRYPTION_CERTIFICATE *pEncryptionCertificate;/* [unique] */
181 struct EfsRpcNotSupported {
189 struct EfsRpcFileKeyInfo {
197 struct EfsRpcDuplicateEncryptionInfoFile {
204 #endif /* _HEADER_efs */
205 #endif /* _PIDL_HEADER_efs */