windows-nt/Source/XPSP1/NT/net/homenet/beacon/server/util.h
2020-09-26 16:20:57 +08:00

26 lines
426 B
C++

#pragma once
#define DCP_CUSTOM_ERROR_ACCESSDENIED L"800"
#define DCP_ERROR_CONNECTIONSETUPFAILED L"704"
HRESULT SetUPnPError(LPOLESTR pszError);
DWORD WINAPI INET_ADDR( LPCWSTR szAddressW );
WCHAR * WINAPI INET_NTOW( ULONG addr );
WCHAR * WINAPI INET_NTOW_TS( ULONG addr );
class CSwitchSecurityContext
{
public:
CSwitchSecurityContext();
~CSwitchSecurityContext();
private:
IUnknown *m_pOldCtx;
};