Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
458 B

#include <windows.h>
#include <objbase.h>
#include "psexsup.h"
#include "pstore.h"
BOOL
InitializePStoreSupport(
VOID
)
{
HRESULT hr;
hr = CoInitialize(NULL);
//
// since explorer is likely to have init'ed OLE already, treat that
// case as success
//
if(hr != S_OK && hr != S_FALSE)
return FALSE;
return TRUE;
}
BOOL
ShutdownPStoreSupport(
VOID
)
{
CoUninitialize();
return TRUE;
}