[Mingw-w64-public] [PATCH] headers: Add IWMColorConvProps interface in wmcodecdsp.idl.
From 75b3332567480b6408897d752531a8ec320ea5b6 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 7 Oct 2020 10:15:21 +0530 Subject: [PATCH] headers: Add IWMColorConvProps interface in wmcodecdsp.idl. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wmcodecdsp.idl | 17 + 1 file changed, 17 insertions(+) diff --git a/mingw-w64-headers/include/wmcodecdsp.idl b/mingw-w64-headers/include/wmcodecdsp.idl index 0e8e897..7e4c61a 100644 --- a/mingw-w64-headers/include/wmcodecdsp.idl +++ b/mingw-w64-headers/include/wmcodecdsp.idl @@ -7,6 +7,23 @@ import "mediaobj.idl"; import "strmif.idl"; +[ +object, +uuid(e6a49e22-c099-421d-aad3-c061fb4ae85b), +pointer_default(unique) +] +interface IWMColorConvProps : IUnknown +{ +HRESULT SetMode([in] LONG mode); +HRESULT SetFullCroppingParam( +[in] LONG src_left, +[in] LONG src_top, +[in] LONG dst_left, +[in] LONG dst_top, +[in] LONG width, +[in] LONG height); +} + [ object, uuid(cee3def2-3808-414d-be66-fafd472210bc), -- 2.27.0 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] A problem with getcwd() and chdir()
On 10/6/20 8:12 PM, Arjen Markus wrote: Hello, I have run into a problem with the functions getcwd() and chdir() used via the GCC compiler under MinGW. I try to use the directory "/home" (well, just an example): ls /home cd /home give no problem, but chdir("/home") in a C program fails. I used getcwd() to see what the actual directory name is if the program is started in the directory that is reached via "cd /home". To my surprise it is: "c:\\home", so a Windows-style directory. How can I use the Linux-style directories in a program of my own? Kind regards, Arjen You can't. The /home directory is not real, but emulated by MSYS, calls to msvcrt getcwd() and chdir() via MinGW will not be emulated. Those shell commands are not using MinGW, they are using the MSYS runtime. You should use Cygwin, it fits your requirements better, as it comes with its own C runtime for emulating *nix. OpenPGP_signature Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] A problem with getcwd() and chdir()
Hello, I have run into a problem with the functions getcwd() and chdir() used via the GCC compiler under MinGW. I try to use the directory "/home" (well, just an example): ls /home cd /home give no problem, but chdir("/home") in a C program fails. I used getcwd() to see what the actual directory name is if the program is started in the directory that is reached via "cd /home". To my surprise it is: "c:\\home", so a Windows-style directory. How can I use the Linux-style directories in a program of my own? Kind regards, Arjen ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public