64 SID *sid_admin = (
SID*)sid_admin_buffer;
66 SID *sid_network = (
SID*)sid_network_buffer;
68 SID *sid_local = (
SID*)sid_local_buffer;
70 SID *sid_users = (
SID*)sid_users_buffer;
72 ACL *acl = (
ACL*)acl_buffer;
77 sid_size =
sizeof(sid_admin_buffer);
80 sid_size =
sizeof(sid_network_buffer);
83 sid_size =
sizeof(sid_local_buffer);
86 sid_size =
sizeof(sid_users_buffer);
146 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
148 IWbemClassObject_Release( sig );
199 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
201 IWbemClassObject_Release( sig );
static struct sockaddr_in sa
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define ADS_RIGHT_ACTRL_DS_LIST
#define ADS_RIGHT_DS_CREATE_CHILD
#define ADS_RIGHT_DS_READ_PROP
#define ADS_RIGHT_DS_DELETE_CHILD
BOOL WINAPI InitializeAcl(PACL pAcl, DWORD nAclLength, DWORD dwAclRevision)
BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD dwRevision)
BOOL WINAPI AddAccessAllowedAceEx(PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid)
#define ADS_RIGHT_DS_WRITE_PROP
BOOL WINAPI CreateWellKnownSid(IN WELL_KNOWN_SID_TYPE WellKnownSidType, IN PSID DomainSid OPTIONAL, OUT PSID pSid, IN OUT DWORD *cbSid)
#define ADS_RIGHT_DS_SELF
#define HeapFree(x, y, z)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
SAFEARRAY *WINAPI SafeArrayCreateVector(VARTYPE vt, LONG lLbound, ULONG cElements)
HRESULT WINAPI SafeArrayDestroy(SAFEARRAY *psa)
HRESULT create_signature(const WCHAR *class, const WCHAR *method, enum param_direction dir, IWbemClassObject **sig)
void set_variant(VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret)
static HRESULT get_sd(SECURITY_DESCRIPTOR **sd, DWORD *size)
HRESULT security_get_sd(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
static HRESULT to_byte_array(void *data, DWORD size, VARIANT *var)
HRESULT security_set_sd(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
static void out_params(void)
BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR pSecurityDescriptor, BOOL bDaclPresent, PACL pDacl, BOOL bDaclDefaulted)
BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID pOwner, BOOL bOwnerDefaulted)
BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, LPDWORD lpdwBufferLength)
BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID pGroup, BOOL bGroupDefaulted)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
void WINAPI VariantInit(VARIANTARG *pVarg)
static const WCHAR method_setsdW[]
static const WCHAR param_returnvalueW[]
static const WCHAR param_sdW[]
static const WCHAR class_systemsecurityW[]
static const WCHAR method_getsdW[]
DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR)
#define CONTAINER_INHERIT_ACE
#define SECURITY_DESCRIPTOR_REVISION
#define SECURITY_MAX_SID_SIZE