Headers diff for dhcpcsvc.dll between 6.0.6002.18005-Windows 6.0 and 6.1.7600.16385-Windows 7.0 versions



 dhcpcsdk.h (6.0.6002.18005-Windows 6.0)   dhcpcsdk.h (6.1.7600.16385-Windows 7.0) 
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
dhcpcsdk.h
Abstract:
These are the exported dhcpv6 client api function definitions
Author:
Achint Setia (asetia) July-1-2005
Environment:
User Mode - Win32
Revision History:
--*/
//============================================================================== == //============================================================================== ==
// Copyright (C) 1997-1999 Microsoft Corporation // Copyright (C) 1997-1999 Microsoft Corporation
// Description: these are the exported dhcp client api function definitions // Description: these are the exported dhcp client api function definitions
//============================================================================== == //============================================================================== ==
#ifndef _DHCPCSDK_ #ifndef _DHCPCSDK_
#define _DHCPCSDK_ #define _DHCPCSDK_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
skipping to change at line 139 skipping to change at line 163
#define OPTION_END 255 #define OPTION_END 255
#endif DHCP_OPTIONS_DEFINED #endif DHCP_OPTIONS_DEFINED
#ifndef DHCPAPI_PARAMS_DEFINED #ifndef DHCPAPI_PARAMS_DEFINED
#define DHCPAPI_PARAMS_DEFINED #define DHCPAPI_PARAMS_DEFINED
typedef struct _DHCPAPI_PARAMS { // use this structure to reque st params typedef struct _DHCPAPI_PARAMS { // use this structure to reque st params
ULONG Flags; // for future use ULONG Flags; // for future use
ULONG OptionId; // what option is this? ULONG OptionId; // what option is this?
BOOL IsVendor; // is this vendor specific? BOOL IsVendor; // is this vendor specific?
LPBYTE Data; // the actual data #ifdef __midl
[size_is(nBytesData)] LPBYTE Data; // t
he actual data
#else
__field_bcount(nBytesData) LPBYTE Data;
#endif
DWORD nBytesData; // how many bytes of data are there in Data? DWORD nBytesData; // how many bytes of data are there in Data?
} DHCPAPI_PARAMS, *PDHCPAPI_PARAMS, *LPDHCPAPI_PARAMS; } DHCPAPI_PARAMS, *PDHCPAPI_PARAMS, *LPDHCPAPI_PARAMS;
#endif DHCPAPI_PARAMS_DEFINED #endif DHCPAPI_PARAMS_DEFINED
typedef struct _DHCPAPI_PARAMS typedef struct _DHCPAPI_PARAMS
DHCPCAPI_PARAMS, *PDHCPCAPI_PARAMS, *LPDHCPCAPI_PARAMS; DHCPCAPI_PARAMS, *PDHCPCAPI_PARAMS, *LPDHCPCAPI_PARAMS;
typedef struct _DHCPCAPI_PARAMS_ARARAY { // array of params.. typedef struct _DHCPCAPI_PARAMS_ARARAY { // array of params..
ULONG nParams; // size of array ULONG nParams; // size of array
LPDHCPCAPI_PARAMS Params; // actual array #ifdef __midl
[size_is(nParams)] LPDHCPCAPI_PARAMS Params; // actu
al array
#else
__field_ecount(nParams) LPDHCPCAPI_PARAMS Params;
#endif
} DHCPCAPI_PARAMS_ARRAY, *PDHCPCAPI_PARAMS_ARRAY, *LPDHCPCAPI_PARAMS_ARRAY; } DHCPCAPI_PARAMS_ARRAY, *PDHCPCAPI_PARAMS_ARRAY, *LPDHCPCAPI_PARAMS_ARRAY;
typedef struct _DHCPCAPI_CLASSID { // defines a client class id. typedef struct _DHCPCAPI_CLASSID { // defines a client class id.
ULONG Flags; // must be zero currently. ULONG Flags; // must be zero currently.
LPBYTE Data; // classid binary data. #ifdef __midl
ULONG nBytesData; // how many bytes of data are [size_is(nBytesData)] LPBYTE Data; // c
there? lassid binary data.
#else
__field_bcount(nBytesData) LPBYTE Data;
#endif
ULONG nBytesData; // how many bytes of data
are there?
} DHCPCAPI_CLASSID, *PDHCPCAPI_CLASSID, *LPDHCPCAPI_CLASSID; } DHCPCAPI_CLASSID, *PDHCPCAPI_CLASSID, *LPDHCPCAPI_CLASSID;
#define DHCPCAPI_REQUEST_PERSISTENT 0x01 // request this options " permanently" #define DHCPCAPI_REQUEST_PERSISTENT 0x01 // request this options " permanently"
#define DHCPCAPI_REQUEST_SYNCHRONOUS 0x02 // request and block on i t #define DHCPCAPI_REQUEST_SYNCHRONOUS 0x02 // request and block on i t
#define DHCPCAPI_REQUEST_ASYNCHRONOUS 0x04 // request and return, se t event on completion #define DHCPCAPI_REQUEST_ASYNCHRONOUS 0x04 // request and return, se t event on completion
#define DHCPCAPI_REQUEST_CANCEL 0x08 // cancel request #define DHCPCAPI_REQUEST_CANCEL 0x08 // cancel request
#define DHCPCAPI_REQUEST_MASK 0x0F // allowed flags.. #define DHCPCAPI_REQUEST_MASK 0x0F // allowed flags..
DWORD DWORD
APIENTRY APIENTRY
skipping to change at line 181 skipping to change at line 217
APIENTRY APIENTRY
DhcpCApiCleanup( DhcpCApiCleanup(
VOID VOID
); );
DWORD // win32 status DWORD // win32 status
APIENTRY APIENTRY
DhcpRequestParams( // request parameters of clien t DhcpRequestParams( // request parameters of clien t
IN DWORD Flags, // must be DHCPCAPI_REQUEST_SY NCHRONOUS IN DWORD Flags, // must be DHCPCAPI_REQUEST_SY NCHRONOUS
IN LPVOID Reserved, // this parameter is reserved IN LPVOID Reserved, // this parameter is reserved
IN LPWSTR AdapterName, // adapter name to request for __in LPWSTR AdapterName, // adapter name to request for
IN LPDHCPCAPI_CLASSID ClassId, // reserved must be NULL IN LPDHCPCAPI_CLASSID ClassId, // reserved must be NULL
IN DHCPCAPI_PARAMS_ARRAY SendParams, // parameters to send. IN DHCPCAPI_PARAMS_ARRAY SendParams, // parameters to send.
IN OUT DHCPCAPI_PARAMS_ARRAY RecdParams, // parameters that are to be r equested.. IN OUT DHCPCAPI_PARAMS_ARRAY RecdParams, // parameters that are to be r equested..
IN LPBYTE Buffer, // a buffer to hold data for R __out_bcount_part(*pSize, *pSize) LPBYTE Buffer, // a buffer to hold data
ecdParams for RecdParams
IN OUT LPDWORD pSize, // i/p: size of above in BYTES __inout LPDWORD pSize, // i/p: size of above in BYTES
, o/p required bytes.. , o/p required bytes..
IN LPWSTR RequestIdStr // needed for persistent reque __in LPWSTR RequestIdStr // needed for persistent reque
sts sts
); // returns ERROR_MORE_DATA if o/p buffer is of insufficient size, and fills in reqd size in # of bytes ); // returns ERROR_MORE_DATA if o/p buffer is of insufficient size, and fills in reqd size in # of bytes
DWORD // win32 status DWORD // win32 status
APIENTRY APIENTRY
DhcpUndoRequestParams( // undo the effect of a persis tent request -- currently undo from registry DhcpUndoRequestParams( // undo the effect of a persis tent request -- currently undo from registry
IN DWORD Flags, // must be zero, reserved __reserved DWORD Flags, // must be zero, reserved
IN LPVOID Reserved, // this parameter is reserved __reserved LPVOID Reserved, // this parameter is reserved
IN LPWSTR AdapterName, // the name of the adpater to __in LPWSTR AdapterName, // the name of the adpater to
delete for delete for
IN LPWSTR RequestIdStr // needed for persistent reque __in LPWSTR RequestIdStr // needed for persistent requ
sts.. ests..
); );
#define DHCPCAPI_REGISTER_HANDLE_EVENT 0x01 // handle returned is to an event #define DHCPCAPI_REGISTER_HANDLE_EVENT 0x01 // handle returned is to an event
DWORD // win32 status DWORD // win32 status
APIENTRY APIENTRY
DhcpRegisterParamChange( // notify if a parameter has c hanged DhcpRegisterParamChange( // notify if a parameter has c hanged
IN DWORD Flags, // must be zero, reserved IN DWORD Flags, // must be zero, reserved
IN LPVOID Reserved, // this parameter is reserved __reserved LPVOID Reserved, // this parameter is reserv
IN LPWSTR AdapterName, // adapter of interest ed
__in LPWSTR AdapterName, // adapter of interest
IN LPDHCPCAPI_CLASSID ClassId, // reserved must be NULL IN LPDHCPCAPI_CLASSID ClassId, // reserved must be NULL
IN DHCPCAPI_PARAMS_ARRAY Params, // parameters of interest IN DHCPCAPI_PARAMS_ARRAY Params, // parameters of interest
IN OUT LPVOID Handle // handle to event that will b e SetEvent'ed in case of param change IN OUT LPVOID Handle // handle to event that will b e SetEvent'ed in case of param change
); );
#define DHCPCAPI_DEREGISTER_HANDLE_EVENT 0x01 // de-register handle tha t is an event #define DHCPCAPI_DEREGISTER_HANDLE_EVENT 0x01 // de-register handle tha t is an event
DWORD DWORD
APIENTRY APIENTRY
DhcpDeRegisterParamChange( // undo the registration DhcpDeRegisterParamChange( // undo the registration
IN DWORD Flags, // MUST BE ZERO --> No flags y et. IN DWORD Flags, // MUST BE ZERO --> No flags y et.
 End of changes. 8 change blocks. 
20 lines changed or deleted 60 lines changed or added

This html diff was produced by rfcdiff 1.41.