windows-nt/Source/XPSP1/NT/net/homenet/beacon/server/util.h

26 lines
426 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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;
};