Export (0) Print
Expand All

NmMakeCert function

Creates a user certificate for use with NetMeeting conferencing.

Syntax


void NmMakeCert(
  LPCSTR szFirstName,
  LPCSTR szLastName,
  LPCSTR szEmailName,
  LPCSTR szCity,
  LPCSTR szCountry,
  DWORD dwFlags
);

Parameters

szFirstName

The user's first name.

szLastName

The user's last name.

szEmailName

The user's email name.

szCity

The user's city.

szCountry

The user's country/region.

dwFlags

A value that indicates how the certificate should be created. Values can be any of the following.

ValueMeaning
NMMKCERT_F_CLEANUP_ONLY
0x00000004

Delete the old certificate without creating a new one.

NMMKCERT_F_DELETEOLDCERT
0x00000001

Delete the old certificate previously created with this function.

NMMKCERT_F_LOCAL_MACHINE
0x00000002

Create the certificate in the local machine certificate store.

 

Return value

Returns 1 if the function succeeds and –1 if the function fails.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

Requirements

DLL

Nmmkcert.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft