Lines Matching refs:pDirectory
397 LPDIRECTORY pDirectory = NULL; in OpenDirectory() local
423 pDirectory = (LPDIRECTORY)HeapAlloc(GetProcessHeap(), 0, sizeof(DIRECTORY)); in OpenDirectory()
424 pDirectory->hFind = FindFirstFile(szFileMask, &pDirectory->aFirstData); in OpenDirectory()
426 if (!IsValidHandle(pDirectory->hFind)) in OpenDirectory()
430 HeapFree(GetProcessHeap(), 0, pDirectory); in OpenDirectory()
431 pDirectory = NULL; in OpenDirectory()
439 return (HANDLE)pDirectory; in OpenDirectory()
446 LPDIRECTORY pDirectory = (LPDIRECTORY)hDirectory; in EnumDirectory() local
448 if ( pDirectory ) in EnumDirectory()
454 if ( pDirectory->aFirstData.cFileName[0] ) in EnumDirectory()
456 *pFindData = pDirectory->aFirstData; in EnumDirectory()
458 pDirectory->aFirstData.cFileName[0] = 0; in EnumDirectory()
460 else if ( IsValidHandle( pDirectory->hFind ) ) in EnumDirectory()
461 fSuccess = FindNextFile( pDirectory->hFind, pFindData ); in EnumDirectory()
482 LPDIRECTORY pDirectory = (LPDIRECTORY)hDirectory; in CloseDirectory() local
484 if (pDirectory) in CloseDirectory()
486 if (IsValidHandle(pDirectory->hFind)) in CloseDirectory()
487 fSuccess = FindClose(pDirectory->hFind); in CloseDirectory()
489 fSuccess = HeapFree(GetProcessHeap(), 0, pDirectory) && fSuccess; in CloseDirectory()
499 rtl_uString *strDirectoryPath, oslDirectory *pDirectory) in osl_openLocalRoot() argument
504 if ( !pDirectory ) in osl_openLocalRoot()
507 *pDirectory = NULL; in osl_openLocalRoot()
544 *pDirectory = (oslDirectory)pDirImpl; in osl_openLocalRoot()
571 rtl_uString *strDirectoryPath, oslDirectory *pDirectory) in osl_openFileDirectory() argument
575 if ( !pDirectory ) in osl_openFileDirectory()
577 *pDirectory = NULL; in osl_openFileDirectory()
618 *pDirectory = (oslDirectory)(pDirImpl); in osl_openFileDirectory()
624 rtl_uString *strSysDirPath, oslDirectory *pDirectory) in osl_openNetworkServer() argument
649 *pDirectory = (oslDirectory)pDirImpl; in osl_openNetworkServer()
813 oslFileError SAL_CALL osl_openDirectory(rtl_uString *strDirectoryPath, oslDirectory *pDirectory) in osl_openDirectory() argument
818 error = osl_openLocalRoot( strDirectoryPath, pDirectory ); in osl_openDirectory()
833 error = osl_openNetworkServer( strSysDirectoryPath, pDirectory ); in osl_openDirectory()
836 error = osl_openFileDirectory( strSysDirectoryPath, pDirectory ); in osl_openDirectory()