Article View: borland.public.delphi.nativeapi
Article #15Re: SetSecurityInfo on Winstation Object - Invalid Access To Memory Location
From: M
Date: Thu, 17 Mar 2005 12:29
Date: Thu, 17 Mar 2005 12:29
5 lines
1464 bytes
1464 bytes
The api call convertstringsecuritydescriptortosecuritydescriptor generates a relative security descriptor, however, SetSecurityInfo requires an absolute one, therefore, simply call makeabsolutesd on the returned security descriptor before passing it to the SetSecurityInfo api !
Technical Details
Message-ID:
<1111062567.771041.113420@g14g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mailReferences:
<1110989607.040030.95720@z14g2000cwz.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f94dd,f4442fbedc3dcc56 X-Google-Attributes: gidf94dd,public X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "M" <mark@wizbang.org.uk> Newsgroups: borland.public.delphi.nativeapi Subject: Re: SetSecurityInfo on Winstation Object - Invalid Access To Memory Location Date: 17 Mar 2005 04:29:27 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: <1111062567.771041.113420@g14g2000cwa.googlegroups.com> References: <1110989607.040030.95720@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 195.194.124.2 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1111062572 3203 127.0.0.1 (17 Mar 2005 12:29:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 17 Mar 2005 12:29:32 +0000 (UTC) In-Reply-To: <1110989607.040030.95720@z14g2000cwz.googlegroups.com> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=195.194.124.2; posting-account=uWIkvg0AAAA3AVRDiJH5XxxLhonx33NO