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.
|
|
//-----------------------------------------------------------------------------
//
// File: SerialNumber.h
//
// Microsoft Digital Rights Management
// Copyright (C) Microsoft Corporation, 1998 - 1999, All Rights Reserved
//
// Description:
//
//-----------------------------------------------------------------------------
#ifndef __SERIALNUMBER_H__
#define __SERIALNUMBER_H__
#pragma once
#ifndef WMDMID_LENGTH
// Also defined in WMDM.idl
#define WMDMID_LENGTH 128
typedef struct __WMDMID { UINT cbSize; DWORD dwVendorID; BYTE pID[ WMDMID_LENGTH ]; UINT SerialNumberLength; } WMDMID, *PWMDMID;
#endif
HRESULT __stdcall UtilGetSerialNumber(WCHAR *wcsDeviceName, PWMDMID pSerialNumber, BOOL fCreate); HRESULT __stdcall UtilGetManufacturer(LPWSTR pDeviceName, LPWSTR *ppwszName, UINT nMaxChars); HRESULT __stdcall UtilStartStopService(bool fStartService); #endif // __SERIALNUMBER_H__
|