egg (or chicken)
Signed-off-by: Arthur Khachaturov <me@wzray.ru>
This commit is contained in:
commit
8ed52d1c79
20 changed files with 11719 additions and 0 deletions
14
puppy/include/COMWrapper.hpp
Normal file
14
puppy/include/COMWrapper.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
class COMWrapper {
|
||||
protected:
|
||||
void Raise(const HRESULT hr, const char *ctx) const;
|
||||
void Release(const void *cls) const;
|
||||
|
||||
public:
|
||||
virtual const char *classname() const = 0;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue