what need to type for the first parameter of _wfopen_s

what need to type for the first parameter of _wfopen_s

http://msdn.microsoft.com/en-us/library/z5hh6ee9(VS.80).aspx

i don't understand what means for the first parameter?

Parameters
[out] pFile
A pointer to the file pointer that will receive the pointer to the opened file.


does it the path ?

am i correct to use _wfopen_s ?
 
handle =  wfopen_s ( C:\Programs File\Success\ , "Stable.mq4" , "r");


thanks
the example say
1
2
3
4
5
6
7
8
9
10
11
FILE *stream, *stream2;

int main( void )
{
   int numclosed;
   errno_t err;

   // Open for read (will fail if file "crt_fopen_s.c" does not exist)
   if( (err  = fopen_s( &stream, "crt_fopen_s.c", "r" )) !=0 )
      printf( "The file 'crt_fopen_s.c' was not opened\n" );
}  


i haven't learn FILE this kind of data type

http://www.cplusplus.com/doc/tutorial/variables/
Last edited on
sorry again
it solve by myself

pFile = fopen( "stable.mq4", "r" ) ; // pFile = stream = handle
Topic archived. No new replies allowed.