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.

34 lines
686 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: certif.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. // CertIF.cpp : Implementation of DLL Exports.
  11. #include "pch.cpp"
  12. #pragma hdrstop
  13. #include "csprop.h"
  14. #include "ciinit.h"
  15. SERVERCALLBACKS ServerCallBacks;
  16. extern "C" DWORD WINAPI
  17. CertificateInterfaceInit(
  18. IN SERVERCALLBACKS const *psb,
  19. IN DWORD cbsb)
  20. {
  21. if (sizeof(ServerCallBacks) != cbsb)
  22. {
  23. return(HRESULT_FROM_WIN32(ERROR_INVALID_DATA));
  24. }
  25. ServerCallBacks = *psb;
  26. return(S_OK);
  27. }