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.
 
 
 
 
 
 

38 lines
677 B

// Copyright (C) 1997 Microsoft Corporation
//
// Network ID Tab hook
//
// 3-07-98 sburns
#include "sysdm.h"
HPROPSHEETPAGE
CreateNetIDPage(int, DLGPROC)
{
TCHAR szDllName[MAX_PATH] = {0};
LoadString(hInstance, IDS_NETID_DLL_NAME, szDllName, ARRAYSIZE(szDllName));
HPROPSHEETPAGE result = 0;
HINSTANCE netid = ::LoadLibrary(szDllName);
if (netid)
{
typedef HPROPSHEETPAGE (*CreateProc)();
CreateProc proc =
reinterpret_cast<CreateProc>(
::GetProcAddress(netid, "CreateNetIDPropertyPage"));
if (proc)
{
result = proc();
}
}
return result;
}