diff options
Diffstat (limited to 'src/dutil/inc')
-rw-r--r-- | src/dutil/inc/dirutil.h | 5 | ||||
-rw-r--r-- | src/dutil/inc/locutil.h | 12 | ||||
-rw-r--r-- | src/dutil/inc/pathutil.h | 8 |
3 files changed, 25 insertions, 0 deletions
diff --git a/src/dutil/inc/dirutil.h b/src/dutil/inc/dirutil.h index 0a19a9c0..539b3a73 100644 --- a/src/dutil/inc/dirutil.h +++ b/src/dutil/inc/dirutil.h | |||
@@ -40,6 +40,11 @@ HRESULT DAPI DirEnsureDeleteEx( | |||
40 | __in DWORD dwFlags | 40 | __in DWORD dwFlags |
41 | ); | 41 | ); |
42 | 42 | ||
43 | DWORD DAPI DirDeleteEmptyDirectoriesToRoot( | ||
44 | __in_z LPCWSTR wzPath, | ||
45 | __in DWORD dwFlags | ||
46 | ); | ||
47 | |||
43 | HRESULT DAPI DirGetCurrent( | 48 | HRESULT DAPI DirGetCurrent( |
44 | __deref_out_z LPWSTR* psczCurrentDirectory | 49 | __deref_out_z LPWSTR* psczCurrentDirectory |
45 | ); | 50 | ); |
diff --git a/src/dutil/inc/locutil.h b/src/dutil/inc/locutil.h index 38ddda20..626cb59e 100644 --- a/src/dutil/inc/locutil.h +++ b/src/dutil/inc/locutil.h | |||
@@ -50,6 +50,18 @@ HRESULT DAPI LocProbeForFile( | |||
50 | ); | 50 | ); |
51 | 51 | ||
52 | /******************************************************************** | 52 | /******************************************************************** |
53 | LocProbeForFileEx - Searches for a localization file on disk. | ||
54 | useUILanguage should be set to TRUE. | ||
55 | *******************************************************************/ | ||
56 | HRESULT DAPI LocProbeForFileEx( | ||
57 | __in_z LPCWSTR wzBasePath, | ||
58 | __in_z LPCWSTR wzLocFileName, | ||
59 | __in_z_opt LPCWSTR wzLanguage, | ||
60 | __inout LPWSTR* psczPath, | ||
61 | __in BOOL fUseUILanguage | ||
62 | ); | ||
63 | |||
64 | /******************************************************************** | ||
53 | LocLoadFromFile - Loads a localization file | 65 | LocLoadFromFile - Loads a localization file |
54 | 66 | ||
55 | *******************************************************************/ | 67 | *******************************************************************/ |
diff --git a/src/dutil/inc/pathutil.h b/src/dutil/inc/pathutil.h index f4f4e59c..719ee7d8 100644 --- a/src/dutil/inc/pathutil.h +++ b/src/dutil/inc/pathutil.h | |||
@@ -47,6 +47,14 @@ DAPI_(HRESULT) PathGetDirectory( | |||
47 | ); | 47 | ); |
48 | 48 | ||
49 | /******************************************************************* | 49 | /******************************************************************* |
50 | PathGetParentPath - extracts the parent directory from a full path. | ||
51 | ********************************************************************/ | ||
52 | DAPI_(HRESULT) PathGetParentPath( | ||
53 | __in_z LPCWSTR wzPath, | ||
54 | __out_z LPWSTR *psczDirectory | ||
55 | ); | ||
56 | |||
57 | /******************************************************************* | ||
50 | PathExpand - gets the full path to a file resolving environment | 58 | PathExpand - gets the full path to a file resolving environment |
51 | variables along the way. | 59 | variables along the way. |
52 | ********************************************************************/ | 60 | ********************************************************************/ |