diff options
Diffstat (limited to 'shared/ShadowCopy/shadow.h')
-rw-r--r-- | shared/ShadowCopy/shadow.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/shared/ShadowCopy/shadow.h b/shared/ShadowCopy/shadow.h index 683a4e16..5495633d 100644 --- a/shared/ShadowCopy/shadow.h +++ b/shared/ShadowCopy/shadow.h @@ -16,6 +16,10 @@ namespace shadow { +/*-------------- + |declarations| + --------------*/ + //COM needs to be initialized before calling any of these functions! CoInitializeEx/CoUninitialize typedef size_t ShadowHandle; @@ -38,7 +42,9 @@ void releaseShadowCopy(ShadowHandle handle); //########################################################################################## -//function typedefs +/*---------- + |typedefs| + ----------*/ typedef bool (*CreateShadowCopyFct)(const wchar_t* volumeName, wchar_t* shadowVolName, unsigned int shadowBufferLen, @@ -48,7 +54,10 @@ typedef bool (*CreateShadowCopyFct)(const wchar_t* volumeName, typedef void (*ReleaseShadowCopyFct)(ShadowHandle handle); -//function names +/*-------------- + |symbol names| + --------------*/ +//(use const pointers to ensure internal linkage) const char* const createShadowCopyFctName = "createShadowCopy"; const char* const releaseShadowCopyFctName = "releaseShadowCopy"; } |