Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dose This True ???????????? Pin
Aqueel9-May-06 17:47
Aqueel9-May-06 17:47 
AnswerRe: Dose This True ???????????? Pin
Maxwell Chen9-May-06 18:27
Maxwell Chen9-May-06 18:27 
QuestionRead Hexadecimal Number Pin
shereem khaleel9-May-06 13:41
shereem khaleel9-May-06 13:41 
AnswerRe: Read Hexadecimal Number Pin
patnsnaudy9-May-06 14:30
patnsnaudy9-May-06 14:30 
QuestionRegOpenKeyEx Question Pin
maneor9-May-06 12:57
maneor9-May-06 12:57 
AnswerRe: RegOpenKeyEx Question Pin
Nibu babu thomas9-May-06 18:59
Nibu babu thomas9-May-06 18:59 
GeneralRe: RegOpenKeyEx Question Pin
maneor10-May-06 12:40
maneor10-May-06 12:40 
GeneralRe: RegOpenKeyEx Question Pin
Nibu babu thomas10-May-06 17:25
Nibu babu thomas10-May-06 17:25 
The RegGetKeySecurity function retrieves a copy of the security descriptor protecting the specified open registry key.

LONG RegGetKeySecurity(
  HKEY hKey,                                // handle to key
  SECURITY_INFORMATION SecurityInformation, // request
  PSECURITY_DESCRIPTOR pSecurityDescriptor, // SD
  LPDWORD lpcbSecurityDescriptor            // buffer size
);
 
Parameters
hKey 
[in] Handle to an open key for which to retrieve the security descriptor. 
 
SecurityInformation 
[in] Specifies a SECURITY_INFORMATION value that indicates the <code>requested security information. </code> 
 
pSecurityDescriptor 
[out] Pointer to a buffer that <code>receives a copy of the requested security descriptor. </code> 
 
lpcbSecurityDescriptor
[in, out] Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the pSecurityDescriptor parameter. When the function returns, the variable contains the number of bytes written to the buffer. 


The above documentation clearly says how to do it. Did you look up the docs? Look at the statements marked in red.


Nibu thomas
Software Developer

Faqs by Michael dunn

AnswerRe: RegOpenKeyEx Question Pin
Frank K9-May-06 20:25
Frank K9-May-06 20:25 
QuestionCombo box control Pin
elephantstar9-May-06 12:21
elephantstar9-May-06 12:21 
QuestionLoading DLL inside the code Pin
Nacho Chip9-May-06 12:12
Nacho Chip9-May-06 12:12 
AnswerRe: Loading DLL inside the code Pin
Nibu babu thomas9-May-06 18:56
Nibu babu thomas9-May-06 18:56 
AnswerRe: Loading DLL inside the code Pin
Hamid_RT9-May-06 19:19
Hamid_RT9-May-06 19:19 
QuestionMDI Question Pin
BlitzPackage9-May-06 10:41
BlitzPackage9-May-06 10:41 
AnswerRe: MDI Question Pin
Cool Ju9-May-06 21:01
Cool Ju9-May-06 21:01 
GeneralMDI Question Pin
BlitzPackage10-May-06 2:45
BlitzPackage10-May-06 2:45 
GeneralRe: MDI Question Pin
Cool Ju10-May-06 21:23
Cool Ju10-May-06 21:23 
GeneralRe: MDI Question Pin
BlitzPackage11-May-06 1:38
BlitzPackage11-May-06 1:38 
QuestionPlease help with data from DB into MFC app (edits) Pin
PatteTheHCCoder9-May-06 9:57
PatteTheHCCoder9-May-06 9:57 
QuestionHow to get Activex controls Version? Pin
CodeVarma9-May-06 8:18
CodeVarma9-May-06 8:18 
AnswerRe: How to get Activex controls Version? Pin
ramyasangeet11-May-06 19:19
ramyasangeet11-May-06 19:19 
QuestionHow to get Activex controls Version? Pin
CodeVarma9-May-06 8:18
CodeVarma9-May-06 8:18 
QuestionHow to tell whether explorer is hiding extensions for known file types ?. Pin
Atom9-May-06 8:06
Atom9-May-06 8:06 
AnswerRe: How to tell whether explorer is hiding extensions for known file types ?. Pin
David Crow9-May-06 8:19
David Crow9-May-06 8:19 
GeneralRe: How to tell whether explorer is hiding extensions for known file types ?. Pin
Atom9-May-06 11:09
Atom9-May-06 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.