diff options
| author | Girish Pattabiraman <[email protected]> | 2017-01-21 21:07:31 -0800 |
|---|---|---|
| committer | Girish Pattabiraman <[email protected]> | 2017-01-21 21:07:31 -0800 |
| commit | 5d4e0d88ceba97ec2f6f5751b8ff10917f173459 (patch) | |
| tree | 2a13d0161d0e82c6058f582dd7c61c62cbcd6f59 /audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp | |
| parent | 83343ad4659288486e6da02c2a7022727a8722d7 (diff) | |
Resolve SAL annotations
Diffstat (limited to 'audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp')
| -rw-r--r-- | audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp b/audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp index dd915cd5..b64d51a2 100644 --- a/audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp +++ b/audio/sysvad/SwapAPO/PropPageExtensions/CplExt.cpp @@ -39,6 +39,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpRes // Used to determine whether the DLL can be unloaded by OLE +__control_entrypoint(DllExport) STDAPI DllCanUnloadNow(void) { return _AtlModule.DllCanUnloadNow(); @@ -46,13 +47,15 @@ STDAPI DllCanUnloadNow(void) // Returns a class factory to create an object of the requested type -STDAPI DllGetClassObject(_In_ REFCLSID rclsid,_In_ REFIID riid, _Outptr_ LPVOID* ppv) +_Check_return_ +STDAPI DllGetClassObject(_In_ REFCLSID rclsid, _In_ REFIID riid, _Outptr_ LPVOID FAR* ppv) { return _AtlModule.DllGetClassObject(rclsid, riid, ppv); } // DllRegisterServer - Adds entries to the system registry +__control_entrypoint(DllExport) STDAPI DllRegisterServer(void) { // registers object, typelib and all interfaces in typelib @@ -62,6 +65,7 @@ STDAPI DllRegisterServer(void) // DllUnregisterServer - Removes entries from the system registry +__control_entrypoint(DllExport) STDAPI DllUnregisterServer(void) { HRESULT hr = _AtlModule.DllUnregisterServer(); |
