Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
426 B

  1. #pragma once
  2. #define DCP_CUSTOM_ERROR_ACCESSDENIED L"800"
  3. #define DCP_ERROR_CONNECTIONSETUPFAILED L"704"
  4. HRESULT SetUPnPError(LPOLESTR pszError);
  5. DWORD WINAPI INET_ADDR( LPCWSTR szAddressW );
  6. WCHAR * WINAPI INET_NTOW( ULONG addr );
  7. WCHAR * WINAPI INET_NTOW_TS( ULONG addr );
  8. class CSwitchSecurityContext
  9. {
  10. public:
  11. CSwitchSecurityContext();
  12. ~CSwitchSecurityContext();
  13. private:
  14. IUnknown *m_pOldCtx;
  15. };