windows-nt/Source/XPSP1/NT/com/ole32/cs/common/dsbase.hxx

54 lines
894 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "ole2int.h"
#include <rpc.h>
#include <userenv.h>
//
// Public Active Ds includes
//
#include <activeds.h>
#include "oledb.h"
#include "oledberr.h"
#include "msdadc.h"
typedef struct tagData {
void *obValue;
ULONGLONG obValue2;
ULONG obLength;
ULONG status;
} Data;
#define EXIT_ON_NOMEM(p) \
if (!(p)) { \
hr = E_OUT_OF_MEMORY; \
goto Error_Cleanup; \
}
#define ERROR_ON_FAILURE(hr) \
if (FAILED(hr)) { \
goto Error_Cleanup; \
}
#define RETURN_ON_FAILURE(hr) \
if (FAILED(hr)) { \
return hr; \
}
#ifdef DBG
#define CSDbgPrint( ARGS ) DbgPrint ARGS
#else
#define CSDbgPrint( ARGS )
#endif
HRESULT
BuildADsPathFromParent(
LPWSTR Parent,
LPWSTR Name,
LPWSTR *ppszADsPath
);
#include "dsprop.hxx"
#include "qry.hxx"