Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

82 lines
1.2 KiB

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
sporder.h
Abstract:
This header prototypes the 32-Bit Windows functions that are used
to change the order or WinSock2 transport service providers and
name space providers.
Revision History:
--*/
#ifndef __SPORDER_H__
#define __SPORDER_H__
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
int
WSPAPI
WSCWriteProviderOrder (
IN LPDWORD lpwdCatalogEntryId,
IN DWORD dwNumberOfEntries
);
typedef
int
(WSPAPI * LPWSCWRITEPROVIDERORDER)(
IN LPDWORD lpwdCatalogEntryId,
IN DWORD dwNumberOfEntries
);
#ifdef _WIN64
int
WSPAPI
WSCWriteProviderOrder32 (
IN LPDWORD lpwdCatalogEntryId,
IN DWORD dwNumberOfEntries
);
#endif
int
WSPAPI
WSCWriteNameSpaceOrder (
IN LPGUID lpProviderId,
IN DWORD dwNumberOfEntries
);
typedef
int
(WSPAPI * LPWSCWRITENAMESPACEORDER)(
IN LPGUID lpProviderId,
IN DWORD dwNumberOfEntries
);
#ifdef _WIN64
int
WSPAPI
WSCWriteNameSpaceOrder32 (
IN LPGUID lpProviderId,
IN DWORD dwNumberOfEntries
);
#endif
#ifdef __cplusplus
}
#endif
#endif // __SPORDER_H__