|
JWSCL Documentation
|
class procedure Free_SD(var SD: PSecurityDescriptor);
|
Parameters |
Description |
|
var SD: PSecurityDescriptor |
The SD parameter contains the SD to be freed. It is nil afterwards. If a nil pointer was given the function does nothing. |
Free_SD frees an security descriptor that was allocated by Create_SD. Only use a SD that was created by Create_SD. Free_SD uses FreeMem and TJwSecurityAccessControlList.Free_PACL to free memory. For unknown reasons some winapi calls fails if the the applied memory was allocated with GetMem.
Free_SD does not raise a SM exception. However there can be exception because of pointer problems. Do not edit the memory block manually or even free sub structures (as owner, dacl...)
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|