Leaked source code of windows server 2003
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.
 
 
 
 
 
 

62 lines
1.5 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: rpcssl.h
//
// Contents: prototypes for RemoteProcedure Call API functions
// that use types from wincrypt.h
//
//----------------------------------------------------------------------------
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef RPC_UNICODE_SUPPORTED
#ifdef UNICODE
#define RpcCertGeneratePrincipalName RpcCertGeneratePrincipalNameW
#else /* UNICODE */
#define RpcCertGeneratePrincipalName RpcCertGeneratePrincipalNameA
#endif /* UNICODE */
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcCertGeneratePrincipalNameW(
PCCERT_CONTEXT Context,
DWORD Flags,
WCHAR ** pBuffer
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcCertGeneratePrincipalNameA(
PCCERT_CONTEXT Context,
DWORD Flags,
unsigned char ** pBuffer
);
#else /* RPC_UNICODE_SUPPORTED */
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcCertGeneratePrincipalName(
PCCERT_CONTEXT Context,
DWORD Flags,
unsigned char ** pBuffer
);
#endif /* RPC_UNICODE_SUPPORTED */
#ifdef __cplusplus
}
#endif