Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit f2d940131e
16886 changed files with 4659320 additions and 2 deletions

View File

@ -0,0 +1,27 @@
#ifndef NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER
#define NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <wtypes.h>
class ForceUrl
{
public:
ForceUrl();
~ForceUrl();
public:
HRESULT Set(UINT serviceId, LPCWSTR pszUrl);
HRESULT Peek(UINT serviceId, LPWSTR *pszUrl);
HRESULT Remove(UINT serviceId);
void FreeString(LPWSTR pszValue);
private:
UINT id;
LPWSTR url;
};
#endif //NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER