🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3494

Using ConvertSidToStringSid

#3494
From: Maurice Anderson
Date: Mon, 05 Jun 2006 22:25
11 lines
1330 bytes
I am trying to use ConvertStringSidToSid(PSID Sid, LPTSTR *StringSid);

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/convertsidtostringsid.asp

Can someone show me using bcb code how I can implement this function? 
Including declaring the variables and/or allocating any memory the function 
needs.

I am not familiar with the types the function needs.

Thanks 
Technical Details
Message-ID: <4484af6a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,817ba10f149908eb,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Maurice Anderson" <mauriceanderson@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Using ConvertSidToStringSid
Date: Mon, 5 Jun 2006 15:25:50 -0700
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 64.30.203.223
Message-ID: <4484af6a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149546346 64.30.203.223 (5 Jun 2006 15:25:46 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail