|
JWSCL Documentation
|
function Save(const stm: IStream; fClearDirty: BOOL): HRESULT; stdcall;
|
Parameters |
Description |
|
const stm: IStream |
Receives an IStream interface. The security descriptor is stored at the current position in the stream. |
This method can return several, among others, these error codes:
|
Value |
Description |
|
S_OK |
Successfully completed. Parameter cbSize contains the size. |
|
E_NOTIMPL |
The function is disabled due to setting property SupportIPersistStream to false. |
|
E_UNEXPECTED |
An exception occured that is not an EOleSysError exception. |
|
others |
There can be other errors coming from a EOleSysError. The value is the same as the value of the member ErrorCode of EOleSysError. Also see IPersistStream.Load and IPersistStream.Store for more possible error values. |
This method behaves differently in a debug or release build. In a debug build an exception is returned to the caller. This can be useful in a debugging session.
Stores a security descriptor to a stream.
This method can load different types of security descriptor streams depending on the property value PersistStreamType.
|
Values of type TJwPersistStreamType |
Description |
|
pstPlain |
Stores a security descriptor in the following format:
|
|
pstJwscl |
Stores a security descriptor using the method SaveToStream. |
|
pstIAccessControl |
Stores a security descriptor using the Save method of the MS IAccessControl implementation. |
This method may not be compatible to the implementation of MS IAccessControl.
|
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!
|