1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>FS_TellDir</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">FS_TellDir <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/fs.h></CODE><BR> <BR> <CODE>BOOL FS_TellDir( const <a href="../fs_file_type.html">FSFile</a> *p_dir, <a href="../fs_dir_pos_type.html">FSDirPos</a> *p_pos );</CODE><br> <br> 20 </dd> 21</dl> 22<h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26<TD width="13%"><EM><STRONG>p_dir</STRONG></EM></TD> 27<TD width="87%">Address of the <A href="../fs_file_type.html"><CODE>FSFile</CODE></A> structure.</TD> 28 </TR> 29 <TR> 30<TD width="13%"><EM><STRONG>p_pos</STRONG></EM></TD> 31<TD width="87%">The address of the structure that stores the directory position.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35 36<h2>Return Values</h2> 37<p>Stores the value of <code><A href="../fs_dir_pos_type.html">FSDirPos</a></code>, which indicates the current location. Always returns TRUE.</p> 38 39<H2>Description</H2> 40<P>This acquires the list position that is currently maintained in the specified directory list as <code><A href="../fs_dir_pos_type.html">FSDirPos</a></code>. If you use this value when you call the <code><a href="FS_SeekDir.html">FS_SeekDir</a></code> function, you will be able to reproduce the current list position. <BR> 41<h2>See Also</h2> 42<p><CODE><A href="../fs_file_type.html">FSFile</A><BR> <A href="../fs_dir_pos_type.html">FSDirPos</A><BR> <A href="FS_FindDir.html">FS_FindDir</A><BR> <A href="FS_ReadDir.html">FS_ReadDir</A><BR> <A href="FS_SeekDir.html">FS_SeekDir</A><BR> <A href="FS_RewindDir.html">FS_RewindDir</A></CODE></p> 43 44<H2>Revision History</H2> 45<P> 462008/09/26 Revised the return value description to always indicate TRUE.<BR> 2004/05/14 Revised the description due to changes to FSDirPos.<BR> 2004/04/08 Revised the description due to integration of FSDir and FSFile.<BR> 2004/04/01 Initial version.<BR> 47</P> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50