8 void Open(HWND p_owner) {
10 WIN32_OP(OpenClipboard(p_owner));
25 void SetRaw(UINT format,
const void * buffer,
t_size size);
30 template<
typename TArray>
31 bool GetRaw(UINT format,TArray & out) {
33 HANDLE data = GetClipboardData(format);
34 if (data == NULL)
return false;
bool GetRaw(UINT format, TArray &out)
typedef HANDLE(WINAPI *pPowerCreateRequest_t)(__in void *Context)
void SetString(const char *in)
bool GetString(pfc::string_base &out)
void SetRaw(UINT format, const void *data, t_size size)