diff --git a/build/wince/shunt/include/mozce_defs.h b/build/wince/shunt/include/mozce_defs.h index f774550ea4b68..7aa013d8f2c27 100755 --- a/build/wince/shunt/include/mozce_defs.h +++ b/build/wince/shunt/include/mozce_defs.h @@ -799,4 +799,29 @@ typedef struct #define SetPropW SetProp #define FONTENUMPROCW FONTENUMPROC #define GetLongPathNameW GetLongPathName + +// ACL Defines + + +typedef enum _SE_OBJECT_TYPE { + SE_UNKNOWN_OBJECT_TYPE = 0, + SE_FILE_OBJECT, + SE_SERVICE, + SE_PRINTER, + SE_REGISTRY_KEY, + SE_LMSHARE, + SE_KERNEL_OBJECT, + SE_WINDOW_OBJECT, + SE_DS_OBJECT, + SE_DS_OBJECT_ALL, + SE_PROVIDER_DEFINED_OBJECT, + SE_WMIGUID_OBJECT, + SE_REGISTRY_WOW64_32KEY +} SE_OBJECT_TYPE; + +typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION; + +#define UNPROTECTED_DACL_SECURITY_INFORMATION 0x0 + + #endif // _MOZCE_DEFS diff --git a/build/wince/shunt/include/mozce_shunt.h b/build/wince/shunt/include/mozce_shunt.h index 4afa72b5c98bf..28fdfaf5688e1 100755 --- a/build/wince/shunt/include/mozce_shunt.h +++ b/build/wince/shunt/include/mozce_shunt.h @@ -150,6 +150,15 @@ extern "C" { #endif + MOZCE_SHUNT_API BOOL InitializeAcl(PACL apAcl, DWORD len, DWORD rev); + MOZCE_SHUNT_API DWORD SetNamedSecurityInfoW(unsigned short* pObjectName, + SE_OBJECT_TYPE ObjectType, + SECURITY_INFORMATION SecurityInfo, + PSID psidOwner, + PSID psidGroup, + PACL pDacl, + PACL pSacl); + // From assert.cpp MOZCE_SHUNT_API void mozce_assert(int inExpression); diff --git a/build/wince/shunt/win32.cpp b/build/wince/shunt/win32.cpp index d633088f9a411..49d6276f72d9b 100755 --- a/build/wince/shunt/win32.cpp +++ b/build/wince/shunt/win32.cpp @@ -1199,6 +1199,24 @@ MOZCE_SHUNT_API HWND GetAncestor(HWND hwnd, UINT gaFlags) return(hwndParent); } +MOZCE_SHUNT_API BOOL InitializeAcl(PACL apAcl, DWORD len, DWORD rev) +{ + return FALSE; +} + +MOZCE_SHUNT_API DWORD SetNamedSecurityInfoW(unsigned short* pObjectName, + SE_OBJECT_TYPE ObjectType, + SECURITY_INFORMATION SecurityInfo, + PSID psidOwner, + PSID psidGroup, + PACL pDacl, + PACL pSacl) +{ + return 0; +} + + + #if 0 { #endif