]> git.saurik.com Git - apple/mdnsresponder.git/blame - mDNSWindows/WinServices.h
mDNSResponder-765.1.2.tar.gz
[apple/mdnsresponder.git] / mDNSWindows / WinServices.h
CommitLineData
67c8f8a1
A
1/* -*- Mode: C; tab-width: 4 -*-
2 *
7f0064bd 3 * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved.
c9b9ae52 4 *
67c8f8a1
A
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
c9b9ae52 8 *
67c8f8a1 9 * http://www.apache.org/licenses/LICENSE-2.0
c9b9ae52 10 *
67c8f8a1
A
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
c9b9ae52 15 * limitations under the License.
263eeeab 16 */
c9b9ae52 17
c9b9ae52 18
8e92c31c 19#pragma once
c9b9ae52 20
8e92c31c
A
21#include <afxwin.h> // MFC core and standard components
22#include <afxext.h> // MFC extensions
23#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
24#ifndef _AFX_NO_AFXCMN_SUPPORT
7f0064bd 25# include <afxcmn.h> // MFC support for Windows Common Controls
8e92c31c 26#endif
c9b9ae52 27
8e92c31c
A
28#include <winsock2.h>
29#include <afxsock.h> // MFC socket extensions
7f0064bd
A
30#include "CommonServices.h"
31
c9b9ae52 32
32bb7e43
A
33OSStatus UTF8StringToStringObject( const char *inUTF8, CString &outObject );
34OSStatus StringObjectToUTF8String( CString &inObject, char* outUTF8, size_t outUTF8Len );