windows-nt/Source/XPSP1/NT/ds/security/services/ca/certif/certif.cpp

35 lines
686 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: certif.cpp
//
//--------------------------------------------------------------------------
// CertIF.cpp : Implementation of DLL Exports.
#include "pch.cpp"
#pragma hdrstop
#include "csprop.h"
#include "ciinit.h"
SERVERCALLBACKS ServerCallBacks;
extern "C" DWORD WINAPI
CertificateInterfaceInit(
IN SERVERCALLBACKS const *psb,
IN DWORD cbsb)
{
if (sizeof(ServerCallBacks) != cbsb)
{
return(HRESULT_FROM_WIN32(ERROR_INVALID_DATA));
}
ServerCallBacks = *psb;
return(S_OK);
}