Re: GetNamedSecurityInfo - Read Owner

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 10/18/04


Date: Tue, 19 Oct 2004 01:55:49 +0200

Dave,

>Any more ideas? Anyone?

I've tried it myself now and I couldn't get GetNamedSecurityInfo to
work either. But opening the file with
CreateFile(FILE_FLAG_BACKUP_SEMANTICS) and then calling
GetSecurityInfo on the file handle works.

Mattias

-- 
Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Relevant Pages

  • Re: GetNamedSecurityInfo - Read Owner
    ... I've tried it myself now and I couldn't get GetNamedSecurityInfo to ... But opening the file with ... CreateFileand then calling ... GetSecurityInfo on the file handle works. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: suspend works, but resume doesnt on Dell desktop
    ... > When closing the lid on my laptop, while in X, and opening it again, the ... > ~50 topmost pixels are garbled and the entire view is shifted down. ... I fixed this by calling /etc/rc.lid trough devd and then calling ...
    (freebsd-questions)
  • Re: suspend works, but resume doesnt on Dell desktop
    ... > When closing the lid on my laptop, while in X, and opening it again, the ... > ~50 topmost pixels are garbled and the entire view is shifted down. ... I fixed this by calling /etc/rc.lid trough devd and then calling ...
    (freebsd-questions)
  • Re: STAThread error on windows grid
    ... > I'm opening this form from a .net dll; so there's no Mainmethod; ... I think the calling application has to specify STA then. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Suppressing the Open Link box to a mail merged document
    ... I'm opening a mail merge document in word from an Access 2003 app, ... calling the word object and then opening the document from code. ... datasource link. ...
    (microsoft.public.word.mailmerge.fields)