//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1993 - 1998. // // File: priv.h // // Contents: precompiled header for shgina.dll // //---------------------------------------------------------------------------- #ifndef _PRIV_H_ #define _PRIV_H_ #include #include #include #include #include // for IEnumVARIANT #include // for NET_API_STATUS #define DISALLOW_Assert // Force to use ASSERT instead of Assert #define DISALLOW_DebugMsg // Force to use TraceMsg instead of DebugMsg #include #include #include #include #include #include // our IDL generated header file #include // these are needed #include // for HDPA #include // these are needed #include // for QISearch #include #include // dll ref counting functions STDAPI_(void) DllAddRef(void); STDAPI_(void) DllRelease(void); // class factory helper function HRESULT CSHGinaFactory_Create(REFCLSID rclsid, REFIID riid, LPVOID * ppvObj); // helper for setting permissions on newly created files and reg keys #include // for SE_OBJECT_TYPE BOOL SetDacl(LPTSTR pszTarget, SE_OBJECT_TYPE seType, LPCTSTR pszStringSD); // global hinstance extern HINSTANCE g_hinst; #define HINST_THISDLL g_hinst // global dll refrence count extern LONG g_cRef; #endif // _PRIV_H_