* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
/* also add reference to the nested stream */
if (This->pStream != NULL)
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (ref == 0) {
/* destruct */
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n", iface, psi, size);
+ TRACE("(%p,%p,%d)\n", iface, psi, size);
if (psi == NULL)
return AVIERR_BADPARAM;
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,0x%08lX)\n",iface,pos,flags);
+ TRACE("(%p,%d,0x%08X)\n",iface,pos,flags);
if (flags & FIND_FROM_START) {
pos = This->sInfo.dwStart;
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%p,%p)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%p)\n", iface, pos, format, formatsize);
if (formatsize == NULL)
return AVIERR_BADPARAM;
HRESULT hr;
- TRACE("(%p,%ld,%p,%ld)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%d)\n", iface, pos, format, formatsize);
/* check parameters */
if (format == NULL || formatsize <= 0)
HRESULT hr;
DWORD size;
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p)\n", iface, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p)\n", iface, start, samples, buffer,
buffersize, bytesread, samplesread);
/* clear return parameters if given */
HRESULT hr;
ULONG size;
- TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n", iface, start, samples,
+ TRACE("(%p,%d,%d,%p,%d,0x%08X,%p,%p)\n", iface, start, samples,
buffer, buffersize, flags, sampwritten, byteswritten);
/* clear return parameters if given */
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%ld)\n", iface, start, samples);
+ TRACE("(%p,%d,%d)\n", iface, start, samples);
/* check parameters */
if (start < 0 || samples < 0)
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, fcc, lp, lpread);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, fcc, lp, lpread);
assert(This->pStream != NULL);
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lx,%p,%ld)\n", iface, fcc, lp, size);
+ TRACE("(%p,0x%08x,%p,%d)\n", iface, fcc, lp, size);
assert(This->pStream != NULL);
static HRESULT WINAPI ACMStream_fnSetInfo(IAVIStream *iface,
LPAVISTREAMINFOW info, LONG infolen)
{
- FIXME("(%p,%p,%ld): stub\n", iface, info, infolen);
+ FIXME("(%p,%p,%d): stub\n", iface, info, infolen);
return E_FAIL;
}
#include <stdarg.h>
#define COBJMACROS
-#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
AVIFILEINFOW afiw;
HRESULT hres;
- TRACE("(%p,%p,%ld)\n", pfile, afi, size);
+ TRACE("(%p,%p,%d)\n", pfile, afi, size);
if (pfile == NULL)
return AVIERR_BADHANDLE;
*/
HRESULT WINAPI AVIFileInfoW(PAVIFILE pfile, LPAVIFILEINFOW afiw, LONG size)
{
- TRACE("(%p,%p,%ld)\n", pfile, afiw, size);
+ TRACE("(%p,%p,%d)\n", pfile, afiw, size);
if (pfile == NULL)
return AVIERR_BADHANDLE;
HRESULT WINAPI AVIFileGetStream(PAVIFILE pfile, PAVISTREAM *avis,
DWORD fccType, LONG lParam)
{
- TRACE("(%p,%p,'%4.4s',%ld)\n", pfile, avis, (char*)&fccType, lParam);
+ TRACE("(%p,%p,'%4.4s',%d)\n", pfile, avis, (char*)&fccType, lParam);
if (pfile == NULL)
return AVIERR_BADHANDLE;
*/
HRESULT WINAPI AVIFileWriteData(PAVIFILE pfile,DWORD fcc,LPVOID lp,LONG size)
{
- TRACE("(%p,'%4.4s',%p,%ld)\n", pfile, (char*)&fcc, lp, size);
+ TRACE("(%p,'%4.4s',%p,%d)\n", pfile, (char*)&fcc, lp, size);
if (pfile == NULL)
return AVIERR_BADHANDLE;
{
HRESULT hr;
- TRACE("(%p,0x%08lX,0x%08lX,%s)\n", ppavi, lParam1, lParam2,
+ TRACE("(%p,0x%08X,0x%08X,%s)\n", ppavi, lParam1, lParam2,
debugstr_guid(pclsidHandler));
if (ppavi == NULL)
AVISTREAMINFOW asiw;
HRESULT hres;
- TRACE("(%p,%p,%ld)\n", pstream, asi, size);
+ TRACE("(%p,%p,%d)\n", pstream, asi, size);
if (pstream == NULL)
return AVIERR_BADHANDLE;
HRESULT WINAPI AVIStreamInfoW(PAVISTREAM pstream, LPAVISTREAMINFOW asi,
LONG size)
{
- TRACE("(%p,%p,%ld)\n", pstream, asi, size);
+ TRACE("(%p,%p,%d)\n", pstream, asi, size);
if (pstream == NULL)
return AVIERR_BADHANDLE;
*/
HRESULT WINAPI AVIStreamFindSample(PAVISTREAM pstream, LONG pos, DWORD flags)
{
- TRACE("(%p,%ld,0x%lX)\n", pstream, pos, flags);
+ TRACE("(%p,%d,0x%X)\n", pstream, pos, flags);
if (pstream == NULL)
return -1;
HRESULT WINAPI AVIStreamReadFormat(PAVISTREAM pstream, LONG pos,
LPVOID format, LPLONG formatsize)
{
- TRACE("(%p,%ld,%p,%p)\n", pstream, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%p)\n", pstream, pos, format, formatsize);
if (pstream == NULL)
return AVIERR_BADHANDLE;
HRESULT WINAPI AVIStreamSetFormat(PAVISTREAM pstream, LONG pos,
LPVOID format, LONG formatsize)
{
- TRACE("(%p,%ld,%p,%ld)\n", pstream, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%d)\n", pstream, pos, format, formatsize);
if (pstream == NULL)
return AVIERR_BADHANDLE;
LPVOID buffer, LONG buffersize,
LPLONG bytesread, LPLONG samplesread)
{
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p)\n", pstream, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p)\n", pstream, start, samples, buffer,
buffersize, bytesread, samplesread);
if (pstream == NULL)
LPVOID buffer, LONG buffersize, DWORD flags,
LPLONG sampwritten, LPLONG byteswritten)
{
- TRACE("(%p,%ld,%ld,%p,%ld,0x%lX,%p,%p)\n", pstream, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,0x%X,%p,%p)\n", pstream, start, samples, buffer,
buffersize, flags, sampwritten, byteswritten);
if (pstream == NULL)
HRESULT WINAPI AVIStreamWriteData(PAVISTREAM pstream, DWORD fcc, LPVOID lp,
LONG size)
{
- TRACE("(%p,'%4.4s',%p,%ld)\n", pstream, (char*)&fcc, lp, size);
+ TRACE("(%p,'%4.4s',%p,%d)\n", pstream, (char*)&fcc, lp, size);
if (pstream == NULL)
return AVIERR_BADHANDLE;
*/
LPVOID WINAPI AVIStreamGetFrame(PGETFRAME pg, LONG pos)
{
- TRACE("(%p,%ld)\n", pg, pos);
+ TRACE("(%p,%d)\n", pg, pos);
if (pg == NULL)
return NULL;
PAVIFILE pfile = NULL;
HRESULT hr;
- TRACE("(%p,%s,'%4.4s',%ld,0x%X,%s)\n", ppavi, debugstr_a(szFile),
+ TRACE("(%p,%s,'%4.4s',%d,0x%X,%s)\n", ppavi, debugstr_a(szFile),
(char*)&fccType, lParam, mode, debugstr_guid(pclsidHandler));
if (ppavi == NULL || szFile == NULL)
PAVIFILE pfile = NULL;
HRESULT hr;
- TRACE("(%p,%s,'%4.4s',%ld,0x%X,%s)\n", ppavi, debugstr_w(szFile),
+ TRACE("(%p,%s,'%4.4s',%d,0x%X,%s)\n", ppavi, debugstr_w(szFile),
(char*)&fccType, lParam, mode, debugstr_guid(pclsidHandler));
if (ppavi == NULL || szFile == NULL)
IAVIStreaming* pstream = NULL;
HRESULT hr;
- TRACE("(%p,%ld,%ld,%ld)\n", pavi, lStart, lEnd, lRate);
+ TRACE("(%p,%d,%d,%d)\n", pavi, lStart, lEnd, lRate);
if (pavi == NULL)
return AVIERR_BADHANDLE;
AVISTREAMINFOW asiw;
LONG time;
- TRACE("(%p,%ld)\n", pstream, lSample);
+ TRACE("(%p,%d)\n", pstream, lSample);
if (pstream == NULL)
return -1;
else
time = (LONG)(((float)lSample * asiw.dwScale * 1000 + (asiw.dwRate - 1)) / asiw.dwRate);
- TRACE(" -> %ld\n",time);
+ TRACE(" -> %d\n",time);
return time;
}
AVISTREAMINFOW asiw;
ULONG sample;
- TRACE("(%p,%ld)\n", pstream, lTime);
+ TRACE("(%p,%d)\n", pstream, lTime);
if (pstream == NULL || lTime < 0)
return -1;
if (sample > asiw.dwStart + asiw.dwLength)
sample = asiw.dwStart + asiw.dwLength;
- TRACE(" -> %ld\n", sample);
+ TRACE(" -> %d\n", sample);
return sample;
}
LPWSTR wszFilter;
HRESULT hr;
- TRACE("(%p,%ld,%d)\n", szFilter, cbFilter, fSaving);
+ TRACE("(%p,%d,%d)\n", szFilter, cbFilter, fSaving);
/* check parameters */
if (szFilter == NULL)
LONG size;
DWORD count = 0;
- TRACE("(%p,%ld,%d)\n", szFilter, cbFilter, fSaving);
+ TRACE("(%p,%d,%d)\n", szFilter, cbFilter, fSaving);
/* check parameters */
if (szFilter == NULL)
HeapFree(GetProcessHeap(), 0, afmtc.pwfxEnum);
return (ret == S_OK ? TRUE : FALSE);
} else {
- ERR(": unknown streamtype 0x%08lX\n", sInfo.fccType);
+ ERR(": unknown streamtype 0x%08X\n", sInfo.fccType);
return FALSE;
}
}
lFirstVideo = curStream;
} else if (!dwInterleave && plpOptions != NULL) {
/* check if any non-video stream wants to be interleaved */
- WARN("options.flags=0x%lX options.dwInterleave=%lu\n",plpOptions[curStream]->dwFlags,plpOptions[curStream]->dwInterleaveEvery);
+ WARN("options.flags=0x%X options.dwInterleave=%u\n",plpOptions[curStream]->dwFlags,plpOptions[curStream]->dwInterleaveEvery);
if (plpOptions[curStream] != NULL &&
plpOptions[curStream]->dwFlags & AVICOMPRESSF_INTERLEAVE)
dwInterleave = plpOptions[curStream]->dwInterleaveEvery;
}
/* copy needed samples now */
- WARN("copy from stream %d samples %ld to %ld...\n",curStream,
+ WARN("copy from stream %d samples %d to %d...\n",curStream,
lStart[curStream],lFirstVideo);
while (lFirstVideo > lStart[curStream]) {
DWORD flags = 0;
PAVIEDITSTREAM pEdit = NULL;
HRESULT hr;
- TRACE("(%p,%p,%p,%p,%ld,%ld)\n", pDest, plStart, plLength,
+ TRACE("(%p,%p,%p,%p,%d,%d)\n", pDest, plStart, plLength,
pSource, lStart, lEnd);
if (pDest == NULL || pSource == NULL)
{
AVISTREAMINFOW asiw;
- TRACE("(%p,%p,%ld)\n", pstream, asi, size);
+ TRACE("(%p,%p,%d)\n", pstream, asi, size);
if (pstream == NULL)
return AVIERR_BADHANDLE;
PAVIEDITSTREAM pEdit = NULL;
HRESULT hr;
- TRACE("(%p,%p,%ld)\n", pstream, asi, size);
+ TRACE("(%p,%p,%d)\n", pstream, asi, size);
hr = IAVIStream_QueryInterface(pstream, &IID_IAVIEditStream,(LPVOID*)&pEdit);
if (SUCCEEDED(hr) && pEdit != NULL) {
* When index is missing it works, but index seems to be okay.
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
IAVIFileImpl *This = (IAVIFileImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
return ref;
}
UINT i;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (!ref) {
if (This->fDirty) {
for (i = 0; i < This->fInfo.dwStreams; i++) {
if (This->ppStreams[i] != NULL) {
if (This->ppStreams[i]->ref != 0) {
- ERR(": someone has still %lu reference to stream %u (%p)!\n",
+ ERR(": someone has still %u reference to stream %u (%p)!\n",
This->ppStreams[i]->ref, i, This->ppStreams[i]);
}
AVIFILE_DestructAVIStream(This->ppStreams[i]);
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,afi,size);
+ TRACE("(%p,%p,%d)\n",iface,afi,size);
if (afi == NULL)
return AVIERR_BADPARAM;
ULONG nStream;
- TRACE("(%p,%p,0x%08lX,%ld)\n", iface, avis, fccType, lParam);
+ TRACE("(%p,%p,0x%08X,%d)\n", iface, avis, fccType, lParam);
if (avis == NULL || lParam < 0)
return AVIERR_BADPARAM;
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%ld)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%d)\n", iface, ckid, lpData, size);
/* check parameters */
if (lpData == NULL)
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, ckid, lpData, size);
return ReadExtraChunk(&This->fileextra, ckid, lpData, size);
}
ULONG nStream;
- TRACE("(%p,0x%08lX,%ld)\n", iface, fccType, lParam);
+ TRACE("(%p,0x%08X,%d)\n", iface, fccType, lParam);
/* check parameter */
if (lParam < 0)
int len;
- TRACE("(%p,%s,0x%08lX)\n", iface, debugstr_w(pszFileName), dwMode);
+ TRACE("(%p,%s,0x%08X)\n", iface, debugstr_w(pszFileName), dwMode);
/* check parameter */
if (pszFileName == NULL)
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
/* also add ref to parent, so that it doesn't kill us */
if (This->paf != NULL)
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (This->paf != NULL)
IAVIFile_Release((PAVIFILE)This->paf);
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n", iface, psi, size);
+ TRACE("(%p,%p,%d)\n", iface, psi, size);
if (psi == NULL)
return AVIERR_BADPARAM;
LONG offset = 0;
- TRACE("(%p,%ld,0x%08lX)\n",iface,pos,flags);
+ TRACE("(%p,%d,0x%08X)\n",iface,pos,flags);
if (flags & FIND_FROM_START) {
pos = This->sInfo.dwStart;
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%p,%p)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%p)\n", iface, pos, format, formatsize);
if (formatsize == NULL)
return AVIERR_BADPARAM;
lLastFmt = IAVIStream_fnFindSample(iface, pos, FIND_FORMAT|FIND_PREV);
if (lLastFmt > 0) {
- FIXME(": need to read formatchange for %ld -- unimplemented!\n",lLastFmt);
+ FIXME(": need to read formatchange for %d -- unimplemented!\n",lLastFmt);
}
}
LPBITMAPINFOHEADER lpbiNew = (LPBITMAPINFOHEADER)format;
- TRACE("(%p,%ld,%p,%ld)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%d)\n", iface, pos, format, formatsize);
/* check parameters */
if (format == NULL || formatsize <= 0)
DWORD size;
HRESULT hr;
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p)\n", iface, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p)\n", iface, start, samples, buffer,
buffersize, bytesread, samplesread);
/* clear return parameters if given */
FOURCC ckid;
HRESULT hr;
- TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n", iface, start, samples,
+ TRACE("(%p,%d,%d,%p,%d,0x%08X,%p,%p)\n", iface, start, samples,
buffer, buffersize, flags, sampwritten, byteswritten);
/* clear return parameters if given */
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- FIXME("(%p,%ld,%ld): stub\n", iface, start, samples);
+ FIXME("(%p,%d,%d): stub\n", iface, start, samples);
/* check parameters */
if (start < 0 || samples < 0)
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, fcc, lp, lpread);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, fcc, lp, lpread);
if (fcc == ckidSTREAMHANDLERDATA) {
if (This->lpHandlerData != NULL && This->cbHandlerData > 0) {
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lx,%p,%ld)\n", iface, fcc, lp, size);
+ TRACE("(%p,0x%08x,%p,%d)\n", iface, fcc, lp, size);
/* check parameters */
if (lp == NULL)
static HRESULT WINAPI IAVIStream_fnSetInfo(IAVIStream *iface,
LPAVISTREAMINFOW info, LONG infolen)
{
- FIXME("(%p,%p,%ld): stub\n", iface, info, infolen);
+ FIXME("(%p,%p,%d): stub\n", iface, info, infolen);
return E_FAIL;
}
return hr;
if (ck.cksize != sizeof(MainAVIHdr)) {
- ERR(": invalid size of %ld for MainAVIHeader!\n", ck.cksize);
+ ERR(": invalid size of %d for MainAVIHeader!\n", ck.cksize);
return AVIERR_BADFORMAT;
}
if (mmioRead(This->hmmio, (HPSTR)&MainAVIHdr, ck.cksize) != ck.cksize)
/* check for MAX_AVISTREAMS limit */
if (MainAVIHdr.dwStreams > MAX_AVISTREAMS) {
- WARN("file contains %lu streams, but only supports %d -- change MAX_AVISTREAMS!\n", MainAVIHdr.dwStreams, MAX_AVISTREAMS);
+ WARN("file contains %u streams, but only supports %d -- change MAX_AVISTREAMS!\n", MainAVIHdr.dwStreams, MAX_AVISTREAMS);
return AVIERR_UNSUPPORTED;
}
case mmioFOURCC('p','a','d','d'):
break;
default:
- WARN(": found extra chunk 0x%08lX\n", ck.ckid);
+ WARN(": found extra chunk 0x%08X\n", ck.ckid);
hr = ReadChunkIntoExtra(&pStream->extra, This->hmmio, &ck);
if (FAILED(hr))
return hr;
if (pStream->sInfo.dwSampleSize == 0 &&
pStream->sInfo.dwLength != pStream->lLastFrame+1)
- ERR("stream %lu length mismatch: dwLength=%lu found=%ld\n",
+ ERR("stream %u length mismatch: dwLength=%u found=%d\n",
n, pStream->sInfo.dwLength, pStream->lLastFrame);
}
/* check if it was the correct block which we have read */
if (This->lpBuffer[0] != This->idxFrames[pos].ckid ||
This->lpBuffer[1] != This->idxFrames[pos].dwChunkLength) {
- ERR(": block %ld not found at 0x%08lX\n", pos, This->idxFrames[pos].dwChunkOffset);
- ERR(": Index says: '%4.4s'(0x%08lX) size 0x%08lX\n",
+ ERR(": block %d not found at 0x%08X\n", pos, This->idxFrames[pos].dwChunkOffset);
+ ERR(": Index says: '%4.4s'(0x%08X) size 0x%08X\n",
(char*)&This->idxFrames[pos].ckid, This->idxFrames[pos].ckid,
This->idxFrames[pos].dwChunkLength);
- ERR(": Data says: '%4.4s'(0x%08lX) size 0x%08lX\n",
+ ERR(": Data says: '%4.4s'(0x%08X) size 0x%08X\n",
(char*)&This->lpBuffer[0], This->lpBuffer[0], This->lpBuffer[1]);
return AVIERR_FILEREAD;
}
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
+LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDD_SAVEOPTIONS DIALOG FIXED IMPURE 43, 37, 196, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
+LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
IDD_SAVEOPTIONS DIALOG FIXED IMPURE 43, 37, 196, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
+LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
IDD_SAVEOPTIONS DIALOG FIXED IMPURE 43, 37, 196, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
{
DWORD n;
- TRACE("(%p,%lu,%p,%p,%p,%d)\n",This,pos,ppStream,streamPos,
+ TRACE("(%p,%u,%p,%p,%p,%d)\n",This,pos,ppStream,streamPos,
streamNr,bFindSample);
if (pos < This->sInfo.dwStart)
if (streamNr != NULL)
*streamNr = n;
- TRACE(" -- pos=0 && b=1 -> (%p,%lu,%lu)\n",*ppStream, *streamPos, n);
+ TRACE(" -- pos=0 && b=1 -> (%p,%u,%u)\n",*ppStream, *streamPos, n);
return AVIERR_OK;
} else {
*ppStream = NULL;
{
PGETFRAME pg;
- TRACE("(%p,%p,%ld)\n",This,pstream,pos);
+ TRACE("(%p,%p,%d)\n",This,pstream,pos);
if (pstream == NULL)
return NULL;
IAVIEditStreamImpl *This = (IAVIEditStreamImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
return ref;
}
DWORD i;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (!ref) {
/* release memory */
DWORD startPos, endPos, streamNr, nStreams;
ULONG n;
- TRACE("(%p,%p,%p,%p,%ld,%ld)\n",iface,plStart,plLength,
+ TRACE("(%p,%p,%p,%p,%d,%d)\n",iface,plStart,plLength,
pSource,lStart,lLength);
if (pSource == NULL)
{
IAVIEditStreamImpl *This = (IAVIEditStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,asi,size);
+ TRACE("(%p,%p,%d)\n",iface,asi,size);
/* check parameters */
if (asi == NULL)
{
IEditAVIStreamImpl *This = (IEditAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,psi,size);
+ TRACE("(%p,%p,%d)\n",iface,psi,size);
assert(This->pae != NULL);
PAVISTREAM stream;
DWORD streamPos, streamNr;
- TRACE("(%p,%ld,0x%08lX)\n",iface,pos,flags);
+ TRACE("(%p,%d,0x%08X)\n",iface,pos,flags);
if (flags & FIND_FROM_START)
pos = (LONG)This->sInfo.dwStart;
DWORD n;
HRESULT hr;
- TRACE("(%p,%ld,%p,%p)\n",iface,pos,format,fmtsize);
+ TRACE("(%p,%d,%p,%p)\n",iface,pos,format,fmtsize);
if (fmtsize == NULL || pos < This->sInfo.dwStart ||
This->sInfo.dwStart + This->sInfo.dwLength <= pos)
static HRESULT WINAPI IEditAVIStream_fnSetFormat(IAVIStream*iface,LONG pos,
LPVOID format,LONG formatsize)
{
- TRACE("(%p,%ld,%p,%ld)\n",iface,pos,format,formatsize);
+ TRACE("(%p,%d,%p,%d)\n",iface,pos,format,formatsize);
return AVIERR_UNSUPPORTED;
}
LONG readBytes, readSamples, count;
HRESULT hr;
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p) -- 0x%08lX\n",iface,start,samples,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p) -- 0x%08X\n",iface,start,samples,
buffer,buffersize,bytesread,samplesread,This->sInfo.fccType);
/* check parameters */
LONG buffersize,DWORD flags,
LONG*sampwritten,LONG*byteswritten)
{
- TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n",iface,start,samples,buffer,
+ TRACE("(%p,%d,%d,%p,%d,0x%08X,%p,%p)\n",iface,start,samples,buffer,
buffersize,flags,sampwritten,byteswritten);
/* be sure return parameters have correct values */
{
IEditAVIStreamImpl *This = (IEditAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%ld)\n",iface,start,samples);
+ TRACE("(%p,%d,%d)\n",iface,start,samples);
return IAVIEditStream_Cut((IAVIEditStream*)This->pae,&start,&samples,NULL);
}
IAVIEditStreamImpl* const This = ((IEditAVIStreamImpl* const)iface)->pae;
DWORD n;
- TRACE("(%p,0x%08lX,%p,%p)\n",iface,fcc,lp,lpread);
+ TRACE("(%p,0x%08X,%p,%p)\n",iface,fcc,lp,lpread);
/* check parameters */
if (lp == NULL || lpread == NULL)
static HRESULT WINAPI IEditAVIStream_fnWriteData(IAVIStream*iface,DWORD fcc,
LPVOID lp,LONG size)
{
- TRACE("(%p,0x%08lX,%p,%ld)\n",iface,fcc,lp,size);
+ TRACE("(%p,0x%08X,%p,%d)\n",iface,fcc,lp,size);
return AVIERR_UNSUPPORTED;
}
{
IEditAVIStreamImpl *This = (IEditAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,info,len);
+ TRACE("(%p,%p,%d)\n",iface,info,len);
return IAVIEditStream_SetInfo((IAVIEditStream*)This->pae,info,len);
}
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include "extrachunk.h"
assert(hmmio != NULL);
assert(lpck != NULL);
- TRACE("({%p,%lu},%p,%p,%p,0x%X)\n", extra->lp, extra->cb, hmmio, lpck,
+ TRACE("({%p,%u},%p,%p,%p,0x%X)\n", extra->lp, extra->cb, hmmio, lpck,
lpckParent, flags);
/* what chunk id and form/list type should we search? */
} else
ckid = fccType = (FOURCC)-1; /* collect everything into extra! */
- TRACE(": find ckid=0x%08lX fccType=0x%08lX\n", ckid, fccType);
+ TRACE(": find ckid=0x%08X fccType=0x%08X\n", ckid, fccType);
for (;;) {
hr = mmioDescend(hmmio, lpck, lpckParent, 0);
#include <stdarg.h>
#define COBJMACROS
-#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
*/
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
{
- TRACE("(%p,%ld,%p)\n", hInstDll, fdwReason, lpvReserved);
+ TRACE("(%p,%d,%p)\n", hInstDll, fdwReason, lpvReserved);
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
LONG readBytes;
LONG readSamples;
- TRACE("(%p,%ld)\n", iface, lPos);
+ TRACE("(%p,%d)\n", iface, lPos);
/* We don't want negative start values! -- marks invalid buffer content */
if (lPos < 0)
{
IGetFrameImpl *This = (IGetFrameImpl *)iface;
- TRACE("(%p,%ld,%ld,%ld)\n", iface, lStart, lEnd, lRate);
+ TRACE("(%p,%d,%d,%d)\n", iface, lStart, lEnd, lRate);
This->bFixedStream = TRUE;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
/* also add reference to the nested stream */
if (This->pStream != NULL)
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (ref == 0) {
/* destruct */
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n", iface, psi, size);
+ TRACE("(%p,%p,%d)\n", iface, psi, size);
if (psi == NULL)
return AVIERR_BADPARAM;
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,0x%08lX)\n",iface,pos,flags);
+ TRACE("(%p,%d,0x%08X)\n",iface,pos,flags);
if (flags & FIND_FROM_START) {
pos = This->sInfo.dwStart;
LPBITMAPINFOHEADER lpbi;
HRESULT hr;
- TRACE("(%p,%ld,%p,%p)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%p)\n", iface, pos, format, formatsize);
if (formatsize == NULL)
return AVIERR_BADPARAM;
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%p,%ld)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%d)\n", iface, pos, format, formatsize);
/* check parameters */
if (format == NULL || formatsize <= 0)
LPBITMAPINFOHEADER lpbi;
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p)\n", iface, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p)\n", iface, start, samples, buffer,
buffersize, bytesread, samplesread);
/* clear return parameters if given */
HRESULT hr;
- TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n", iface, start, samples,
+ TRACE("(%p,%d,%d,%p,%d,0x%08X,%p,%p)\n", iface, start, samples,
buffer, buffersize, flags, sampwritten, byteswritten);
/* clear return parameters if given */
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%ld)\n", iface, start, samples);
+ TRACE("(%p,%d,%d)\n", iface, start, samples);
return IAVIStream_Delete(This->pStream, start, samples);
}
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, fcc, lp, lpread);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, fcc, lp, lpread);
assert(This->pStream != NULL);
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,0x%08lx,%p,%ld)\n", iface, fcc, lp, size);
+ TRACE("(%p,0x%08x,%p,%d)\n", iface, fcc, lp, size);
assert(This->pStream != NULL);
static HRESULT WINAPI ICMStream_fnSetInfo(IAVIStream *iface,
LPAVISTREAMINFOW info, LONG infolen)
{
- FIXME("(%p,%p,%ld): stub\n", iface, info, infolen);
+ FIXME("(%p,%p,%d): stub\n", iface, info, infolen);
return E_FAIL;
}
if (bDecreasedQual || dwCurQual == This->dwLastQuality)
dwCurQual = (dwMinQual + dwMaxQual) / 2;
else
- FIXME(": no new quality computed min=%lu cur=%lu max=%lu last=%lu\n",
+ FIXME(": no new quality computed min=%u cur=%u max=%u last=%u\n",
dwMinQual, dwCurQual, dwMaxQual, This->dwLastQuality);
bDecreasedQual = TRUE;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
ITmpFileImpl *This = (ITmpFileImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
return ref;
}
ITmpFileImpl *This = (ITmpFileImpl *)iface;
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) -> %ld\n", iface, ref);
+ TRACE("(%p) -> %d\n", iface, ref);
if (!ref) {
unsigned int i;
{
ITmpFileImpl *This = (ITmpFileImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,afi,size);
+ TRACE("(%p,%p,%d)\n",iface,afi,size);
if (afi == NULL)
return AVIERR_BADPARAM;
ULONG nStream = (ULONG)-1;
- TRACE("(%p,%p,0x%08lX,%ld)\n", iface, avis, fccType, lParam);
+ TRACE("(%p,%p,0x%08X,%d)\n", iface, avis, fccType, lParam);
if (avis == NULL || lParam < 0)
return AVIERR_BADPARAM;
static HRESULT WINAPI ITmpFile_fnWriteData(IAVIFile *iface, DWORD ckid,
LPVOID lpData, LONG size)
{
- TRACE("(%p,0x%08lX,%p,%ld)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%d)\n", iface, ckid, lpData, size);
return AVIERR_UNSUPPORTED;
}
static HRESULT WINAPI ITmpFile_fnReadData(IAVIFile *iface, DWORD ckid,
LPVOID lpData, LONG *size)
{
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, ckid, lpData, size);
return AVIERR_UNSUPPORTED;
}
static HRESULT WINAPI ITmpFile_fnDeleteStream(IAVIFile *iface, DWORD fccType,
LONG lParam)
{
- TRACE("(%p,0x%08lX,%ld)\n", iface, fccType, lParam);
+ TRACE("(%p,0x%08X,%d)\n", iface, fccType, lParam);
return AVIERR_UNSUPPORTED;
}
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,%p,%ld)\n",iface,afi,size);
+ TRACE("(%p,%p,%d)\n",iface,afi,size);
if (afi == NULL)
return AVIERR_BADPARAM;
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,%p,0x%08lX,%ld)\n", iface, avis, fccType, lParam);
+ TRACE("(%p,%p,0x%08X,%d)\n", iface, avis, fccType, lParam);
/* check parameter */
if (avis == NULL)
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%ld)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%d)\n", iface, ckid, lpData, size);
/* check parameters */
if (lpData == NULL)
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,0x%08lX,%p,%p)\n", iface, ckid, lpData, size);
+ TRACE("(%p,0x%08X,%p,%p)\n", iface, ckid, lpData, size);
return ReadExtraChunk(&This->extra, ckid, lpData, size);
}
{
IAVIFileImpl *This = (IAVIFileImpl *)iface;
- TRACE("(%p,0x%08lX,%ld)\n", iface, fccType, lParam);
+ TRACE("(%p,0x%08X,%d)\n", iface, fccType, lParam);
/* check parameter */
if (lParam < 0)
WCHAR wszStreamFmt[50];
INT len;
- TRACE("(%p,%s,0x%08lX)\n", iface, debugstr_w(pszFileName), dwMode);
+ TRACE("(%p,%s,0x%08X)\n", iface, debugstr_w(pszFileName), dwMode);
/* check parameter */
if (pszFileName == NULL)
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%p,%ld)\n", iface, psi, size);
+ TRACE("(%p,%p,%d)\n", iface, psi, size);
if (psi == NULL)
return AVIERR_BADPARAM;
{
IAVIFileImpl *This = ((IAVIStreamImpl*)iface)->paf;
- TRACE("(%p,%ld,0x%08lX)\n",iface,pos,flags);
+ TRACE("(%p,%d,0x%08X)\n",iface,pos,flags);
/* Do we have data? */
if (This->lpFormat == NULL)
{
IAVIStreamImpl *This = (IAVIStreamImpl *)iface;
- TRACE("(%p,%ld,%p,%p)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%p)\n", iface, pos, format, formatsize);
if (formatsize == NULL)
return AVIERR_BADPARAM;
{
IAVIFileImpl *This = ((IAVIStreamImpl*)iface)->paf;
- TRACE("(%p,%ld,%p,%ld)\n", iface, pos, format, formatsize);
+ TRACE("(%p,%d,%p,%d)\n", iface, pos, format, formatsize);
/* check parameters */
if (format == NULL || formatsize <= sizeof(PCMWAVEFORMAT))
{
IAVIFileImpl *This = ((IAVIStreamImpl*)iface)->paf;
- TRACE("(%p,%ld,%ld,%p,%ld,%p,%p)\n", iface, start, samples, buffer,
+ TRACE("(%p,%d,%d,%p,%d,%p,%p)\n", iface, start, samples, buffer,
buffersize, bytesread, samplesread);
/* clear return parameters if given */
{
IAVIFileImpl *This = ((IAVIStreamImpl*)iface)->paf;
- TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n", iface, start, samples,
+ TRACE("(%p,%d,%d,%p,%d,0x%08X,%p,%p)\n", iface, start, samples,
buffer, buffersize, flags, sampwritten, byteswritten);
/* clear return parameters if given */
{
IAVIFileImpl *This = ((IAVIStreamImpl*)iface)->paf;
- TRACE("(%p,%ld,%ld)\n", iface, start, samples);
+ TRACE("(%p,%d,%d)\n", iface, start, samples);
/* check parameters */
if (start < 0 || samples < 0)
static HRESULT WINAPI IAVIStream_fnSetInfo(IAVIStream *iface,
LPAVISTREAMINFOW info, LONG infolen)
{
- FIXME("(%p,%p,%ld): stub\n", iface, info, infolen);
+ FIXME("(%p,%p,%d): stub\n", iface, info, infolen);
return E_FAIL;
}