Ignore:
Timestamp:
Oct 16, 2013 8:04:59 AM (11 years ago)
Author:
riza
Message:

Re #1704: Initial implementation with cli/telnet mode pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/winphone/pjlib/src/pj/file_io_win32.c

    r4537 r4618  
    8989    dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL; 
    9090 
    91     hFile = CreateFile(PJ_STRING_TO_NATIVE(pathname,wpathname,sizeof(wpathname)),  
     91#ifdef PJ_WIN32_WINPHONE   
     92    hFile = CreateFile2(PJ_STRING_TO_NATIVE(pathname, 
     93                                            wpathname,sizeof(wpathname)),  
     94                        dwDesiredAccess, dwShareMode, dwCreationDisposition,  
     95                        NULL); 
     96#else 
     97    hFile = CreateFile(PJ_STRING_TO_NATIVE(pathname, 
     98                                           wpathname,sizeof(wpathname)),  
    9299                       dwDesiredAccess, dwShareMode, NULL, 
    93100                       dwCreationDisposition, dwFlagsAndAttributes, NULL); 
     101#endif 
     102 
    94103    if (hFile == INVALID_HANDLE_VALUE) { 
    95104        *fd = 0; 
Note: See TracChangeset for help on using the changeset viewer.