Download MSDK 9.1 Read_DISK

Transcript
See Also
• MSFL1_Initialize (page 115)
• MSFL1_Shutdown (page 124)
MSFL1_GetNextSecurityInfo
C
int MSFL1_GetNextSecurityInfo(HSECURITY hSecurity,
MSFLSecurityInfo_struct *psSecurityInfo)
Visual Basic
MSFL1_GetNextSecurityInfo(ByVal hSecurity As Long,
psSecurityInfo As MSFLSecurityInfo_struct) As Long
Delphi
MSFL1_GetNextSecurityInfo(hSecurity : HSECURITY;
Var psSecurityInfo : MSFLSecurityInfo_struct) : integer;
PowerBASIC
MSFL1_GetNextSecurityInfo(BYVAL hSecurity AS DWORD,
psSecurityInfo AS MSFLSecurityInfo_struct) As Long
Locking
• None
Return Values
• MSFL_MSG_LAST_SECURITY_IN_DIR if successful and this security is the last
security in the directory
• MSFL_NO_ERR if successful
• MSFL_ERR_SECURITY_NOT_FOUND if there are no more securities in the
directory
Parameters
ID
Description
Identifies the security. If the handle is zero, the current directory and
hSecurity
position from the last call to any one of the MSFL1_GetxxxxSecurityInfo
functions is used. This allows the application to step through the list of
securities by repeated calls to this function.
psSecurityInfo Points to an MSFLSecurityInfo_struct structure (page 82) that receives
the security information. The dwTotalSize member must be set to the
structure size before calling MSFL1_GetNextSecurityInfo.
Remarks
• Gets the security information for the next security in the directory.
Note: If the security is not locked when calling this function, the security information returned may
not reflect changes made by another user. In addition, the starting and ending dates and times
for composite securities may not reflect changes made to the primary or secondary securities.
See Also
• MSFL1_GetFirstSecurityInfo (page 103)
• MSFL1_GetLastSecurityInfo (page 106)
• MSFL1_GetPrevSecurityInfo (page 109)
• MSFL1_GetSecurityCount (page 111)
• MSFL1_GetSecurityInfo (page 113)
• MSFL2_GetSecurityHandles (page 125)
108 • MetaStock File Library (MSFL)
MetaStock ®