#include "PreComp.h" #include struct SDDL { typedef BOOL (*function_type)( LPCTSTR, DWORD, PSECURITY_DESCRIPTOR *, PULONG); function_type current_function_; CriticalSection lock_; SDDL():lock_(false), current_function_(0){}; static BOOL ConvertStringSecurityDescriptorToSecurityDescriptor( LPCTSTR, DWORD, PSECURITY_DESCRIPTOR *, PULONG); static BOOL DummyConvertStringSecurityDescriptorToSecurityDescriptor( LPCTSTR, DWORD, PSECURITY_DESCRIPTOR *, PULONG); function_type GetFunction(void); static bool hasSDDLSupport(); };